Chapter 4. Performance

In the previous three chapters, you have seen how to create new databases and tables. You have also seen a variety of ways to retrieve data. Inevitably, you will run into a performance problem. At some point, PostgreSQL won't process data as quickly as you would like. This chapter should prepare you for that situation?after reading this chapter, you'll have a good understanding of how PostgreSQL executes a query and what you can do to make queries run faster.

    Part II: Programming with PostgreSQL