mirror of
https://github.com/postgres/postgres.git
synced 2025-09-09 13:09:39 +03:00
Make bitmap heap scans show exact/lossy block info in EXPLAIN ANALYZE.
Etsuro Fujita
This commit is contained in:
@@ -1338,6 +1338,8 @@ typedef struct BitmapIndexScanState
|
||||
* tbm bitmap obtained from child index scan(s)
|
||||
* tbmiterator iterator for scanning current pages
|
||||
* tbmres current-page data
|
||||
* exact_pages total number of exact pages retrieved
|
||||
* lossy_pages total number of lossy pages retrieved
|
||||
* prefetch_iterator iterator for prefetching ahead of current page
|
||||
* prefetch_pages # pages prefetch iterator is ahead of current
|
||||
* prefetch_target target prefetch distance
|
||||
@@ -1350,6 +1352,8 @@ typedef struct BitmapHeapScanState
|
||||
TIDBitmap *tbm;
|
||||
TBMIterator *tbmiterator;
|
||||
TBMIterateResult *tbmres;
|
||||
long exact_pages;
|
||||
long lossy_pages;
|
||||
TBMIterator *prefetch_iterator;
|
||||
int prefetch_pages;
|
||||
int prefetch_target;
|
||||
|
Reference in New Issue
Block a user