Commit Graph

92 Commits

Author SHA1 Message Date
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
daf525a17e *: replace compareDatum by compare, range part (#30710) 2021-12-16 19:48:36 +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
61c2a98b8d *: disable parallel to avoid data race when test (#29739) 2021-11-15 17:47:06 +08:00
cf21dea489 test: tests call collate.SetNewCollationEnabledForTest should run in serial (#29325) 2021-11-03 11:47:01 +08:00
3762608709 statistics: migrate test-infra to testify for selectivity_test.go (#28796) 2021-10-26 18:44:48 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
8370cab551 planner: rename BuildLogicalPlan to BuildLogicalPlanForTest (#27606) 2021-08-26 18:42:05 +08:00
a0de91fa06 statistics: fix a error check to prevent nil dereference (#27295) 2021-08-17 17:04:00 +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
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
f3557bb591 planner, executor: supports select statement with AS OF (#24613) 2021-05-27 21:11:35 +08:00
9b5d92ef24 statistics: fix the unexpected estimation error on full sampling (#24623) 2021-05-26 18:47:34 +08:00
80a281350d statistics: fix err check (#23001) 2021-04-23 12:39:54 +08:00
e059055d0e statistics: check step overflow when converting a range to points for estimation (#23890) 2021-04-14 21:57:51 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
05d995d73d statistics: add more tests about ver2-stats (#22457) 2021-01-26 20:59:18 +08:00
8d2ab4ef7a statistics: fix inaccurate row count estimation caused by cross validation using invalid column stats (#22479) 2021-01-22 17:42:37 +08:00
27a9b3e8f6 statistics: fix stack overflow when use DNF expr immediately after add column (#22169) 2021-01-06 12:08:10 +08:00
27071f14d7 session/bootstrap: disable clustered index by default (#21777) 2020-12-25 15:44:07 +08:00
5acff8de7a *: Revert "#19008" and "#18788" (#21599) 2020-12-14 15:06:35 +08:00
f41880a4d0 statistics: improve row count estimation of multi-column equal conditions by cross validation (#20264) 2020-10-27 20:10:27 +08:00
cd16de894b *: introduce LRUCache with limited memory for statistics (#18788) 2020-10-15 17:36:21 +08:00
6f0aa2a96f util/ranger: fix infinite recursion when using _tidb_rowid in DNF cond (#19993) 2020-09-17 10:57:38 +08:00
438945d294 *: enable clustered index by default (#19582) 2020-08-31 16:54:51 +08:00
b78f4896fe statistics, util/ranger: improve selectivity calculation for DNF filters (#18741) 2020-08-27 15:40:12 +08:00
aeee1524e4 planner: fix the inappropriate heuristic rule to estimate the EQ selectivity when out of range (#18543) 2020-08-05 14:11:06 +08:00
ceec9d9c63 *: fix the estimation error on normal column when collation enabled (#18104) 2020-07-01 17:11:51 +08:00
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +08:00
cc24101d97 statistics: fix repetitive selectivity accounting and stabilify the result (#15536) 2020-04-03 15:50:09 +08:00
2c6f4468a0 statistics: fix row count estimation of unique composite index (#14076) 2019-12-16 19:05:13 +08:00
7b09a11f17 planner,stats: don't re-calculate the index's ranges (#12856) 2019-12-04 17:19:48 +08:00
e979cff6bb planner: add column mapping in explain result (#13640) 2019-11-27 16:39:19 +08:00
5069939d74 stats: specially handle unqiue key when estimate (#13354) 2019-11-11 17:52:30 +08:00
f9be8ebf85 *: make log_level working for gotest (#13258) 2019-11-08 14:44:39 +08:00
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00
7ffa4500e6 planner: support a hint to read from tiflash in planner (#12479) 2019-10-11 16:36:35 +08:00
e2b1f7eff8 expression: change the String() method of expression.Column (#12089) 2019-09-16 14:30:22 +08:00
fe038642e5 *: refactor cost model formulas and constants (#10581) 2019-08-07 17:44:09 +08:00
abbca5375e *: add trace support for subquery (#11182)
Test pass, auto merge by Bot
2019-07-24 19:03:47 +08:00
0d563f1e2d stats: fix unstable test (#10953) 2019-06-27 13:51:16 +08:00
3f4f3d0bd9 stats: improve code coverage (#10606) 2019-06-12 13:34:41 +08:00
e5f734e54c *: move the Handle of stats to single package. (#10149) 2019-04-17 13:42:34 +08:00