Speed up PostgreSQL data loading with COPY (FREEZE)
UPDATED JUL 2023 How to load data fast and efficiently in PostgreSQL using COPY (FREEZE). Organize data nicely by instantly writing hint bits.
Speeding up things with hint bits
UPDATED June 2023: What are hint bits in PostgreSQL? Hint bits improve PostgreSQL performance - find out why and how. Includes code examples.
Optimization issues: Cross column correlation
UPDATED Sept. 2023 - A couple of years ago I stumbled over an interesting PostgreSQL issue which is commonly known as “cross correlation”.
Detecting wrong planner estimates
The PostgreSQL planner optimizes your queries, and mostly does it right. The question is: How to figure out when & where things do go wrong?
Reducing log messages on the client
Frequently PostgreSQL client applications are flooded with log messages from the server. Correct this by changing the server configuration.
CREATE CAST: Casting integer to IP in PostgreSQL
How to store and process IP addresses in an efficient way. To do so PostgreSQL provides us with data types by casting integer.
The power of response times and execution time
The goal of the PostgreSQL optimizer is to provide a plan which executes as fast as possible & returns all the data as rapidly as possible.
Regular expressions unleashed in PostgreSQL
How to use an operator to work with regular expressions in PostgreSQL: includes list and a case-sensitive example. Fun with coding PostgreSQL
Bypassing the transaction log
When data is changed generally the change must be written to the xlog before it is written to the underlying table.
wal_level: What is the difference?
PostgreSQL replication requires changing the wal_level from “minimal” to “hot_standby”. What er the impacts? Read out more.