Commit Graph

62 Commits

Author SHA1 Message Date
9afbda98d0 stats: restrict the adjust factor for index feedback (#9445) 2019-02-26 11:03:47 +08:00
35fce9397a stats: log auto analyze fail reason (#9178) 2019-01-25 19:44:48 +08:00
3984ad65db statistics: log the reason when triggering auto analyze (#9176) 2019-01-25 18:57:59 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
82d2726300 planner, statistics: build new histogram using range information (#7921) 2019-01-14 20:33:36 +08:00
f209843184 stats: fix histogram bound overflow error (#8984) 2019-01-09 10:57:55 +08:00
98c72c6a8e stats: optimize unit test execution time (#8597) 2018-12-06 17:30:20 +08:00
5831de291d *: enable range typed table partition (#8011) 2018-10-26 20:04:07 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
19e78d025e stats: update error rate for partition table (#8022) 2018-10-24 15:57:03 +08:00
06f4740dfd stats: use local feedback for partition table (#7963) 2018-10-23 15:49:31 +08:00
ec9672cea6 stats: update delta info for partition table (#7947) 2018-10-18 18:42:41 +08:00
a7f78c7704 stats: fix histogram boundaries overflow error (#7883) 2018-10-17 14:45:50 +08:00
7229b32a25 *: support auto analyze partition table (#7789) 2018-10-12 20:57:59 +08:00
a947590b14 stats: update the way of using index feedback (#7488) 2018-09-13 19:02:32 +08:00
a34d69906f stats: fix panic when updating by feedback (#7640) 2018-09-09 11:06:08 +08:00
e7afbb2713 *: make analyze buckets number configurable (#7619) 2018-09-06 17:16:23 +08:00
74a6dddfd0 stats: auto analyze on certain period of a day (#7570) 2018-09-05 16:37:53 +08:00
aa9f46a16a stats: fix panic when log detailed stats info (#7588) 2018-09-03 16:53:10 +08:00
4df2c7eef6 stats: fix auto analyze trigger condition (#7550) 2018-08-30 17:20:59 +08:00
d4e08853e4 executor,statistics: make query feedback work for partitioned table (#7394) 2018-08-21 11:43:48 +08:00
b1aef89144 stats: fix the data race in test (#7434) 2018-08-20 14:51:12 +08:00
29addca221 stats: log detailed stats info for query feedback (#7293) 2018-08-15 22:01:44 +08:00
606bef7be6 stats: calculate the scalar info for histogram after local update (#7215) 2018-08-01 13:37:15 +08:00
b8a2b1bf79 stats: fix panic caused by local feedback (#7152) 2018-07-31 14:30:26 +08:00
a629630745 stats: refine the row count estimation for outdated stats (#7175) 2018-07-29 12:49:26 +08:00
9a1a95d95c stats: fix panic caused by outdated feedback (#7128) 2018-07-25 18:30:33 +08:00
3b5e8a2264 stats: use feedback in time (#6859) 2018-07-23 19:27:14 +08:00
34d8fd8d8d plan, statistics: extract histColl struct (#6860) 2018-07-13 14:42:07 +08:00
20a985d8c1 stats: do not wait for data unchanged when auto analyze (#7022) 2018-07-10 15:52:34 +08:00
0ab0b50f25 stats: refine the pseudo condition for stats (#6565) 2018-06-27 17:05:37 +08:00
0fbb980f9b stats: refine stats delta update (#6808) 2018-06-26 13:51:23 +08:00
5f2b16192e stats: fix query feedback bugs (#6444) 2018-05-09 12:27:32 +08:00
23e8c6e12b *: add a system variable auto_analyze_ratio (#6455) 2018-05-04 10:54:30 +08:00
12dbd32854 *: rename NewRange to Range. (#6368) 2018-04-25 13:13:04 +08:00
41f5940824 stats: support auto analyze table when modify/count is too high (#6294) 2018-04-17 21:15:35 +08:00
9fbf8a6637 stats: dynamically update the average column size (#6170) 2018-04-13 16:31:43 +08:00
19573c6754 *: update stats using query feedback (#6197) 2018-04-10 19:12:38 +08:00
905eda7ff5 stats: fix row estimation for pseudo unique key (#6199) 2018-04-02 20:27:58 +08:00
df6f955fe8 stats: update the histogram using feedback (#6086) 2018-03-29 13:29:04 +08:00
a3e4a92f47 stats: control collection of feedback (#6085) 2018-03-26 19:03:21 +08:00
501de19821 stats: add average column size for the histogram (#5974) 2018-03-23 13:44:24 +08:00
a0eb1bbd06 stats: remove invalid range when split (#6034) 2018-03-13 13:26:46 +08:00
6a826fd0aa *: collect query feedback (#5909) 2018-03-12 15:37:09 +08:00
40277504c0 stats: fix panic when updating stats table (#5880) 2018-02-13 21:24:05 +08:00
b5d078b41b stats: set a min count for auto analyze (#5796) 2018-02-06 18:23:48 +08:00
4345458d14 stats: refine the behavior when updating stats delta (#5647) 2018-01-16 18:43:26 +08:00
c45111d9f6 stats: use more compact structure for histograms (#5539)
* stats: use more compact structure for histograms

* address comments

* address comments

* refine code

* address comment
2018-01-05 20:43:01 +08:00
90401445d2 *: collect and store query feedback (#5438) 2017-12-22 11:33:05 +08:00
55dfb67362 stats: fix trigger condition for auto analyze (#5446) 2017-12-20 13:37:05 +08:00