Category CASE STUDY

MMAP vs POSIX : PostgreSQL Dynamic Shared Memory

postgresql posix

[postgres@stagdb pg_dynshmem]$ ls -lrt total 8 -rw——- 1 postgres postgres 6928 Feb 17 16:36 mmap.2106693104 [postgres@stagdb pg_dynshmem]$ pwd /u01/pgsql/10/pg_dynshmem There is a file in pg_dynshmem sub-directory under PostgreSQL data directory. But what is that file? The answer is here, But…

PostgreSQL Autovacuum – Demystified

postgresql autovacuum

PostgreSQL Autovacuum In the last post, we understood that PostgreSQL Vacuum helps in clearing the dead tuples in the table and releasing the space, but how often the vacuum happens on a table?PostgreSQL Autovacuum helps here!! Vacuum can be initiated manually…

PostgreSQL Vacuum – What you need to know?

PostgreSQL vacuum: Introduction:   PostgreSQL vacuum is an important topic in PostgreSQL database administration. Before we get into PostgreSQL vacuum we first have to understand MVCC architecture in PostgreSQL. In a multi-user database management system, a transaction must support the…