Commit Graph

344 Commits

Author SHA1 Message Date
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
5737729493 stats: fix panic when fast analyze on empty table (#13284) 2019-11-08 19:14:53 +08:00
f9be8ebf85 *: make log_level working for gotest (#13258) 2019-11-08 14:44:39 +08:00
26174f11b5 *: disable batch DMLs by default (#13081) 2019-11-07 19:59:15 +08:00
538077ff75 *: rename Arrow to Chunk (#13060) 2019-11-06 14:51:10 +08:00
6fd74f3e4c planner: support cost model for tiflash table scan (#12868) 2019-10-29 16:05:51 +08:00
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00
2175bdd956 stats: fix shallow copy bugs (#12691) 2019-10-18 15:35:19 +08:00
7ffa4500e6 planner: support a hint to read from tiflash in planner (#12479) 2019-10-11 16:36:35 +08:00
510a851ce4 build: make errcheck works correctly (#12381) 2019-09-26 19:28:01 +08:00
e2b1f7eff8 expression: change the String() method of expression.Column (#12089) 2019-09-16 14:30:22 +08:00
440bb748a6 stats: do not split excluded lower value ranges (#12009) 2019-09-11 17:02:45 +08:00
1ef81a8620 *: replace word error in warning, info, debug logs (#12050) 2019-09-09 18:51:12 +08:00
3fdfe2e370 stats: support display invalid key in stats buckets (#12064) 2019-09-09 17:59:11 +08:00
073ab9b6a3 *: refactor RestrictedSQLExecutor (#11904) 2019-08-28 19:17:19 +08:00
ab8346e911 stats: limit the number of top-n items (#11906) 2019-08-28 17:23:08 +08:00
adb3071c90 *: refine the attribute definition of types.Time and types.Dur… (#11672) 2019-08-14 11:30:40 +08:00
6d51ad33fd *: Optimize struct memory usage by adjust field order (#11629) 2019-08-13 17:20:53 +08:00
d51a3e067e planner: use HistColl containing all columns for row width estimation (#11689) 2019-08-09 17:00:33 +08:00
fe038642e5 *: refactor cost model formulas and constants (#10581) 2019-08-07 17:44:09 +08:00
6dbc8cf651 statistics: the overflow check is not correct in `0-Math.MinIn… (#11611) 2019-08-05 16:46:31 +08:00
03bb8d7818 stats: convert small range to points in selectivity (#11524) 2019-08-05 10:45:51 +08:00
b17848b880 stats: fix estimation for time equal conditions (#11511) 2019-07-29 19:56:50 +08:00
0668cae665 executor, stats: extract topn from cm sketch (#11409) 2019-07-29 19:05:19 +08:00
af15f725b5 stats: handle feedback updates for topn items (#11434) 2019-07-29 17:21:08 +08:00
bd419c8fdb stats: fix panic when dump pseudo columns (#11430) 2019-07-26 14:43:20 +08:00
abbca5375e *: add trace support for subquery (#11182)
Test pass, auto merge by Bot
2019-07-24 19:03:47 +08:00
9b824457c1 *: improve column size calculation of statistics (#11091) 2019-07-15 13:05:54 +08:00
0d563f1e2d stats: fix unstable test (#10953) 2019-06-27 13:51:16 +08:00
d244723a5e executor: remove unused structure RecordBatch (#10891) 2019-06-26 15:26:16 +08:00
b26cb0d93c stats: fix the index cm sketch for fast analyze (#10839) 2019-06-22 12:55:14 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
8c81e434db stats: correct fast analyze stats caclulation (#10766) 2019-06-20 14:01:55 +08:00
2b611274e3 domain: load stats when stats lease is 0 (#10771) 2019-06-13 15:28:56 +08:00
3f4f3d0bd9 stats: improve code coverage (#10606) 2019-06-12 13:34:41 +08:00
8046775b6d stats: adjust datum type when using the index query feedback (#10614) 2019-06-10 16:25:23 +08:00
89bfed305c executor, stats: fix fast analyze bugs (#10680) 2019-06-04 12:32:41 +08:00
183648f44f statistics: support dump/load correlation of histogram (#10573) 2019-05-23 11:24:44 +08:00
380eb2c540 stats: merge non-overlapped feedback when update bucket count (#10476) 2019-05-22 16:04:42 +08:00
7d7c146786 *: fix bug when unsigned histogram meets signed ranges in feedback (#10415) 2019-05-14 15:49:02 +08:00