This chapter was all about system statistics. You learned how to extract information from PostgreSQL and how to use system statistics in a beneficial way. The most important views were discussed in detail.
Chapter 6, Optimizing Queries for Good Performance, is all about query optimization. You will learn how to inspect queries and how they are optimized.