479179b708
config: turn on lite-init-stats and force-init-stats by default ( #44080 )
...
ref pingcap/tidb#42160
2023-05-25 04:55:40 +00:00
579f47e412
statistics: remove statistics.Column.Count ( #43033 )
...
ref pingcap/tidb#42160
2023-04-14 20:10:46 +08:00
86f215d8f5
planner: plan cache can be aware of statistics changes ( #42921 )
...
ref pingcap/tidb#36598
2023-04-11 19:35:00 +08:00
56412f514e
planner: revert #41996 due to an execution plan regression in JOB workload ( #42362 )
...
close pingcap/tidb#42351
2023-03-17 21:03:30 +08:00
471c084017
planner, sessionctx: add variable to control index selection for "WHERE b ORDER BY a LIMIT n" ( #42116 )
...
close pingcap/tidb#42060
2023-03-16 01:52:41 +08:00
e264615674
planner: add an upper bound for estimated row count of inner side of index join ( #41996 )
...
ref pingcap/tidb#31316
2023-03-14 21:40:38 +08:00
cdab35847f
statistics: fix unnecessary index fmsketch loading ( #42074 )
...
close pingcap/tidb#42052
2023-03-10 17:03:13 +08:00
fd45f737cc
statistics: fix wrong column stats loading after analyze twice ( #42076 )
...
close pingcap/tidb#42073
2023-03-10 14:15:13 +08:00
24ff3f4db3
statistics: avoid fmsketch calculation for single-column index ( #41931 )
...
ref pingcap/tidb#41930
2023-03-06 19:11:19 +08:00
98c22c1e32
statistics: use histogram count rather than realtime count to calculate stats healthy ( #41031 )
2023-02-03 16:11:57 +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
7eb7ca902a
planner: fallback to static plan for partition table if having no global stats in dynamic prune mode ( #37573 )
...
ref pingcap/tidb#37535
2022-09-08 09:20:57 +08:00
47f44cae9d
sessionctx/variable: turn off TiDBEnablePseudoForOutdatedStats by default ( #36797 )
...
ref pingcap/tidb#27601
2022-09-07 11:50:56 +08:00
7d0318cbd3
planner, statistics: refine stats loaded status and when to use pseudo stats ( #37444 )
...
close pingcap/tidb#37485
2022-09-01 20:56:24 +08:00
9a16a8dd19
*: replace defer clean with t.Cleanup ( #36722 )
...
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9
*: enable part revive for all code ( #36703 )
2022-08-01 14:02:06 +08:00
eae2ae84f4
*: move config file option tidb_enable_auto_analyze to sysvar ( #34643 )
...
ref pingcap/tidb#33769
2022-05-19 02:34:38 +08:00
c671ebc88b
statistics: fix wrong point range in crossValidationSelectivity ( #33357 )
...
ref pingcap/tidb#28030
2022-03-28 10:52:27 +08:00
768ce5fbde
statistics: allow using not-loaded stats when ndv is 0 ( #33241 )
...
ref pingcap/tidb#32758 , close pingcap/tidb#33280
2022-03-22 17:08:33 +08:00
c11e650527
*: make golangci-lint work on Go1.18 ( #33081 )
...
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
088a2444df
*: persist analyze options for manual and auto analyze ( #30939 )
2021-12-30 00:39:49 +08:00
1e5e86920d
test: merge serial tests in bindinfo, expression, parser and statistics ( #30749 )
2021-12-16 18:40:37 +08:00
b4df7ca4dc
test: make all the tests run in serial ( #30692 )
2021-12-14 18:06:36 +08:00
de9b5cbb05
session, statistics: fix "data too long for column 'xxx_bound'" when analyze tables with very long strings ( #28800 )
2021-10-25 19:50:48 +08:00
4a4f71114e
statistics: migrate test-infra to testify for integration_test.go ( #28693 )
2021-10-13 10:55:26 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
7755d25aba
*: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers ( #27198 )
2021-08-16 18:52:00 +08:00
4eeff54d85
statistics: fix the fomula for checking outdated stats ( #26728 )
2021-07-29 22:34:17 +08:00
149e86ac4b
*: introduce snapshot into analyze ( #24575 )
2021-06-25 15:17:24 +08:00
11716e7f4a
*: use full sampling as default analyze ( #25132 )
2021-06-06 00:34:27 +08:00
18d519f056
stats, executor: use a correct sampling to collect stats ( #23997 )
2021-05-02 23:11:51 +08:00
23227ea4a0
statistics: hide the tidb_analyze_version before it's GA ( #23327 )
2021-03-16 13:54:55 +08:00
168ef8878d
statistics: test the auto analyze and feedback for the global-level stats ( #23181 )
2021-03-10 19:36:55 +08:00
1ae775f6f9
statistics: add more test cases for global-level stats ( #23049 )
2021-03-04 15:19:21 +08:00
263155a650
statistics: make exponential backoff estimation more safe ( #23086 )
2021-03-04 11:10: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
343c412531
planner, executor, statistics: add tests for version 2 and fix bugs ( #22461 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2021-02-04 15:52:30 +08:00