Analyzing PostgreSQL log insert performance

The goal of this test is to see how PostgreSQL behaves with heavy insert load of logs.The PostgreSQL (15.8 (Debian 15.8-0+deb12u1)) is running within KVM VM with 2 cores and further restricted via cgroupv2 cpu.max parameter set to “25 100“,... Read more

PostgreSQL Tips&Tricks

not distinct from https://wiki.postgresql.org/wiki/Is_distinct_from Visualizing Plans http://www.postgresonline.com/journal/index.php?/archives/27-Reading-PgAdmin-Graphical-Explain-Plans.html Finding Locks https://wiki.postgresql.org/wiki/Find_Locks Disk Usage https://wiki.postgresql.org/wiki/Disk_Usage Enum https://wiki.postgresql.org/wiki/Enum/ Loose Indexscan https://wiki.postgresql.org/wiki/Loose_indexscan Mass type replacement https://wiki.postgresql.org/wiki/Mass_type_replacement Server Configuration https://wiki.postgresql.org/wiki/Server_Configuration Transactional DDL https://wiki.postgresql.org/wiki/Transactional_DDL_in_PostgreSQL:_A_Competitive_Analysis#PostgreSQL VacuumHeadaches https://wiki.postgresql.org/wiki/VacuumHeadaches Read more

Search all tables for specific ID value

I had a case where I got an table id but was not sure what table was it refering to. I known that table contained string ‘test’. I knew that PostgreSQL has support for for selects and also supports execute... Read more