Commit Graph

142 Commits

Author SHA1 Message Date
509fe6d54a planner: binding from cluster statements summary (#39737)
ref pingcap/tidb#39199
2022-12-13 18:52:52 +08:00
2ca37cb156 planner: throw error when create not supported binding from history (#39637)
ref pingcap/tidb#39199
2022-12-06 14:52:03 +08:00
62b4e44924 planner: fix create binding for prepare from history can't work (#39577)
ref pingcap/tidb#39199
2022-12-02 12:52:00 +08:00
ff89ef2028 planner: fill plan digest when create binding from existing plan (#39557)
ref #39199
2022-12-02 03:47:40 +08:00
202f72389a planner: support create binding from history (#39436)
ref pingcap/tidb#39199
2022-12-01 19:50:03 +08:00
adcacd8d89 planner: support drop binding by sql digest (#39399)
ref pingcap/tidb#39199
2022-11-30 21:02:01 +08:00
c88fd23f90 planner: add sqlDigest and planDigest field when show bindings (#39156)
ref pingcap/tidb#39199
2022-11-30 00:04:00 +08:00
80c8fea9ec planner: update some UTs from cost model1 to model2 (#39085)
ref pingcap/tidb#35240
2022-11-11 17:07:53 +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
ef95612e84 *: extend the semantic of mem-quota-query to mem-quota-session (#38423)
close pingcap/tidb#38429
2022-11-02 10:45:59 +08:00
150813dd86 preprocessor, planner: inline processing by default for single-consumer cte (#37800) 2022-09-29 00:09:40 +08:00
df8226339f parser, planner: add query block level no_decorrelate hint (#37633)
close pingcap/tidb#37789
2022-09-20 14:57:04 +08:00
70684d39de *: enable mock session manager and schemaLease for all unit tests (#37623) 2022-09-06 14:04:55 +08:00
42b6883057 planner: allow requesting MPP task for simple selection or projection operator (#37422)
close pingcap/tidb#35875
2022-08-30 10:42:23 +08:00
2858bc1571 *: refine mock session manager (#37400) 2022-08-26 15:06:21 +08:00
a89ef1f276 *: support ACCOUNT (UN)LOCK when creating/altering user (#37052)
close pingcap/tidb#35961, close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
244b353a11 planner: support session level for the variable tidb_enable_prepared_plan_cache (#36923)
ref pingcap/tidb#36598
2022-08-08 11:18:47 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
c7cfebb234 planner: add binding and recursive test for Merge hint (#36352)
close pingcap/tidb#17472
2022-07-20 23:43:09 +08:00
b4cd14d713 planner: use SEMI_JOIN_REWRITE hint to rewrite the semi join (#35325)
close pingcap/tidb#35323
2022-07-14 15:49:05 +08:00
1fac141f35 *: close the resource on error to aovid resource leak (#34837)
close pingcap/tidb#34666, ref pingcap/tidb#34849
2022-05-30 18:00:27 +08:00
02de667042 testkit: add MockSessionManager (#34124)
ref pingcap/tidb#31716
2022-04-21 12:14:04 +08:00
fef98f2239 domain,server,session: optimize gc safepoint advancing for internal transaction (#32726)
close pingcap/tidb#32725
2022-04-07 14:14:32 +08:00
e110e73bf7 bindinfo: support disabled status for binding (#32819)
ref pingcap/tidb#32466
2022-03-16 15:45:52 +08:00
4be9e30b0a bindinfo: rename Using status to Enabled status (#32801)
ref pingcap/tidb#32466
2022-03-07 17:21:49 +08:00
acff9c3cff *: Change stmt summary and capture plan baselines to GLOBAL only (#30756) 2022-01-12 13:29:42 +08:00
1e5e86920d test: merge serial tests in bindinfo, expression, parser and statistics (#30749) 2021-12-16 18:40:37 +08:00
b0b559f238 bindinfo: migrate test-infra to testify(staging-4) (#28469) 2021-10-01 11:36:47 +08:00
76267b21ae bindinfo: migrate testSerialSuite to testify (#28385) 2021-09-27 15:16:48 +08:00
87ac177f37 bindinfo: migrate test-infra to testify(staging-3) (#28260) 2021-09-27 08:38:46 +08:00
42e8d29931 *: Remove noop function check for local temporary table (#28282) 2021-09-26 11:30:46 +08:00
ce3370fd65 bindinfo: migrate test-infra to testify(staging-2) (#28070) 2021-09-22 10:38:45 +08:00
b25a392113 bindinfo: migrate test-infra to testify(staging-1) (#27868) 2021-09-15 12:54:41 +08:00
33a6eee76b test: add variable character_set_connection into test session (#27943) 2021-09-14 11:22:42 +08:00
26653ec3e1 planner: enhance the extract table from update/insert/delete stmt in binding sql check (#27519) 2021-08-26 13:00:04 +08:00
79aab25fc2 expression: forbidden bind sql when subquery or union exists (#27347) 2021-08-21 12:12:02 +08:00
5c1081f669 *: support user defined filters for baseline capture (#26294) 2021-08-18 15:44:00 +08:00
4a3c290c0b planner: add test case for sql binding in the local temporary (#27206) 2021-08-17 17:42:00 +08:00
eb418f3b5a bindinfo: fix SPM doesn't work for CTE (#25583) 2021-08-16 20:47:59 +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
d7681ae154 planner/test: fix tests for SPM (#26951) 2021-08-06 15:55:13 +08:00
300f15959d planner: logically delete the bindinfo when create the new binding (#26015) 2021-08-06 11:17:13 +08:00
c08de09173 planner: show binding information in explain format = 'verbose' (#26930) 2021-08-05 19:31:13 +08:00
bfbe67db6d planner: ban baseline evolution feature (#26333) 2021-08-05 09:45:07 +08:00
a0d0b48fd5 planner, bindinfo: support show bindings order by update_time (#26139) 2021-08-05 02:27:20 +08:00
cb7cd9c4c0 planner: directly use sql bind to generate query plan (#26141) 2021-08-04 20:43:07 +08:00
3db4ab60d3 bindinfo: garbage collect deleted bind records (#26206) 2021-08-04 16:59:07 +08:00
ec8351ca9a bindinfo: add status vars for 'last_plan_binding_update_time' (#26340) 2021-08-03 16:47:07 +08:00
df908bf31f planner: add binding info for explain stmt (#26403) 2021-08-02 16:57:06 +08:00
e0dbe7ae8a planner: push TopN down when N is less than a specific variable (#26550) 2021-07-27 16:38:16 +08:00