Postgresql MVCC
Postgresql MVCC
deleting a row on a table. PostgreSQL needs to bring the page into memory (if
not there), dirty it, and eventually write the page to disk. To improve
performance, it usually writes the transaction first to the WAL log, and the
keep several different versions of the data in memory. This is done using
atomically. This can change several rows in different tables, which makes
keeping several versions of the same data in memory when needed, and
the most important logical structures, and how they might map to physical
structures. Some logical items, like tablespaces and users, do not map to a
instance
–
● One postmaster
● Each database maps to a directory under base in the instance’s data directory
(named by its oid, which you can find on the pg_database table)
schema/namespace
–
tablespace
–
user
–