]> begriffs open source - ai-pg/blob - full-docs/txt/planner-stats-details.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / planner-stats-details.txt
1
2 Chapter 69. How the Planner Uses Statistics
3
4    Table of Contents
5
6    69.1. Row Estimation Examples
7    69.2. Multivariate Statistics Examples
8
9         69.2.1. Functional Dependencies
10         69.2.2. Multivariate N-Distinct Counts
11         69.2.3. MCV Lists
12
13    69.3. Planner Statistics and Security
14
15    This chapter builds on the material covered in Section 14.1 and
16    Section 14.2 to show some additional details about how the planner uses
17    the system statistics to estimate the number of rows each part of a
18    query might return. This is a significant part of the planning process,
19    providing much of the raw material for cost calculation.
20
21    The intent of this chapter is not to document the code in detail, but
22    to present an overview of how it works. This will perhaps ease the
23    learning curve for someone who subsequently wishes to read the code.