Commit Graph

276 Commits

Author SHA1 Message Date
72f52f3f09 planner: update the plan cache strategy when expressions with parameters affect null-check (#40218)
close pingcap/tidb#38205, close pingcap/tidb#40093
2022-12-30 11:00:18 +08:00
b1967563e3 planner: record reasons when skipping Plan Cache (#40210) 2022-12-28 17:46:16 +08:00
7b91e6aab6 planner: enrich diagnosis info for plan-cache (#39457)
close pingcap/tidb#39147
2022-12-02 02:22:02 +08:00
4476173923 planner: update cost model2 (#39438)
ref pingcap/tidb#35240
2022-11-30 00:29:59 +08:00
dd0a479b1a planner, parser: add basic preparations for intersection type IndexMerge (#39396)
ref pingcap/tidb#39335
2022-11-25 19:37:59 +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
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
5cdfea619f *: bring back the 'make ut' (#38806) 2022-11-02 17:18:00 +08:00
64051f99cf planner: avoid double scan for index prefix col is (not) null (#38555)
ref pingcap/tidb#21145
2022-10-24 18:59:56 +08:00
7806b7c151 planner: process over-optimization and skip plan-cache in some cases to avoid disaster plans (#38537)
close pingcap/tidb#38533
2022-10-20 15:51:54 +08:00
bd014d67e0 *: add context for preprocess (#38360)
close pingcap/tidb#38359
2022-10-18 17:27:53 +08:00
5fa9da1bf7 planner: make the meaning of displayed estimated row count consistent with actual row count (#38188)
close pingcap/tidb#38187
2022-10-17 18:45:53 +08:00
a32941cedd expression: let nulleq has strict condition check (#38369)
close pingcap/tidb#38310
2022-10-11 17:31:50 +08:00
1659c3ea48 planner, util/ranger: restrict mem usage for index join inner ranges (#38129)
ref pingcap/tidb#37176
2022-09-30 21:15:45 +08:00
e4cb6a7835 planner: small refactor for index join inner range building (#38100)
ref pingcap/tidb#37176
2022-09-22 19:55:03 +08:00
6d89e07bf2 planner: PhysicalPlan memory trace 5 (#37860)
ref pingcap/tidb#37632
2022-09-22 01:05:02 +08:00
da3dab17db *: restrict index range mem usage (#37754)
ref pingcap/tidb#37176
2022-09-22 00:29:02 +08:00
1eeedacc60 *: remove goleak's ignoring opencensus top function (#37908) 2022-09-19 12:29:00 +08:00
6664ff7ddc util/ranger: reuse convertPoint and validInterval logic (#37831)
ref pingcap/tidb#37176
2022-09-15 19:33:00 +08:00
a5460cf158 util/ranger: use different full range for pk, not-null col and normal col when range fallback happens (#37769)
close pingcap/tidb#37760
2022-09-13 15:44:58 +08:00
57febedb35 *: enable rowserrcheck for nogo (#37761) 2022-09-13 14:28:58 +08:00
001abf4366 *: restrict column range mem usage (#37714)
ref pingcap/tidb#37176
2022-09-09 21:10:56 +08:00
c67ccbaef9 planner: PhysicalPlan memory trace 2 (#37668)
ref pingcap/tidb#37632
2022-09-09 16:42:56 +08:00
2858bc1571 *: refine mock session manager (#37400) 2022-08-26 15:06:21 +08:00
16f015aa25 util/ranger: avoid building ranges twice in detachCNFCondAndBuildRangeForIndex (#37177)
ref pingcap/tidb#37176
2022-08-25 14:00:21 +08:00
7286061bc9 *: enable fieldalignment (#35802) 2022-08-24 15:56:21 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
xhe
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
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
911e7cc360 *: enable revive (#35970)
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00
fa00fc5cd5 *: set fine grain timeout and update bazel config (#36220) 2022-07-15 11:11:05 +08:00
55aea2787d *: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
6b2e37f18c gomod: update dependency for golang1.18 (#33053)
ref pingcap/tidb#32874
2022-03-17 15:10:31 +08:00
caad839aeb planner: fix the wrong range built for bit columns when reusing cached plan (#33090)
close pingcap/tidb#33067
2022-03-15 19:13:52 +08:00
7cf784cf26 statistics: handle contants in Selectivity() (#32761)
ref pingcap/tidb#32758, close pingcap/tidb#32835
2022-03-06 23:41:48 +08:00
fbfe36ca7d expression: support push bit column down to TiKV (#32497)
close pingcap/tidb#30738
2022-03-01 17:21:45 +08:00
991132080f planner: don't decorrelate the APPLY when the inner's projection reference no column (#32370)
close pingcap/tidb#32089
2022-02-23 18:43:43 +08:00
5988d0b2f4 *: update client-go and etcd version (#32457)
close pingcap/tidb#32456
2022-02-22 11:11:43 +08:00
1b04c3b054 planner: fix wrong range calculation for Nulleq function on Enum values (#32440)
close pingcap/tidb#32428
2022-02-21 13:03:41 +08:00
6517f3b315 planner,expression,util: scatter hotspot index in certain scenes by expression index (#30659)
close pingcap/tidb#31040
2022-02-18 16:47:40 +08:00
7c727e10dd util/range: replace in-place create store helper function with testkit (#32181)
close pingcap/tidb#32180
2022-02-09 14:33:35 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
4ae96872ff planner: do not use like to build range when new collation is enabled (#31278)
close pingcap/tidb#31174
2022-01-22 00:09:47 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00