No Picture
PostgreSQL Internals

PostgreSQL COMMIT: What It Does Internally

In PostgreSQL, a COMMIT statement is used to finalize a transaction and make its changes permanent in the database. When a COMMIT statement is executed, the following things happen internally in PostgreSQL: After a transaction […]
No Picture
MinervaDB

SELECT * SQL Performance: Why SELECT * Is Bad

Using SELECT * can be bad for SQL performance for several reasons, including the following: Overall, it is best practice to only select the columns that are needed for a query, rather than using SELECT […]
No Picture
PostgreSQL Internals

PostgreSQL Latches: How They Are Implemented

PostgreSQL uses latches to provide synchronization between different threads accessing shared resources. Latches are lightweight and efficient mechanisms that provide mutual exclusion between threads. Here is a table describing all the PostgreSQL latches, their purpose, […]