Commit Graph

77 Commits

Author SHA1 Message Date
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
a99fdc098c statistics: ease the impact of stats feedback on cluster (#15503) 2020-07-08 19:53:04 +08:00
8943b1edc4 *: fix analyze on clustered index miss some handle columns (#18004) 2020-06-15 15:43:13 +08:00
7c3e9d2427 *: support analyze on cluster index (#17895) 2020-06-15 10:51:33 +08:00
af7bbbe241 executor: fix failpoint race for analyze test (#17437)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-05-27 20:47:11 +08:00
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +08:00
30f6f32708 tests: abstract Cluster interface for introducing new mock... (#16940) 2020-04-30 10:46:55 +08:00
4e6e933f6a statistics: fix wrong hash which misses hit by query topn (#16606) 2020-04-24 17:04:12 +08:00
c48499ff36 planner, executor: set TblInfo correctly when fast analyze PK (#16005) 2020-04-04 15:29:54 +08:00
5d846cfe7d statistic: fix error when fast analyze on only indexes (#15889) 2020-04-01 18:51:15 +08:00
312891bae1 statistics: fix panic when merge topn (#15845) 2020-04-01 16:39:29 +08:00
21ee980e11 *: Refine Explain's format. (#15507) 2020-03-23 17:57:49 +08:00
3399f4be31 planner: distinguish FullScan and the RangeScan in explain/desc info (#14696) 2020-02-24 15:23:06 +08:00
174ff27943 *: fix static check issues (#14286) 2020-01-06 16:07:15 +08:00
0730eeca03 *: fix snapshot problem in show table status (#13797) 2019-12-05 13:26:26 +08:00
cbb248cdf1 executor: fix leak test (#13845) 2019-12-02 16:27:27 +08:00
ceee144692 executor: fix unstable fast analyze test (#13546) 2019-11-19 10:44:23 +08:00
4afbf001ea stats: fix merge cm sketch panic (#13391) 2019-11-12 16:44:59 +08:00
59fedf27b9 executor: fix fast analyze unit test fail (#13367) 2019-11-12 13:57:58 +08:00
5737729493 stats: fix panic when fast analyze on empty table (#13284) 2019-11-08 19:14:53 +08:00
ab1c939d1c executor: fix fast analyze test (#13275) 2019-11-08 14:11:33 +08:00
60d4291c5d store: upgrade the CheckTxnStatus API (#13123)
CheckTxnStatus introduces a non-block read mode. In this mode, TiDB can ignore
the secondary lock TTL check and send the CheckTxnStatus request.
2019-11-07 19:09:13 +08:00
186c6acbfe executor: fix data race in TestAnalyzeFastSample (#13130) 2019-11-05 11:49:19 +08:00
9b0334601a executor: speed up test (#12896) 2019-10-23 21:11:21 +08:00
7ffa4500e6 planner: support a hint to read from tiflash in planner (#12479) 2019-10-11 16:36:35 +08:00
e173c7f5c1 executor: add several sql hint related to session variables (#11809) 2019-09-17 13:39:16 +08:00
523b93651d Add follower read support to TiDB (#11347) 2019-08-16 13:26:17 +08:00
c9502f0667 executor: support analyze option for samples (#11609) 2019-08-06 11:38:33 +08:00
1f57a538a4 distsql: make CopStream available (#11311)
All tests passed, auto merged by Bot
2019-07-30 17:10:52 +08:00
0668cae665 executor, stats: extract topn from cm sketch (#11409) 2019-07-29 19:05:19 +08:00
268cbf1a5d stats: support more analyze options (#11278) 2019-07-25 13:25:24 +08:00
f8912049f5 *:add opt_rule_blacklist in mysql tables. (#11096) 2019-07-24 13:36:29 +08:00
d420a1f212 *: reduce tikvrpc request size (#11055) 2019-07-15 16:11:14 +08:00
9eb2379565 executor: fix invalid key error of fast analyze (#11072) 2019-07-04 19:51:34 +08:00
ce0312bd43 executor: handle unsigned primary key for fast analyze (#11074) 2019-07-04 16:08:39 +08:00
0d563f1e2d stats: fix unstable test (#10953) 2019-06-27 13:51:16 +08:00
b26cb0d93c stats: fix the index cm sketch for fast analyze (#10839) 2019-06-22 12:55:14 +08:00
8c81e434db stats: correct fast analyze stats caclulation (#10766) 2019-06-20 14:01:55 +08:00
90096b3da5 executor: fix wrong row count in fast analyze (#10859) 2019-06-19 19:45:58 +08:00
cd8c4e6e37 *: add a blacklist to disallow pushing down specific expressions (#10688) 2019-06-12 13:54:33 +08:00
71def9c726 executor: improve UT coverage of executor package (#10728) 2019-06-11 10:01:43 +08:00
89bfed305c executor, stats: fix fast analyze bugs (#10680) 2019-06-04 12:32:41 +08:00
5215a11385 executor: fix analyze worker panic (#10603) 2019-05-27 15:21:07 +08:00
2fedfd0ac4 executor: only retry needed regions when get region row count (#10429) 2019-05-21 13:54:29 +08:00
b0549b7875 stats: incremental analyze for index with feedback updates (#10355) 2019-05-08 13:50:46 +08:00
6a578a8b57 statistics: Support store CMSketch with Top N (#10255) 2019-04-29 12:15:59 +08:00