Commit Graph

584 Commits

Author SHA1 Message Date
e21b435d0c *: fix index join on partition table data race (#33979)
ref pingcap/tidb#32846, close pingcap/tidb#33751, ref pingcap/tidb#33762
2022-04-19 09:48:02 +08:00
4d3a3c259a server: use max_allowed_packet to limit the packet size. (#33651)
close pingcap/tidb#31422
2022-04-18 11:24:03 +08:00
645ae1ce19 *: implement non-transactional delete (#33736)
ref pingcap/tidb#33485
2022-04-15 20:06:36 +08:00
c56c036d2a *: refactor placement bundle in infoschema (#33967)
close pingcap/tidb#33968
2022-04-15 11:04:35 +08:00
9c836a5ddf session, statistics, util: fix data race of Handle.mu.ctx (#33732)
ref pingcap/tidb#32822, close pingcap/tidb#32867, ref pingcap/tidb#33001
2022-04-13 15:36:36 +08:00
0ae7cfb81d session: fix potential deadlock in execStmtResult (#33848)
close pingcap/tidb#33847
2022-04-12 17:20:35 +08:00
181bfb73f7 *: polish the table cache feature code (#33408)
close pingcap/tidb#33167
2022-04-08 21:46:33 +08:00
38cb0e345d *: fix wrong modification for introduced from #33818 (#33831)
close pingcap/tidb#33814
2022-04-08 17:50:33 +08:00
f04dfc4c6d *: forbid using cache when stale read in binary proto (#33818)
close pingcap/tidb#33814
2022-04-08 16:04:32 +08:00
dbd8f15302 *: Add support for execute prepared statement to staleread.Processor (#32941) 2022-04-07 14:33:19 +08:00
fef98f2239 domain,server,session: optimize gc safepoint advancing for internal transaction (#32726)
close pingcap/tidb#32725
2022-04-07 14:14:32 +08:00
060413bc13 server: refine plan replayer dump file (#33497)
ref pingcap/tidb#26335
2022-03-28 16:56:28 +08:00
bd008d240b session: forbid plan cache in stale read (#33273)
close pingcap/tidb#31550
2022-03-22 10:42:32 +08:00
cd9c04a086 domain, session: clean up in BootstrapSession (#33234)
close pingcap/tidb#33235
2022-03-21 11:22:32 +08:00
eb4cfcec78 telemetry, session: add telemetry collector for placement policies (#33165)
close pingcap/tidb#33188
2022-03-17 14:30:31 +08:00
d4d43ba0b4 txn: support read consistency read with ts checking (#32922)
close pingcap/tidb#33159
2022-03-16 20:49:52 +08:00
d981c0e06a sysvar: add INSTANCE scope for system variable (#32888)
ref pingcap/tidb#32887
2022-03-16 11:15:52 +08:00
2ae71323cf sessionctx: make builtinFunctionUsage thread safe (#33032)
close pingcap/tidb#33027
2022-03-16 10:27:52 +08:00
ecffe84a73 table/tables: fix a corner case of renew lease operation on cached table (#32643)
close pingcap/tidb#32642
2022-03-15 18:05:53 +08:00
678397ba62 planner: ignore close-stmt to make more queries can hit plan cache (#32928) 2022-03-15 14:13:20 +08:00
22f4c33d40 *: better handle sysvar upgrades from older versions (#31583)
close pingcap/tidb#31538
2022-03-10 23:59:51 +08:00
a1d8f2f3ac *: remove ddl dependency (#32910)
ref pingcap/tidb#31716
2022-03-09 08:15:48 +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
62e20780e8 *: kill auto analyze (#31724)
close pingcap/tidb#32808
2022-03-07 13:49:48 +08:00
584ae75df5 *: use session time_zone for is.tables and show table status (#32449)
ref pingcap/tidb#26642
2022-03-01 06:09:45 +08:00
cce1ebdebb util: avoid column allocator reuse the column hold huge memory (#32554)
close pingcap/tidb#31981
2022-02-23 18:55:42 +08:00
eabd78cae2 *: add an option to enable pessimistic mode for auto-commit transactions (#32056)
close pingcap/tidb#31135
2022-02-15 19:33:38 +08:00
9c64224c49 *: Reduce data inconsistencies (#31547)
ref pingcap/tidb#26833
2022-02-11 13:51:36 +08:00
30cd559fa9 *: refactor sqlexec to support using current session (#32229)
close pingcap/tidb#32233
2022-02-10 18:09:36 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
2e1cff73f3 *: add ExecRestrictedSQL() func for RestrictedSQLExecutor interface (#31618)
ref pingcap/tidb#30918
2022-01-24 21:30:11 +08:00
acc3ae6229 *: don't use chunk rpc protocol for internal session (#31723)
close pingcap/tidb#30880
2022-01-18 10:49:44 +08:00
34ce5b5e60 topsql: optimize life cycle of stmtstats (#31727)
ref pingcap/tidb#31704
2022-01-17 21:11:45 +08:00
5cd37f0008 session: fix data race in ParseWithParamsInternal (#31058)
close pingcap/tidb#30918
2022-01-06 21:02:37 +08:00
cfbe70846a config: remove new charset config (#31291)
close pingcap/tidb#31236
2022-01-06 13:26:37 +08:00
5317164135 executor, session: update stats delta for LOAD DATA command (#31146)
close pingcap/tidb#31118
2022-01-05 16:56:36 +08:00
1127977277 *: add global variable @@tidb_cache_table_lease for cached table (#31018)
close pingcap/tidb#29485
2022-01-01 16:13:51 +08:00
48fce5e15c *: sync wait stats loading for stable plan (#30026) 2021-12-31 10:35:50 +08:00
0ab0dad9da *: allow TiDB to use TiKV's RC for high performance read (#30943)
close pingcap/tidb#30942
2021-12-30 16:57: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
fb03dacbca *: periodically dump column stats usage into disk (#31072) 2021-12-28 21:27:51 +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
1f6d2ddfb9 *: Use TxnManager.GetTxnInfoSchema() to get the txn infoschema (#30934)
close pingcap/tidb#30933
2021-12-22 17:39:47 +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
2b7ce8e61f executor: fix the incorrect untouch used in optimistic transactions (#30447)
close pingcap/tidb#30410
2021-12-21 16:57:46 +08:00
fe1aaf2fd7 topsql: introduce stmtstats and sql execution count (#30277) 2021-12-21 15:43:47 +08:00
23c71f1a3b execute: don't transform charset in internal sql (#30843)
close pingcap/tidb#30789
2021-12-20 17:15:46 +08:00
43caa02f70 config, charset: make charset config not affected by collation config (#30572) 2021-12-16 15:32:35 +08:00
6eb11b300f *: implement renew write lock lease for cached table (#30206) 2021-12-16 12:12:35 +08:00