Queries returning aggregate, summary, and computed data are frequently used in application development. Sometimes these queries are not fast enough. Caching query results using Memcached…
View More Materialized View Strategies Using PostgreSQLCategory: Postgres
Postgres
Understanding database Indexes in PostgreSQL
There are three types of developers: those who know that indexes speed up database queries, those who know that indexes speed up database queries and…
View More Understanding database Indexes in PostgreSQLUnderstanding Postgres GIN Indexes: The Good and the Bad
Adding, tuning and removing indexes is an essential part of maintaining an application that uses a database. Oftentimes, our applications rely on sophisticated database features…
View More Understanding Postgres GIN Indexes: The Good and the BadPerformance Tuning Queries in PostgreSQL
Database performance tuning: developers usually either love it or loathe it. I happen to be one that enjoys it and want to share some of…
View More Performance Tuning Queries in PostgreSQLPartitioning Large Tables
About Table Partitioning Partitioning does not change the physical distribution of table data across the segments. Table distribution is physical: Greenplum Database physically divides partitioned…
View More Partitioning Large TablesPostgreSQL EXPLAIN Explained
When a SQL statement is sent to a PostgreSQL server for execution, Postgres will decipher various parts of the query and define an execution plan…
View More PostgreSQL EXPLAIN ExplainedTOAST compression and toast_tuple_target
What is the TOAST ? Have you ever wondered how Postgres stores rows that exceed the size of a block? As a reminder, the default…
View More TOAST compression and toast_tuple_targetLZ4 TOAST compression in PostgreSQL 14
Background In PostgreSQL, a page is the basic unit to store data, and the size of each page is 8 kB by default. Basically, data in one…
View More LZ4 TOAST compression in PostgreSQL 14Postgres Locks
Table Locks If you ask me what a table lock three years ago I would say its a lock you obtain on a table so…
View More Postgres LocksHow to measure performance of PostgreSQL Database Server(s)?
The benchmark test is designed to evaluate and compare the performance of different configurations, topologies, systems and components. For this purpose I will use the…
View More How to measure performance of PostgreSQL Database Server(s)?