|
|
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 |
|
|
|
c372adb7a8
|
planner: refactor PrepareExecutor (#37519)
ref pingcap/tidb#36598
|
2022-09-01 18:10:25 +08:00 |
|
|
|
ef738eaba4
|
planner: introduce the Parameterizer interface for general plan cache (#37170)
ref pingcap/tidb#36598
|
2022-08-18 11:04:53 +08:00 |
|
|
|
5dc3e58485
|
planner: introduce the general plan cache (#37150)
ref pingcap/tidb#36598
|
2022-08-16 20:24:51 +08:00 |
|
|
|
b705a13c7b
|
planner: unify the Compile and CompileExecStmt functions (#37065)
ref pingcap/tidb#36598
|
2022-08-16 18:36:51 +08:00 |
|
|
|
e0c6240396
|
planner: introduce Session.CacheGeneralStmt for general plan cache (#37028)
close pingcap/tidb#36598
|
2022-08-11 12:02:48 +08:00 |
|
|
|
af989fb6c4
|
executor: add privilege check for prepare stmt (#36933)
close pingcap/tidb#35784
|
2022-08-10 21:32:50 +08:00 |
|
|
|
ba8e7cc78e
|
planner: remove keyword prepared in plan cache backend (#37023)
ref pingcap/tidb#36598
|
2022-08-10 17:50:48 +08:00 |
|
|
|
f403e198c4
|
planner: handle PointPlan specially in execute statements (#36987)
close pingcap/tidb#36783
|
2022-08-09 21:36:48 +08:00 |
|
|
|
7d744b18e2
|
planner: remove execID in ExecuteStmt (#36967)
ref pingcap/tidb#36598
|
2022-08-09 14:10:47 +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 |
|
|
|
c8cb3c96c8
|
planner: update plan cache key and value (#36779)
ref pingcap/tidb#36598
|
2022-08-02 15:26:05 +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 |
|
|
|
55aea2787d
|
*: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
|
2022-07-06 13:41:02 +08:00 |
|
|
|
2df6be5282
|
*: Make the code cleaner in session.ExecutePreparedStmt (#35943)
close pingcap/tidb#35925
|
2022-07-06 12:51:02 +08:00 |
|
|
|
157c178f27
|
*: seperate TxnScope and ReplicaReadScope (#35877)
close pingcap/tidb#31772
|
2022-07-05 11:33:02 +08:00 |
|
|
|
5b305c34f8
|
txn: manage the initialization of RCCheckTS by transaction context provider (#35554)
close pingcap/tidb#35497
|
2022-06-29 16:14:39 +08:00 |
|
|
|
2e1e3f1269
|
*: Introduce OptimisticTxnContextProvider for optimistic txn (#35131)
close pingcap/tidb#35130
|
2022-06-21 00:04:37 +08:00 |
|
|
|
ee800f4e5e
|
planner: check infoSchema when builing cacheKey (#34957)
close pingcap/tidb#34974
|
2022-05-27 19:42:48 +08:00 |
|
|
|
6c30303937
|
session: refine non-transactional delete (#34273)
ref pingcap/tidb#33485
|
2022-05-09 13:30:34 +08:00 |
|
|
|
fb342ff861
|
topsql: fix issue of topsql failed catch the running SQL when topsql is enabled in execution (#33861)
close pingcap/tidb#33859
|
2022-04-26 13:16:51 +08:00 |
|
|
|
d23a81488a
|
*: Move stale read context to TxnManager (#33812)
close pingcap/tidb#31954, close pingcap/tidb#33014, close pingcap/tidb#33832
|
2022-04-25 16:52:51 +08:00 |
|
|
|
dbd8f15302
|
*: Add support for execute prepared statement to staleread.Processor (#32941)
|
2022-04-07 14:33:19 +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 |
|
|
|
678397ba62
|
planner: ignore close-stmt to make more queries can hit plan cache (#32928)
|
2022-03-15 14:13:20 +08:00 |
|
|
|
d0e8a53f55
|
planner: update the structure of the plan cache key (#32665)
ref pingcap/tidb#31056
|
2022-03-07 18:01:50 +08:00 |
|
|
|
a150267c8a
|
optimizer: calculate digest only once for plan cache (#31479)
close pingcap/tidb#31269
|
2022-01-10 11:45:41 +08:00 |
|
|
|
3688609096
|
executor: fix prepare 'do 1' statement panic (#31142)
close pingcap/tidb#31141
|
2021-12-30 15:09:50 +08:00 |
|
|
|
e9ab05f90f
|
topsql: move topsql variable to topsql/state for avoid import cycle (#31134)
close pingcap/tidb#31136
|
2021-12-29 19:51:50 +08:00 |
|
|
|
57b2908957
|
planner: improve the bindSQL check for plan cache (#31054)
|
2021-12-28 15:28:20 +08:00 |
|
|
|
404895c04a
|
executor: fix the returned field count of the prepare statement (#30981)
close pingcap/tidb#30971
|
2021-12-23 21:57:47 +08:00 |
|
|
|
0d899cdd9e
|
planner: remove bindSQL from planCacheKey to planCacheValue (#30916)
|
2021-12-23 16:37:47 +08:00 |
|
|
|
713e6994db
|
planner: rename pstmtPlanCacheXX to PlanCacheXX (#30909)
|
2021-12-22 18:59:48 +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 |
|
|
|
50b882004c
|
*: set character_set_client for parser properly (#28925)
|
2021-10-25 20:32:48 +08:00 |
|
|
|
412dd4f763
|
parser: refactor Parse() interface to make it extensible (#28975)
|
2021-10-21 10:56:45 +08:00 |
|
|
|
d192d17ac6
|
planner: fix the issue that plan-cache may return wrong results when the IndexLookup depends on a generated column (#28938)
|
2021-10-19 20:40:43 +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 |
|
|
|
072cf2791e
|
*: fix some audit log error (#26767)
|
2021-08-05 19:39:12 +08:00 |
|
|
|
350cbd1f69
|
session: tiny changes to reduce object allocations (#26244)
|
2021-07-19 17:53:34 +08:00 |
|
|
|
d56be06f4d
|
executor,planner: use an object pool to reuse PlanBuilder (#26216)
|
2021-07-15 21:17:33 +08:00 |
|
|
|
2b192e3149
|
topsql: refine collect information for DDL and internal SQL (#26047)
|
2021-07-15 16:13:36 +08:00 |
|
|
|
9189ec66ac
|
*: stale reads compatible with prepare (#25156)
|
2021-06-11 19:32:35 +08:00 |
|
|
|
0f151af7c5
|
*: add telemetry support for CTE (#25022)
|
2021-06-03 14:46:27 +08:00 |
|
|
|
7811bf9a37
|
*: use pprof profile to collect CPU time group by SQL and plan digest (#24892)
|
2021-06-02 12:51:39 +08:00 |
|
|
|
f3557bb591
|
planner, executor: supports select statement with AS OF (#24613)
|
2021-05-27 21:11:35 +08:00 |
|
|
|
2b3905b44a
|
*: avoid create new parser object in prepared exec (#24883)
|
2021-05-26 11:25:34 +08:00 |
|