PostgreSQL v14: When do I get snapshot too old error

From here we understand that PostgreSQL uses the feature called vacuum to clear dead tuples. More information about vacuum and dead tuples is already covered extensively in multiple posts. PostgreSQL : Snapshot too old VACUUM physically deletes old tuples until the last transaction can see them. But sometimes the transaction takes too long and holds the … Read more

PostgreSQL Configure Make and Make install Explained

PostgreSQL install make make install

What does the below code snippet really mean in PostgreSQL while installing software? ./configure make make install We will understand it in this post. PostgreSQL is written in C, so installing PostgreSQL software is nothing but compiling and running all the C-Programs in your source code. We will do that with an example., How to … Read more

PostgreSQL Background processes

PostgreSQL Background processes

PostgreSQL Background processes PostgreSQL has numerous background processes each has its own role to play for the successful functioning of the database. List of PostgreSQL background processes: Background writer Checkpointer Autovacuum launcher WAL writer Statistics collector Logging collector Archiver Let’s discuss about each background process in detail.I have made this post as multi part so … Read more

PostgreSQL logger process and WAL writer process

postgresql wal writer

In the last post we discussed about checkpoint process, in this tutorial we will discuss about PostgreSQL: Logger process PostgreSQL: WAL writer process: PostgreSQL: logger process: logger process is a background process that captures log messages sent to stderr and redirects them into log files. The process works when logging_collector parameter is enabled. Set the following … Read more