|
|
cbe228fe50
|
hint: fix the problem that set var hint is invalid when create binding (#40569)
close pingcap/tidb#40570
|
2023-01-13 18:29:47 +08:00 |
|
|
|
5f1a739491
|
planner: add more test cases for non-prep plan cache (#40060)
|
2022-12-20 19:58:54 +08:00 |
|
|
|
017901d1d6
|
*: extend skyline pruning diagnostic info and add extra warnings (#39894)
ref pingcap/tidb#39893
|
2022-12-20 18:00:55 +08:00 |
|
|
|
9f4dd8039b
|
planner: fix the issue that NonPrep Cache cannot work with Explain well (#40044)
close pingcap/tidb#40039
|
2022-12-20 13:50:54 +08:00 |
|
|
|
aeceb22fa6
|
planner: rename general plan cache to non-prepared plan cache (#39873)
|
2022-12-13 17:16:13 +08:00 |
|
|
|
4d11314bd6
|
plan: refine build plan and skip privilege check for foreign key cascade (#39508)
close pingcap/tidb#39529
|
2022-12-02 11:02:00 +08:00 |
|
|
|
63ce7931b0
|
*: add foreign key check/cascade runtime stats information in explain analyze result (#39203)
close pingcap/tidb#39202
|
2022-11-30 20:00: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 |
|
|
|
8a5ccd87d7
|
planner: support the view hint(part-2) (#39280)
ref pingcap/tidb#37887
|
2022-11-29 19:50:00 +08:00 |
|
|
|
ad4d43219a
|
planner: support record table runtime stats during optimize (#38876)
ref pingcap/tidb#38779
|
2022-11-08 19:31:50 +08:00 |
|
|
|
16911610d2
|
extension: provide more complete info in StmtEventInfo when error (#38963)
close pingcap/tidb#38962
|
2022-11-08 17:55:50 +08:00 |
|
|
|
58822f8859
|
planner: get plan from the general plan cache before optimization (#37634)
|
2022-09-06 16:58:39 +08:00 |
|
|
|
3e39d4514f
|
*: add a config to enable write statements to read on TiFlash (#37516)
close pingcap/tidb#37515
|
2022-09-02 17:54:25 +08:00 |
|
|
|
c372adb7a8
|
planner: refactor PrepareExecutor (#37519)
ref pingcap/tidb#36598
|
2022-09-01 18:10:25 +08:00 |
|
|
|
5dc3e58485
|
planner: introduce the general plan cache (#37150)
ref pingcap/tidb#36598
|
2022-08-16 20:24:51 +08:00 |
|
|
|
38c0d09f06
|
test,planner: only increase optimizeCnt for specified sql in test (#37094)
close pingcap/tidb#37059
|
2022-08-15 16:22:50 +08:00 |
|
|
|
0e00c4b53a
|
planner: move logic of plan cache stmt checking to plan cache backend (#37053)
ref pingcap/tidb#36598
|
2022-08-15 15:14:50 +08:00 |
|
|
|
e234e00fcd
|
planner: skip the optimizer for the execute statement (#36612)
ref pingcap/tidb#36598
|
2022-08-08 13:48:47 +08:00 |
|
|
|
5ef18981cc
|
Revert "planner: refactor the IsolationReadEngines variable for plan cache" (#36873)
|
2022-08-04 10:30:06 +08:00 |
|
|
|
3847d9e56f
|
planner: refactor the IsolationReadEngines variable for plan cache (#36770)
ref pingcap/tidb#36598
|
2022-08-03 19:44:05 +08:00 |
|
|
|
0b1d3e0da3
|
*: cleanup sysvar API usage (#36640)
close pingcap/tidb#36639
|
2022-08-02 07:54:04 +08:00 |
|
|
|
158ba1a1d9
|
*: enable part revive for all code (#36703)
|
2022-08-01 14:02:06 +08:00 |
|
|
|
16f143f875
|
planner: refactor the execute path when using plan cache (#36587)
ref pingcap/tidb#36598
|
2022-07-27 12:31:10 +08:00 |
|
|
|
dced89a231
|
planner/core, planner, sessionctx/variable: remove more skipInit (#35992)
ref pingcap/tidb#35051
|
2022-07-13 11:27:05 +08:00 |
|
|
|
2e1e3f1269
|
*: Introduce OptimisticTxnContextProvider for optimistic txn (#35131)
close pingcap/tidb#35130
|
2022-06-21 00:04:37 +08:00 |
|
|
|
738f681d61
|
*: Introduce PessimisticRRTxnContextProvider for pessimistic repeatable read txn (#35158)
close pingcap/tidb#35129
|
2022-06-13 11:44:34 +08:00 |
|
|
|
22e9f4dc9e
|
txn: Provide PessimisticRCTxnContextProvider for RC isolation (#34702)
close pingcap/tidb#34746
|
2022-06-02 15:36:28 +08:00 |
|
|
|
ee800f4e5e
|
planner: check infoSchema when builing cacheKey (#34957)
close pingcap/tidb#34974
|
2022-05-27 19:42:48 +08:00 |
|
|
|
0703a64f76
|
planner: plan cache always check scheme valid in RC isolation level (#34523)
close pingcap/tidb#34447
|
2022-05-13 10:42:35 +08:00 |
|
|
|
a5d91dc895
|
planner: support straight join order hint (#34339)
ref pingcap/tidb#29932
|
2022-05-11 10:50:34 +08:00 |
|
|
|
9bc9572754
|
planner: add the functional dependency for Datasource, proj, select, agg (#33071)
ref pingcap/tidb#29766
|
2022-03-17 20:02:30 +08:00 |
|
|
|
c11e650527
|
*: make golangci-lint work on Go1.18 (#33081)
close pingcap/tidb#33080
|
2022-03-15 22:43:52 +08:00 |
|
|
|
e87bb52a6a
|
bindinfo: refactor some codes in bindinfo package (#33094)
|
2022-03-15 20:55:23 +08:00 |
|
|
|
00e96229c1
|
planner: add more test cases for auto-capture and support to capture more hints (#33051)
|
2022-03-15 20:01:51 +08:00 |
|
|
|
5170f2f414
|
topsql: add more test case for topsql (#32410)
close pingcap/tidb#32405
|
2022-03-11 17:43:51 +08:00 |
|
|
|
4be9e30b0a
|
bindinfo: rename Using status to Enabled status (#32801)
ref pingcap/tidb#32466
|
2022-03-07 17:21:49 +08:00 |
|
|
|
221801b552
|
planner: fix tidb can point update data even if tidb_super_read_only is on (#32547)
close pingcap/tidb#32539
|
2022-02-23 13:05:42 +08:00 |
|
|
|
1a146fabd7
|
variables: add constraints on tidb_super_read_only when tidb_restricted_read_only is turned on (#31746)
close pingcap/tidb#31745
|
2022-01-20 12:13:45 +08:00 |
|
|
|
0a3bcc689f
|
planner: fix same index read plan but has different plan digest (#31560)
close pingcap/tidb#31438
|
2022-01-13 15:29:42 +08:00 |
|
|
|
a150267c8a
|
optimizer: calculate digest only once for plan cache (#31479)
close pingcap/tidb#31269
|
2022-01-10 11:45:41 +08:00 |
|
|
|
57b2908957
|
planner: improve the bindSQL check for plan cache (#31054)
|
2021-12-28 15:28:20 +08:00 |
|
|
|
529ce88c1c
|
*: add TxnManager to manage txn in session (#30574)
* *: add TxnManager to manage txn in session
* modify
* add tests
* move failpoint content to a single file
|
2021-12-22 13:53:43 +08:00 |
|
|
|
af259faacf
|
planner: support the plan cache aware of bindings (#30169)
|
2021-12-16 10:18:35 +08:00 |
|
|
|
18381f9319
|
planner: fix the issue that binding cannot work when sql_select_limit is enabled (#29789)
|
2021-11-23 17:59:52 +08:00 |
|
|
|
9c683d3f67
|
dml : Support point get / batch point get for cache table (#29703)
|
2021-11-15 15:49:07 +08:00 |
|
|
|
8d9647dee5
|
privileges: fix create temporary tables privilege (#29279)
|
2021-11-01 16:46:51 +08:00 |
|
|
|
db9592d504
|
infoschema : solve prepared statements can't see temporary tables when the SQL involves multiple tables (#29289)
|
2021-11-01 16:02:52 +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 |
|
|
|
cc1f990bac
|
planner: fix update panic when update in prepare and execute (#26759)
|
2021-08-05 23:41:13 +08:00 |
|