Commit Graph

320 Commits

Author SHA1 Message Date
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
f3ab907dcc types: rename CopyRow and CopyDatum to Clone* (#10333) 2019-05-09 19:26:01 +08:00
b0549b7875 stats: incremental analyze for index with feedback updates (#10355) 2019-05-08 13:50:46 +08:00
478990451c server, statistics: support dump history stats (#10291) 2019-05-07 14:59:38 +08:00
69b02a3736 *: make config items Performance.*, OOMAction and MemQuotaQuery support hot-reloading (#10295) 2019-04-29 16:38:46 +08:00
6a578a8b57 statistics: Support store CMSketch with Top N (#10255) 2019-04-29 12:15:59 +08:00
9d74d6404f planner, executor: index join enhancement (#8471) 2019-04-29 11:07:15 +08:00
4b4fe8b549 stats: incremental analyze for index without feedback updates (#10102) 2019-04-28 15:34:51 +08:00
5fa16a8030 executor: support building stats for fast analyze. (#10258) 2019-04-28 13:49:54 +08:00
9bf22531d0 statistics: fix panic when move analyze jobs to history (#10286) 2019-04-28 11:48:16 +08:00
fa2d6f0699 statistics: support building CMSketch with Top N (#10163) 2019-04-24 16:14:08 +08:00
a28d8779c1 *: support show analyze status (#10172) 2019-04-24 14:32:19 +08:00
e5f734e54c *: move the Handle of stats to single package. (#10149) 2019-04-17 13:42:34 +08:00
7666f688b3 *: add stats version in slow_query and slow log. (#10082) 2019-04-15 18:04:48 +08:00
7b688eeef7 *: change some call of panic() to error (#10010) 2019-04-08 12:10:49 +08:00
2e14068ee1 *: improve NULL count estimation for single column index (#9474) 2019-03-30 19:22:30 +08:00
451f54e25e statistics: unify log format in package statistics (#9534) 2019-03-18 16:59:56 +08:00
c5c30912db statistics: set correlation when loading needed column histogram (#9701) 2019-03-14 16:28:53 +08:00
47c78419da statistics: stabilize sort order when computing correlation (#9696) 2019-03-13 15:46:04 +08:00
aef66b2435 statistics, store: tidy local variable (#9679) 2019-03-13 10:34:19 +08:00
52b7bfda0e types: use switch table to save memory (#9650) 2019-03-12 22:04:22 +08:00
c0ca027f51 stats: fix data race when updating correlation (#9594) 2019-03-09 14:47:00 +08:00
560e8cfe57 *: sleep 0 when retry whole transaction (#9454) 2019-03-02 13:16:28 +08:00
69f2749154 executor: only show valid columns in stats_histogram (#9487) 2019-02-28 13:06:38 +08:00
45f9d6a00f statistics: compute and store column order correlation with handle (#9315) 2019-02-27 11:32:00 +08:00