Commit Graph

383 Commits

Author SHA1 Message Date
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
94a722e2df statistics: improve estimation for index equal condition (#17366) 2020-06-03 08:32:17 +08:00
d3f1a7a689 statistics: avoid large CMSketch affecting the latency of normal query (#17542) 2020-06-01 10:31:48 +08:00
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +08:00
4e6e933f6a statistics: fix wrong hash which misses hit by query topn (#16606) 2020-04-24 17:04:12 +08:00
62e4d588a8 Makefile: add unconvert to inspect unnecessary type convert (#16549) 2020-04-22 23:01:59 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
c2538facc9 ddl: Support the operation of adding multi-columns (#15540) 2020-04-08 13:22:25 +08:00
cc24101d97 statistics: fix repetitive selectivity accounting and stabilify the result (#15536) 2020-04-03 15:50:09 +08:00
312891bae1 statistics: fix panic when merge topn (#15845) 2020-04-01 16:39:29 +08:00
2846f5c5ba statistics: fix panic when getStatsReader fail (#15651) 2020-03-26 13:16:17 +08:00
21ee980e11 *: Refine Explain's format. (#15507) 2020-03-23 17:57:49 +08:00
81165343f2 *: fix data race caused by analyzeStatus. (#15526) 2020-03-21 16:49:31 +08:00
e382f5b5c4 executor: fix AnalyzeStatus unit test data race (#15481) 2020-03-19 14:30:23 +08:00
d9406058ac *: update memdb to use new fast random util (#15218) 2020-03-10 14:24:32 +08:00
55b3e1110c *: reduce the allocation caused by Datum.Copy (#15219) 2020-03-09 17:38:46 +08:00
ae86ae32e1 *: replace global mutex random with lock-free FastRand function. (#15213) 2020-03-09 12:32:46 +08:00
9e98f706ae planner, executor: support point get as a option of DataSource (#14775) 2020-03-09 10:47:16 +08:00
41142266b2 *: use SetString() for string instead of SetBytes() (#14989) 2020-03-02 15:48:10 +08:00
a7bdb82402 *: Reduce memory operations by simply passing size hint to make (#14922) 2020-02-25 15:44:36 +08:00
3399f4be31 planner: distinguish FullScan and the RangeScan in explain/desc info (#14696) 2020-02-24 15:23:06 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
79eaa967bb ddl, stats: handle add/trunctate partition events (#14500) 2020-01-22 17:44:22 +08:00
253a81e64f stats: fix panic when init stats for cm sketch (#14421) 2020-01-14 14:22:21 +08:00
5a9f2fa5ab server, tikv: enable unit test run parallel and add parallel f… (#14296) 2020-01-09 15:12:45 +08:00
4dfbb14c51 *: tidy code && prealloc some slice for performance (#13468) 2020-01-02 17:26:10 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00
510c36d4cb planner: fix a bug for chunk cost model. (#14144) 2019-12-22 09:15:16 +08:00
1d60894c96 ddl: add index progress metric (#14055) 2019-12-20 21:50:43 +08:00
02408dbd04 planner: support cost model for Chunk encode format. (#13461) 2019-12-18 15:47:16 +08:00
438d39ebcd *: revert #10124 and remove sql mode PadCharToFullLength (#14007) 2019-12-17 15:25:06 +08:00
2c6f4468a0 statistics: fix row count estimation of unique composite index (#14076) 2019-12-16 19:05:13 +08:00
0fe96bc864 stats: remove the lower bound of auto analyze ratio (#13995) 2019-12-10 16:52:25 +08:00
7de620055d expression: support expression reverse evaluation framework (#13738) 2019-12-05 11:50:09 +08:00
7b09a11f17 planner,stats: don't re-calculate the index's ranges (#12856) 2019-12-04 17:19:48 +08:00
5a589c9994 planner: consider disk cost in hashJoin (#13246) 2019-12-03 13:43:19 +08:00
230b0379cc statistics: refactor the code (#13788) 2019-12-02 10:53:22 +08:00
b0e8e0764d *: fix staticcheck errors in folder statistics (#13776) 2019-11-28 12:31:21 +08:00
e979cff6bb planner: add column mapping in explain result (#13640) 2019-11-27 16:39:19 +08:00
518692c14c bindinfo: support evolve plan (#13465) 2019-11-22 17:09:37 +08:00
876da07be5 stats: fix data race when updating stats cache (#13647) 2019-11-22 15:28:37 +08:00
4afbf001ea stats: fix merge cm sketch panic (#13391) 2019-11-12 16:44:59 +08:00
5069939d74 stats: specially handle unqiue key when estimate (#13354) 2019-11-11 17:52:30 +08:00