File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1382,8 +1382,8 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
1382
1382
</para>
1383
1383
1384
1384
<para>
1385
- Indexes can be used via either simple index scans or <quote>bitmap</>
1386
- index scans . In a bitmap scan
1385
+ Indexes can be used by simple index scans, <quote>bitmap</> index scans,
1386
+ and the optimizer . In a bitmap scan
1387
1387
the output of several indexes can be combined via AND or OR rules,
1388
1388
so it is difficult to associate individual heap row fetches
1389
1389
with specific indexes when a bitmap scan is used. Therefore, a bitmap
@@ -1393,6 +1393,9 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
1393
1393
<structname>pg_stat_all_tables</>.<structfield>idx_tup_fetch</>
1394
1394
count for the table, but it does not affect
1395
1395
<structname>pg_stat_all_indexes</>.<structfield>idx_tup_fetch</>.
1396
+ The optimizer also accesses indexes to check for supplied constants
1397
+ whose values are outside the recorded range of the optimizer statistics
1398
+ because the optimizer statistics might be stale.
1396
1399
</para>
1397
1400
1398
1401
<note>
You can’t perform that action at this time.
0 commit comments