Commit Graph

122 Commits

Author SHA1 Message Date
74055f7f0e statistics, executor: fix new collation for analyze version 2 (#25311) 2021-06-17 01:32:37 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
7e9c912b1c executor: temporarily skip some unstable test cases (#25335) 2021-06-10 18:12:29 +08:00
xhe
7d76700ed7 executor: avoid panic in the test (#25114) 2021-06-10 13:38:30 +08:00
eb91585d6d executor: temporarily skip some unstable test cases. (#25224)
- testResourceTagSuite.TestResourceGroupTag (#25189)
- testSuiteJoin1.TestIndexLookupJoin (#25191)
- testSuite1.TestAnalyzeIndex (#25188)
- testSuite1.TestAnalyzeIncremental (#25187)
- testVectorizeSuite2.TestVectorizedBuiltinTimeEvalOneVec (#25169)
2021-06-08 15:35:54 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +08:00
38e2faea90 executor: skip unstable test case TestMergeJoinInDisk and TestAnalyzeIndexExtractTopN. (#25170)
* executor: skip unstable test case TestMergeJoinInDisk.
2021-06-04 21:02:15 +08:00
2e083b40e5 statistics: support indexes containing virtual column for full sampling (#24999) 2021-06-04 16:18:28 +08:00
41e1e814ff executor: parallel some part of the sampling-based analyze (#24860) 2021-06-03 23:08:26 +08:00
a37a30b883 planner: try to fix some unstable test cases about partition table statistics (#25026) 2021-06-03 15:27:29 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
2df8c3bfd1 store/tikv: resolve ReplicaReadType dependencies (#24653) 2021-05-17 14:09:39 +08:00
xhe
5e9e0e6e37 *: consitent get infoschema (#24230) 2021-05-10 21:00:36 +08:00
e104d818cf mocktikv: remove SplitTable and SplitIndex (#24104) 2021-04-20 13:29:52 +08:00
46aca1ad0c session, executor: skip some frequent unstable test cases (#24003) 2021-04-14 15:39:52 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
b983856ddf store/tikv:mv kv.ReplicaReadType to tikv (#23376) 2021-03-19 21:19:36 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
1e2f1c0b9d statistics: add tests for global-stats when add and delete a single partition (#23256) 2021-03-12 15:44:20 +08:00
22ff880fee planner: fix analyze clustered index table can't trigger index primary (#23254) 2021-03-12 07:45:35 +08:00
168ef8878d statistics: test the auto analyze and feedback for the global-level stats (#23181) 2021-03-10 19:36:55 +08:00
f33d02bdbf statistics: forbid getting global-stats through fast analyze and incremental analyze (#23066) 2021-03-05 11:24:54 +08:00
b81e547e66 executor: fix err check (#22991) 2021-03-03 19:26:56 +08:00
a64d8860f1 statistics: forbid global-stats in stats-ver1 and make analyze options take effect in global-stats (#23050) 2021-03-03 11:58:54 +08:00
550ca8eaeb statistics: enables global-level stats to be generated in fast analyze mode (#22931) 2021-03-01 16:40:50 +08:00
e1004a2ccb *: modify the switch to control global stats (#22866) 2021-03-01 14:18:30 +08:00
04e5137f48 *: use explain format = 'brief' for tests (#22677) 2021-02-22 17:50:06 +08:00
b74dfaf810 mockstore: move mockstore/cluster to tikv/mockstore/cluster (#22856)
Signed-off-by: disksing <i@disksing.com>
2021-02-22 15:42:16 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
44641c3282 planner: change the content of AnalyzeTableID to build global-stats (#22554) 2021-02-02 15:39:44 +08:00
3dd842f50a statistics: add bucket ndv for index histogram (#20580)
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-01-13 18:24:21 +08:00
092a01a0a4 statistics, executor: refactor statistics on columns (#21817) 2020-12-24 13:56:30 +08:00
5acff8de7a *: Revert "#19008" and "#18788" (#21599) 2020-12-14 15:06:35 +08:00
b4eee287af *: extract topn out of histogram correctly (#21007)
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
2020-12-10 17:05:39 +08:00
c7cdbe7278 executor: stabilize test TestSetVar (#21493) 2020-12-07 14:30:18 +08:00
90c7987763 executor: add SHOW STATS_TOPN (#21403) 2020-12-01 17:02:51 +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
e0b9de5802 test: skip TestDefaultValForAnalyze (#20815) 2020-11-04 11:52:04 +08:00
152b60ebe4 session: increase cm_sketch column max length to 6291456(6MB) (#20152) 2020-11-02 15:21:25 +08:00
14d6ed564c test: add conditions check for TestDefaultValForAnalyze (#20718) 2020-10-29 19:36:25 +08:00
c2e3b0a6ad statistics: decouple TopN from CMSKetch (#20572) 2020-10-28 15:16:42 +08:00
170e2fec92 *: collect multiple partitions and store in tidb (part II) (#19899) 2020-09-29 21:25:56 +08:00
fd0299f58e *: remove simple rewriter (#19828) 2020-09-23 12:17:53 +08:00
2a3a5ab076 *: disable new partition prune in master distribution (#19911) 2020-09-14 16:26:54 +08:00
0859e757a2 statistics: add default value of CMSketch for Analyze (#19455) 2020-09-10 16:57:01 +08:00
66de0180ca executor: fix fast analyze on single index (#19662)
* executor: fix fast analyze single index

* use idxCol.offset instead of compare column name

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-03 11:25:01 +08:00
d7e6e1d773 planner: fix analyze index always analyze primary bug (#19657) 2020-09-01 17:18:59 +08:00
64a5e4f377 executor: refine fast-analyze sample step in old partition (#19591) 2020-09-01 11:57:54 +08:00
07ae6078e8 *: support clustered index for fast analyze (#18767) 2020-08-07 19:22:14 +08:00