Buffer pool
The database's own cache of data pages in RAM. Nearly all performance tuning is fundamentally about getting the right pages to stay there instead of being fetched from disk.
Reads always go through the pool: if a needed page is absent it is read in and another is evicted according to an LRU-like policy. Writes hit the page in memory, which thereby becomes dirty, and reach disk only later at a checkpoint — durability in the meantime is guaranteed by the write-ahead log. In MySQL the setting is innodb_buffer_pool_size and the rule of thumb is about 70 percent of the server's memory; PostgreSQL calls its equivalent shared_buffers but deliberately also relies on the operating system's page cache and is therefore set lower. The number to watch is the hit ratio: what fraction of reads never had to touch disk at all.