b4eee287af
*: extract topn out of histogram correctly ( #21007 )
...
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com >
2020-12-10 17:05:39 +08:00
b3f0f3cb74
Revert "statistics: introduce an interface for StatsCache ( #20091 )" ( #21583 )
2020-12-09 14:08:47 +08:00
28c9e9290b
*: gocritic fixes for commentFormatting ( #21578 )
2020-12-09 12:03:17 +08:00
fc37586491
*: refactor function ExecRestrictedSQLWithContext to fix a DATA RACE ( #21461 )
2020-12-04 14:28:38 +08:00
554bae75f0
statistics: introduce an interface for StatsCache ( #20091 )
2020-12-02 17:18:42 +08:00
5131514ebb
statistics: fix a bug which causes panic when using the clustered index and the new collation ( #21379 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-12-01 14:08:41 +08:00
0cddd8b7fb
statistics: fix the panic when analyze with collation enabled ( #21262 )
2020-11-25 20:10:20 +08:00
583cbd265b
statistics: store the topn by slice instead of map ( #20818 )
2020-11-06 15:39:33 +08:00
152b60ebe4
session: increase cm_sketch column max length to 6291456(6MB) ( #20152 )
2020-11-02 15:21:25 +08:00
c2e3b0a6ad
statistics: decouple TopN from CMSKetch ( #20572 )
2020-10-28 15:16:42 +08:00
fd84a91895
ddl, tikv: add delay during AddIndex DDL and remove schema check for async commit ( #20550 )
2020-10-28 11:48:34 +08:00
f41880a4d0
statistics: improve row count estimation of multi-column equal conditions by cross validation ( #20264 )
2020-10-27 20:10:27 +08:00
99d1163cbc
*: use ID instead of NAME in mysql.schema_index_usage ( #20589 )
2020-10-23 14:42:29 +08:00
bdb6c49600
*: collect index usage information from point get and dump them to KV ( #20126 )
2020-10-16 16:17:34 +08:00
cd16de894b
*: introduce LRUCache with limited memory for statistics ( #18788 )
2020-10-15 17:36:21 +08:00
dcefa58035
*: use global stats & make ddl/feedback/show/export works(part III) ( #20271 )
2020-10-14 16:11:33 +08:00
35cba465e2
statistics: fix an unsafe lock operation and adjust some logging levels ( #20381 )
2020-10-13 15:58:44 +08:00
6342fa6a50
ddl: fix corrupted default value for bit type column ( #18036 )
2020-10-04 12:59:40 +08:00
170e2fec92
*: collect multiple partitions and store in tidb (part II) ( #19899 )
2020-09-29 21:25:56 +08:00
0528a1f12f
*: handle the to-do item of rebuilding ReorgInfo key when executing modify/change column ( #19866 )
2020-09-27 08:34:36 +08:00
151ef8492b
statistics: prioritize low selectivity indexes in the greedy search procedure of Selectivity() ( #20038 )
2020-09-22 19:17:42 +08:00
c303b05760
statistics: support dump/load/gc extended statistics ( #19260 )
2020-09-22 19:13:38 +08:00
0684dba6c8
util/ranger: extract multi-column DNF conditions as access conditions ( #19211 )
2020-09-17 20:08:34 +08:00
3903c6b8b5
statistics: fix the display of bounds for indexes with date/time columns. ( #19961 )
2020-09-17 19:01:26 +08:00
6f0aa2a96f
util/ranger: fix infinite recursion when using _tidb_rowid in DNF cond ( #19993 )
2020-09-17 10:57:38 +08:00
4b7c5db8ab
planner: add cluster index in explain info of point get plan ( #19867 )
2020-09-16 12:23:09 +08:00
411eba618c
statistics: update stats per table in the pipeline ( #19370 )
2020-09-15 19:53:08 +08:00
2a3a5ab076
*: disable new partition prune in master distribution ( #19911 )
2020-09-14 16:26:54 +08:00
716f762d5d
statistics: reduce HandleAutoAnalyze memory usage ( #19837 )
2020-09-12 10:54:27 +08:00
0859e757a2
statistics: add default value of CMSketch for Analyze ( #19455 )
2020-09-10 16:57:01 +08:00
2836011470
executor, planner: refactor analyze tableID to analyzeTableID & add CanRuntimePrune ( #19846 )
...
* executor, planner: refactor analyze tableID to analyzeTableID
* *: add util to help decide whether use new runtime prune partition executor
* address comments
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-08 23:49:39 +08:00
438945d294
*: enable clustered index by default ( #19582 )
2020-08-31 16:54:51 +08:00
b78f4896fe
statistics, util/ranger: improve selectivity calculation for DNF filters ( #18741 )
2020-08-27 15:40:12 +08:00
8fe2a0b5d8
statistics: drop stats should delete topn ( #18160 )
...
* statistics: drop stats should delete topn
* add rest
* fix test
* fix test
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 14:15:51 +08:00
a2e2ce6339
*: use int instead of fmt.Stringer as executor id ( #19207 )
2020-08-19 13:39:31 +08:00
43a9d77965
*: compute and save correlation extended statistics in ANALYZE ( #19134 )
2020-08-18 10:56:40 +08:00
c5c7bf87bb
*: support CREATE / DROP / ADMIN RELOAD STATISTICS ( #18880 )
2020-08-11 17:27:48 +08:00
3b35c89958
util/ranger: fix explain does not display range[NULL, NULL] ( #19028 ) ( #19068 )
2020-08-11 17:23:01 +08:00
76c86a86e5
statistics: fix memtracker test ( #19008 )
...
* fix memtracker test
* fix timeout
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-11 13:36:17 +08:00
f172a1e08a
planner: make some access paths check fit the clustered index ( #18998 )
...
* planner: make some access paths check fit the clustered index
* add test
* add test for outer join elimination
* make test stable
* fix test
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-10 15:33:17 +08:00
07ae6078e8
*: support clustered index for fast analyze ( #18767 )
2020-08-07 19:22:14 +08:00
3df573d2fc
planner,executor: use new table partition implementation and fix CI ( #18981 )
2020-08-06 17:50:40 +08:00
aeee1524e4
planner: fix the inappropriate heuristic rule to estimate the EQ selectivity when out of range ( #18543 )
2020-08-05 14:11:06 +08:00
beaafce2a5
statistics:enable memtracker for table statisitic ( #18685 )
2020-07-23 16:13:34 +08:00
a99fdc098c
statistics: ease the impact of stats feedback on cluster ( #15503 )
2020-07-08 19:53:04 +08:00
ceec9d9c63
*: fix the estimation error on normal column when collation enabled ( #18104 )
2020-07-01 17:11:51 +08:00
06e73a56cc
*: compatible with Go 1.14's checkptr ( #18189 )
2020-06-24 13:04:47 +08:00
c98514e751
executor: unify executor concurrency ( #16999 )
2020-06-22 17:39:32 +08:00
60dbf2b119
planner: rename table path to IntHandlePath ( #17962 )
...
Co-authored-by: lysu <sulifx@gmail.com >
2020-06-15 11:00:20 +08:00
b05327509c
session/statistics: discard feedbacks from delete / update ( #17452 )
2020-06-08 14:34:58 +08:00