Window Functions Window functions allow you to perform calculations across a set of rows that are related to the current row. For example; we have…
View More Advanced SQL Techniques You Should KnowMonth: May 2023
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 PostgreSQLCorrelated subquery
In a SQL database query, a correlated subquery (also known as a synchronized subquery) is a subquery (a query nested inside another query) that uses values from the outer query. Because…
View More Correlated subqueryPartitioning 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 TablesWhat is the difference between Oracle Client 19c and Oracle Client Home 19c?
When I tried to download and install Oracle client 19c, it was my surprise that there are two different versions. See the following information from…
View More What is the difference between Oracle Client 19c and Oracle Client Home 19c?PostgreSQL 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 14