Files
tidb/statistics/testdata/integration_suite_out.json
Yiding Cui 270d497848 statistics: introduce new estimation logic when index histogram fails to estimate (#22682)
* statistics: introduce new estimation logic when index histogram fail to estimate

* address comments

* address comments

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-02-24 16:30:03 +08:00

31 lines
1.1 KiB
JSON

[
{
"Name": "TestExpBackoffEstimation",
"Cases": [
[
"IndexReader_6 5.00 root index:IndexRangeScan_5",
"└─IndexRangeScan_5 5.00 cop[tikv] table:exp_backoff, index:idx(a, b, c, d) range:[1,1], keep order:false"
],
[
"TableReader_7 3.00 root data:Selection_6",
"└─Selection_6 3.00 cop[tikv] eq(test.exp_backoff.b, 1)",
" └─TableFullScan_5 5.00 cop[tikv] table:exp_backoff keep order:false"
],
[
"TableReader_7 2.00 root data:Selection_6",
"└─Selection_6 2.00 cop[tikv] eq(test.exp_backoff.c, 1)",
" └─TableFullScan_5 5.00 cop[tikv] table:exp_backoff keep order:false"
],
[
"TableReader_7 3.00 root data:Selection_6",
"└─Selection_6 3.00 cop[tikv] ge(test.exp_backoff.d, 3), le(test.exp_backoff.d, 5)",
" └─TableFullScan_5 5.00 cop[tikv] table:exp_backoff keep order:false"
],
[
"IndexReader_6 1.36 root index:IndexRangeScan_5",
"└─IndexRangeScan_5 1.36 cop[tikv] table:exp_backoff, index:idx(a, b, c, d) range:[1 1 1 3,1 1 1 5], keep order:false"
]
]
}
]