Commit Graph

20 Commits

Author SHA1 Message Date
74055f7f0e statistics, executor: fix new collation for analyze version 2 (#25311) 2021-06-17 01:32:37 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +08:00
32cf14bd7d statistics: relax the check of the OutOfRange (#24958) 2021-06-02 22:16:25 +08:00
9b5d92ef24 statistics: fix the unexpected estimation error on full sampling (#24623) 2021-05-26 18:47:34 +08:00
18d519f056 stats, executor: use a correct sampling to collect stats (#23997) 2021-05-02 23:11:51 +08:00
f1a48216b2 statistics: fix some potential panic in statistics (#23988) 2021-04-15 21:15:53 +08:00
263155a650 statistics: make exponential backoff estimation more safe (#23086) 2021-03-04 11:10:54 +08:00
8230f4162b *: optimize analyze cluster index table (#21381) 2021-03-01 22:14:54 +08:00
270d497848 statistics: introduce new estimation logic when index histogram fails to estimate (#22682)
* statistics: introduce new estimation logic when index histogram fail to estimate

* address comments

* address comments

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-02-24 16:30:03 +08:00
05d995d73d statistics: add more tests about ver2-stats (#22457) 2021-01-26 20:59:18 +08:00
3dd842f50a statistics: add bucket ndv for index histogram (#20580)
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-01-13 18:24:21 +08:00
4b7c5db8ab planner: add cluster index in explain info of point get plan (#19867) 2020-09-16 12:23:09 +08:00
b78f4896fe statistics, util/ranger: improve selectivity calculation for DNF filters (#18741) 2020-08-27 15:40:12 +08:00
3b35c89958 util/ranger: fix explain does not display range[NULL, NULL] (#19028) (#19068) 2020-08-11 17:23:01 +08:00
ceec9d9c63 *: fix the estimation error on normal column when collation enabled (#18104) 2020-07-01 17:11:51 +08:00
21ee980e11 *: Refine Explain's format. (#15507) 2020-03-23 17:57:49 +08:00
9e98f706ae planner, executor: support point get as a option of DataSource (#14775) 2020-03-09 10:47:16 +08:00
3399f4be31 planner: distinguish FullScan and the RangeScan in explain/desc info (#14696) 2020-02-24 15:23:06 +08:00
2c6f4468a0 statistics: fix row count estimation of unique composite index (#14076) 2019-12-16 19:05:13 +08:00
e979cff6bb planner: add column mapping in explain result (#13640) 2019-11-27 16:39:19 +08:00