|
|
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 |
|
|
|
bfdad7c752
|
*: milisecond test and infoschema fix (#24820)
|
2021-05-24 18:27:34 +08:00 |
|
|
|
5e9e0e6e37
|
*: consitent get infoschema (#24230)
|
2021-05-10 21:00:36 +08:00 |
|
|
|
a90e4f2b29
|
telemetry: fix prepare stmt and copr cache (#23526)
|
2021-03-25 16:15:15 +08:00 |
|
|
|
92b1b8e0e9
|
planner: check schema stale for plan cache when forUpdateRead (#22381)
|
2021-03-19 17:25:36 +08:00 |
|
|
|
4172f473da
|
*: adapt new api for the executor package (#22644)
Signed-off-by: xhe <xw897002528@gmail.com>
|
2021-02-04 17:32:15 +08:00 |
|
|
|
17b88defa4
|
executor: fix invalid txn when using prepare under @@tidb_snapshot (#22697)
Signed-off-by: lysu <sulifx@gmail.com>
|
2021-02-03 18:14:58 +08:00 |
|
|
|
61e068a4d6
|
executor: throw error when prepared statement is execute, deallocate or prepare (#21962)
|
2020-12-23 17:55:59 +08:00 |
|
|
|
72d4504f45
|
planner: fix explain-hint panic for joins generated by subquery (#20675)
|
2020-12-03 15:18:37 +08:00 |
|
|
|
6910eae2a1
|
executor: load data statement shoule not be prepared (#21188)
|
2020-11-23 13:49:56 +08:00 |
|
|
|
e136429d8d
|
*: refactor parser initialize method and add tidb_enable_strict_double_type_check variable (#20967)
|
2020-11-16 19:58:27 +08:00 |
|
|
|
2a3a5ab076
|
*: disable new partition prune in master distribution (#19911)
|
2020-09-14 16:26:54 +08:00 |
|
|
|
48388a7b48
|
planner,executor: enable plan cache for partition table (#19124)
* planner,executor: enable plan cache for partition table
* address comment
* tiny clean up
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: lysu <sulifx@gmail.com>
|
2020-09-08 19:40:39 +08:00 |
|
|
|
a2e2ce6339
|
*: use int instead of fmt.Stringer as executor id (#19207)
|
2020-08-19 13:39:31 +08:00 |
|
|
|
b193db8b49
|
planner: ban tiflash engine when the statement is not read only (#18458)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-14 11:43:48 +08:00 |
|
|
|
c2c02cde4b
|
*: support record kv/pd time for a SQL statement (#17591)
|
2020-06-18 21:17:48 +08:00 |
|
|
|
2c55650617
|
*: make QPS more realistic (#17560)
|
2020-06-04 20:00:43 +08:00 |
|
|
|
79211fe63d
|
plan: make query on partition table not cacheable (#16375)
|
2020-04-22 21:58:20 +08:00 |
|
|
|
2619f02ddd
|
*: move hint and block hint processor to util directory (#15897)
|
2020-03-31 16:37:45 +08:00 |
|
|
|
8417036804
|
executor: Add "ignore_plan_cache" hint (#15588)
|
2020-03-30 11:04:43 +08:00 |
|
|
|
4e6151ee00
|
stmtsummary: cache digest in CachedPlanExec (#15464)
|
2020-03-21 17:48:01 +08:00 |
|
|
|
0b3597f73a
|
stmtsummary: cache digest for prepared stmt and cached plan (#15448)
|
2020-03-18 14:40:54 +08:00 |
|
|
|
0730eeca03
|
*: fix snapshot problem in show table status (#13797)
|
2019-12-05 13:26:26 +08:00 |
|
|
|
17ffc8031b
|
executor: do not set priority when tidb_force_priority is set (#13633)
|
2019-11-22 10:51:38 +08:00 |
|
|
|
36f0f37b40
|
expression, planner: remove some fields from `expression.Colum… (#12573)
|
2019-10-29 15:48:26 +08:00 |
|
|
|
41ac571d7b
|
*: remove the LightningMode from TiDB (#12466)
|
2019-09-29 15:12:01 +08:00 |
|
|
|
06629d6ac4
|
*: check privilege when reusing the cached plan (#12211)
|
2019-09-23 20:36:45 +08:00 |
|
|
|
15011b6c49
|
executor: new execution path for point execution within prepared plan cache (#11970)
|
2019-09-17 14:14:45 +08:00 |
|