MC splits require cumbersome CQD involvement
Bug #1347930 reported by
QF Chen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Committed
|
High
|
QF Chen |
Bug Description
The following two CQD s are currently needed to make MC stats based split to work. They are cumbersome to apply at the best.
cqd cache_histograms 'off'; -- use during dml
cqd USTAT_COLLECT_
Changed in trafodion: | |
milestone: | none → r1.0 |
Changed in trafodion: | |
assignee: | taoufik ben abdellatif (taoufik-abdellatif) → QF Chen (qifan-chen) |
status: | New → In Progress |
Changed in trafodion: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
There are multiple contributing factors.
1. MultiColumnHist ogram class represents only a single-interval version of MC,
not a multi-interval version.
2. MultiColumnHist ogram is the representation of the MC in histogram cache, Entry, as a list of this MCs (*multiColumn_);
in HistogramsCache
3. When CACHE_HISTOGRAMS is on, the statement-level NATable::colStats_ (aka StatsList) Entry:: getMCStatsForCo lFromCacheIntoL ist(), which unfortunately only
is fetched from the histogram cache (even when it is not there initially, after a fetch
from the disk). The fetch for MC stats is done in
HistogramsCache
inserts one interval.