UPDATED Understand table bloat. Why deleting data from a table in a PostgreSQL database does not always shrink files on disk.
If your PostgreSQL database is badly structured, you might face some table bloat. Figure out if a table is bloated or not.
In my role as a PostgreSQL consultant and trainer there are a couple of issues, which pop up on a […]
How to reduce the number of columns using bitfields in PostgreSQL. "bit” can be used just as a normal char data type.
UPDATED Aug 2023: How to use “generate_series” in an outer join: Use PostgreSQL to aggregate data on an hourly basis.
UPDATED Aug. 2023: How to process time in PostgreSQL: timeseries & generate_series, day constants, add and subtract from a time interval.
In this blog we will talk about transactional DDL's in PostgreSQL vs other database systems. Find out more information.
A PostgreSQL function performance can be marked as follows: VOLATILE, STABLE, IMMUTABLE or [NOT] LEAKPROOF. Undestand why.
The LIKE keyword: Using LIKE is especially useful if you want to clone tables which have dozens of indexes and constraints.
As there is hardly code available on the net showing how to access Kostal Pico, I decided to publish this one.
pgbouncer: Opening and closing a database connection over and over again is not free, but overhead worth thinking about.
GIN stands for Generalized Inverted Index. Find out how data is organized within a PostgreSQL GIN index vs a B-Tree index e.g.