2. Process and Memory Architecture

This chapter provides an overview of the runtime execution environment of PostgreSQL: its process architecture and memory architecture.

A running PostgreSQL instance relies on a collection of specialized background processes and dedicated memory structures to perform query processing, manage concurrent connections, and handle data caching efficiently.

Together with the previous chapter, this chapter provides the essential background required to understand the more advanced topics in subsequent chapters.