15.2. When Can Parallel Query Be Used?| postgrespro.com
15.4.1. Parallel Labeling for Functions and Aggregates| postgrespro.com
Chapter 62. Generic WAL Records| postgrespro.com
Despite the ongoing tragic events, we continue the series. In the last article we reviewed the stages of query execution . Before we move on to plan node operations (data access and join methods), let's discuss the bread and butter of the cost optimizer: statistics. As usual, I use the demo database for all my examples. You can download it and follow along. You will see a lot of execution plans here today. We will discuss how the plans work in more detail in later articles. For now just pay a...| postgrespro.com
Hello! I'm kicking off another article series about the internals of PostgreSQL. This one will focus on query planning and execution mechanics. This series will cover: query execution stages (this article), statistics, sequential and index scans, nested-loop, hash, and merge joins. Many thanks to Alexander Meleshko for the translation of this series into English. This article borrows from our course QPT Query Optimization (available in English soon), but focuses mostly on the internal mechani...| postgrespro.com
In previous articles we discussed query execution stages and statistics . Last time, I started on data access methods, namely Sequential scan . Today we will cover Index Scan. This article requires a basic understanding of the index method interface. If words like "operator class" and "access method properties" don't ring a bell, check out my article on indexes from a while back for a refresher. Plain Index Scan Indexes return row version IDs (tuple IDs, or TIDs for short), which can be handl...| postgrespro.com