Commit Graph

578 Commits

Author SHA1 Message Date
d435267600 statistics: track used stats status during query (#37101)
ref pingcap/tidb#36481
2022-08-25 12:14:21 +08:00
4cf7eeee64 planner: add warn log for sync stats (#36956) 2022-08-22 15:24:20 +08:00
d0f8487dea *: support specifying range bits for auto_random (#36860)
close pingcap/tidb#32508
2022-08-16 20:54:50 +08:00
5dc3e58485 planner: introduce the general plan cache (#37150)
ref pingcap/tidb#36598
2022-08-16 20:24:51 +08:00
f65948d8d5 planner: modify sysvar TiDBPrepPlanCacheSize scope (#37131)
ref pingcap/tidb#36598
2022-08-16 16:22:51 +08:00
0039dd2fde planner: introduce tidb_general_plan_cache_size for general plan cache (#37087)
ref pingcap/tidb#36598
2022-08-16 12:04:52 +08:00
7d8c45aa4d planner: provide a unified interface to set and get user variables and types (#37046)
ref pingcap/tidb#36598
2022-08-11 19:18:50 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
e0c6240396 planner: introduce Session.CacheGeneralStmt for general plan cache (#37028)
close pingcap/tidb#36598
2022-08-11 12:02:48 +08:00
45f82afa20 executor: revert #36498 to avoid perf regression (#37005)
ref pingcap/tidb#36438
2022-08-10 10:42: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
e071841317 planner: fix redudent planID for partition table in optimizer trace (#36711)
close pingcap/tidb#36759
2022-08-04 15:50:06 +08:00
5ef18981cc Revert "planner: refactor the IsolationReadEngines variable for plan cache" (#36873) 2022-08-04 10:30:06 +08:00
bd3d138049 planner: remove the useless variable tidb_enable_point_get_cache (#36844)
close pingcap/tidb#36598
2022-08-03 20:20:05 +08:00
3847d9e56f planner: refactor the IsolationReadEngines variable for plan cache (#36770)
ref pingcap/tidb#36598
2022-08-03 19:44:05 +08:00
6a6fa8a882 ddl: Add sql_require_primary_key sysvar (#36146)
close pingcap/tidb#28544
2022-08-03 17:20:06 +08:00
0b1d3e0da3 *: cleanup sysvar API usage (#36640)
close pingcap/tidb#36639
2022-08-02 07:54:04 +08:00
8e77ce264c *: introduce @@tidb_max_paging_size system variable for tuning (#36599)
close pingcap/tidb#36328
2022-07-29 15:29:12 +08:00
6b83cdbea2 executor: handle NULL values properly when LOAD DATA INFILE (#36124)
close pingcap/tidb#34358
2022-07-29 13:03:12 +08:00
34628f0f1a *: Spelling, change ture to true (#36520)
closes pingcap/tidb#36519
2022-07-27 14:35:11 +08:00
b0c6c5afa7 *: cleanup default sysvar value usage (#36487)
close pingcap/tidb#36485
2022-07-26 19:51:10 +08:00
c80026e61f executor: also collect unchanged unique keys for lock (#36498)
close pingcap/tidb#36438
2022-07-25 21:43:11 +08:00
f0717dfe07 statistics, sessionctx: introduce topn assisted cardinality estimation for string matching functions (#36210)
close pingcap/tidb#36209
2022-07-20 21:55:09 +08:00
a52656fde4 *: add binary plan in stmt summary and slow log/query (#35698)
close pingcap/tidb#35889
2022-07-20 18:21:09 +08:00
d00b984f4c executor, statistics: analyze use MaxUint64 ts to read data (#35232)
close pingcap/tidb#35233
2022-07-20 16:09:08 +08:00
afd71bdefd executor: support dispatch cop request to closest replica adaptively (#35927)
ref pingcap/tidb#35926
2022-07-19 17:59:07 +08:00
c28bac3d72 planner: support rewrite for skew group distinct aggregate to avoid skew execution (#36181)
close pingcap/tidb#36169
2022-07-18 15:29:07 +08:00
9a2ed52119 server, sessionctx: support token-based authentication (#36152)
close pingcap/tidb#35913
2022-07-14 18:29:06 +08:00
0b427e1fd6 *: add tidb_min_paging_size system variable (#36107)
close pingcap/tidb#36106
2022-07-13 22:27:05 +08:00
bdc6397023 executor: support tidb memory debug mode (#35322)
ref pingcap/tidb#33877
2022-07-13 12:33:06 +08:00
55aea2787d *: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
cdde0398fe sessionctx,kv,planner: add system variable for fine_grained_shuffle (#35256)
close pingcap/tidb#35342
2022-07-06 10:27:02 +08:00
65e0b8e541 client: KV requests with source label (#34833)
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
4fc86936ff sessionctx: support encoding and decoding prepared statements (#35808)
close pingcap/tidb#35689
2022-06-30 11:56:38 +08:00
31c92c67bc sessionctx: support encoding and decoding statement context (#35688)
close pingcap/tidb#35664
2022-06-27 12:20:39 +08:00
e44277d8fe sessionctx: support encoding and decoding session contexts (#35648)
close pingcap/tidb#35573
2022-06-23 12:46:36 +08:00
4fc9551dd1 sessionctx, types, executor: support encoding and decoding user-defined variables (#35343)
close pingcap/tidb#35288
2022-06-15 21:02:34 +08:00
017ac90e67 planner: introduce some new variables for the cost model version2 (#35241)
ref pingcap/tidb#35240
2022-06-09 17:52:30 +08:00
c8fcad4d82 planner: refactor to use the standard function GetXXFactor() to get cost model factors (#35226)
ref pingcap/tidb#33945
2022-06-08 16:10:30 +08:00
233a7335fd sessionctx/variable, ddl: fix sysvar API usage (#35052)
ref pingcap/tidb#35051
2022-06-06 10:34:29 +08:00
22e9f4dc9e txn: Provide PessimisticRCTxnContextProvider for RC isolation (#34702)
close pingcap/tidb#34746
2022-06-02 15:36:28 +08:00
69b573ca7d executor: fix compatibility issue of release savepoint (#35064)
close pingcap/tidb#35063
2022-06-01 15:20:27 +08:00
b598bd2214 *: support savepoint in transaction (#34466)
close pingcap/tidb#6840
2022-05-30 14:38:27 +08:00
6a0239362d planner: use variable to control outer join reorder for fallback (#34825)
ref pingcap/tidb#19940
2022-05-19 23:14:39 +08:00
09b155f7a3 distsql, sessionctx/variable: add max_threads mysql variable for TiFlash (#34299)
close pingcap/tidb#34298
2022-05-17 19:00:38 +08:00
45415f45be session: return an error when a non-transactional DML partially fails (#34488)
ref pingcap/tidb#33485
2022-05-10 15:50:34 +08:00
f6ce33761b *: fix load statement can not handle the upper case user variable (#34423)
close pingcap/tidb#34420
2022-05-07 13:02:31 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
20a58199cf *: move config file option mem-quota-query to sysvar (#34141)
ref pingcap/tidb#33769
2022-04-26 03:58:50 +08:00