Commit Graph

44 Commits

Author SHA1 Message Date
21e48404da planner: support using hint to create hypo-indexes (#54517)
ref pingcap/tidb#43817
2024-07-10 13:46:34 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
ef0a3eb8af planner: support using hint to create hypo-indexes (#54498)
ref pingcap/tidb#43817
2024-07-08 12:55:32 +00:00
6fe4f9e470 variable: add system variable 'tidb_resource_control_strict_mode' (#54033)
ref pingcap/tidb#53440
2024-06-20 04:43:17 +00:00
d0e775dab0 planner: rename session plan cache interface (#54102)
ref pingcap/tidb#54057
2024-06-19 07:34:17 +00:00
01a45732ad planner: fix the issue that bindings with query-level hint can not take effect for replace statements (#54048)
close pingcap/tidb#53834
2024-06-18 05:19:16 +00:00
29fc940ae4 resource_control: introduce privilege RESOURCE_GROUP_USER to restrict the switch of resource group (#53483)
close pingcap/tidb#53440
2024-06-14 07:40:14 +00:00
a74d9a74c6 planner: small refactor for plan cache (#52837)
ref pingcap/tidb#50618
2024-04-23 10:25:40 +00:00
b1baf4d642 planner: move logical interface definition to base pkg (#52732)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-04-23 07:36:10 +00:00
5aa48d8284 planner: move base plan related output of core pkg and make it well-pkged (#52529)
ref pingcap/tidb#51664
2024-04-15 10:51:06 +00:00
68c03cfb65 txn: enable pipelined dml by hint (#51770)
ref pingcap/tidb#50215
2024-03-15 08:59:11 +00:00
834fd160c3 planner: add more metrics for binding (#51739)
ref pingcap/tidb#51347
2024-03-13 17:06:40 +00:00
5b187e5e56 planner: standalone implement for PlanContext (#51237)
close pingcap/tidb#51236
2024-02-22 15:03:28 +00:00
1ee58bf15b planner: replace context in planbuilder to PlanContext (#51172)
ref pingcap/tidb#51070, close pingcap/tidb#51171
2024-02-21 10:49:57 +00:00
8e2e149ac8 planner: fix typos and add more comments (#51192) 2024-02-20 09:13:57 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
dc54d6cd9a planner: move more hint code to the hint package (#50769)
ref pingcap/tidb#48875
2024-01-29 03:16:52 +00:00
9416934ea3 *: split planner errors and remove duplicate definitions (#50695)
ref pingcap/tidb#48875
2024-01-26 09:42:21 +00:00
799a46107e planner: move more hint code to the hint package (#50728)
ref pingcap/tidb#48875
2024-01-25 15:09:21 +00:00
dd85ed718a variable: remove StrictSQLMode in variable.SessionVars (#50624)
close pingcap/tidb#50589
2024-01-23 07:42:26 +00:00
4539d600e5 planner: clean BindRecord in the binding package (#50590)
ref pingcap/tidb#48875
2024-01-19 08:40:48 +00:00
bfa10bdc18 bindinfo: SetSkipPlanCache use nostack errors (#50585)
close pingcap/tidb#49291
2024-01-19 05:34:47 +00:00
a20cdf6f4c planner: clean BindRecord in the binding package (#50466)
ref pingcap/tidb#48875
2024-01-16 10:54:18 +00:00
8a529303ce planner: clean BindRecord in the binding package (#50460)
ref pingcap/tidb#48875
2024-01-16 07:57:16 +00:00
44e200d2a3 planner: clean BindRecord in the binding package (#50441)
ref pingcap/tidb#48875
2024-01-16 03:40:46 +00:00
3a3237ee49 planner: clean BindRecord in the binding package (#50423)
ref pingcap/tidb#48875
2024-01-15 11:34:45 +00:00
5fe79401b8 planner: add more test cases for fuzzy binding (#50106)
ref pingcap/tidb#48875
2024-01-05 06:51:40 +00:00
8645716b91 bindinfo: simplify the GlobalBindingHandle interface (#49951)
ref pingcap/tidb#48875
2024-01-03 09:11:02 +00:00
cc805cfa99 planner: move more binding code to binding package (#49983)
ref pingcap/tidb#48875
2024-01-02 13:30:33 +00:00
bca554aa82 planner: unite the variable name (#49759) 2023-12-26 07:28:58 +00:00
946bcfca14 stmtsummary: add request-units info in statements_summary (#49504)
ref pingcap/tidb#49318
2023-12-25 07:33:26 +00:00
cb7d2b7df7 session: fix wrong test logic of tidb_super_read_only (#49660)
close pingcap/tidb#49659
2023-12-23 14:45:25 +00:00
ebd259c6a7 planner: move more hint code to a separate package (#49697)
ref pingcap/tidb#48875
2023-12-22 06:18:45 +00:00
3a8b5ac2b0 planner: move more hint code to a separate package (#49673)
ref pingcap/tidb#48875
2023-12-21 10:42:50 +00:00
b27587e9b6 session: add resource group name in stmt context (#49422)
close pingcap/tidb#49318
2023-12-21 02:58:54 +00:00
f50e89450e planner: try to match universal bindings when optimization (#49475)
ref pingcap/tidb#48875
2023-12-18 03:07:52 +00:00
6aea95e223 planner: refactor planner module's warning and note generation logic (get rid of unnecessary stack info) (#49390)
close pingcap/tidb#49291
2023-12-14 08:13:50 +00:00
90e272abc3 planner: encapsulate binding operations behind 2 interfaces (#49261)
ref pingcap/tidb#48875
2023-12-08 02:25:23 +00:00
68271e99ee planner: refactor some code of the binding package (#48959)
ref pingcap/tidb#48875
2023-11-28 16:20:49 +00:00
46d4231c8b planner: standardize some terminologies in binding pkg (#48957)
ref pingcap/tidb#48875
2023-11-28 07:44:46 +00:00
15b7cdbd5d planner: standardize some terminologies in binding pkg (#48880)
ref pingcap/tidb#48875
2023-11-24 10:02:52 +00:00
e5568da5e7 executor: better comments (#48311) 2023-11-06 13:56:12 +00:00
cbdf4364fb planner: fixing wrong result after applying predicate push down for CTEs (#47891)
close pingcap/tidb#47881
2023-11-01 11:45:37 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00