3cb091ba18
statistics: change the upper bound of the out-of-range estimation to modify count | tidb-test=pr/2012 ( #39011 )
...
close pingcap/tidb#39008
2023-01-10 15:26:23 +08:00
8a3c62ba2e
expression: implement regexp_like function pushdown ( #39107 )
...
close pingcap/tidb#39106
2022-11-17 13:59:55 +08:00
3bbffdf7ac
planner: update some UTs from cost model1 to model2 ( #39065 )
...
ref pingcap/tidb#35240
2022-11-11 13:51:53 +08:00
6399e6cb5b
planner: update some UTs from cost model1 to model2 ( #39013 )
...
ref pingcap/tidb#35240
2022-11-09 19:15:51 +08:00
29f83a0b25
expression: add pushdown flags of regexp functions to tikv ( #37893 )
...
close pingcap/tidb#37894
2022-09-18 21:21:00 +08:00
f0717dfe07
statistics, sessionctx: introduce topn assisted cardinality estimation for string matching functions ( #36210 )
...
close pingcap/tidb#36209
2022-07-20 21:55:09 +08:00
47e4b5bf31
*: revert #27021 to fix a bug that selection can not be pushed down when having clause above aggregation ( #33168 )
...
close pingcap/tidb#33166
2022-03-17 10:43:53 +08:00
69b358a5e5
statistics, util/ranger: use the correct collators when record ce trace ( #31207 )
2021-12-31 11:59:50 +08:00
9a074f1dbe
*: use the real StateRemote interface implementation for cached table ( #30066 )
2021-12-10 16:55:57 +08:00
23af09d8bf
*: support trace plan target='estimation' statement ( #30491 )
2021-12-10 11:43:57 +08:00
f82ca6a8eb
statistics, util/ranger: add cardinality estimation trace for GetRowCountBy... ( #30321 )
2021-12-07 19:45:56 +08:00
8550dbb216
*: add cardinality estimation trace for Selectivity ( #29883 )
2021-11-29 17:01:52 +08:00
09ebd0d703
planner: fix wrong selection push down when having above agg ( #27021 )
2021-08-16 20:29:59 +08:00
cb65b7a2f7
statistics: improve out-of-range estimation strategy ( #26502 )
2021-08-02 17:43:08 +08:00
0974cb415b
statistics: not to convert small range into points when estimate rowcount using v2 stats ( #26695 )
2021-07-28 18:58:18 +08:00
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