Commit Graph

511 Commits

Author SHA1 Message Date
9c64224c49 *: Reduce data inconsistencies (#31547)
ref pingcap/tidb#26833
2022-02-11 13:51:36 +08:00
203ab22982 *: move the functions that only used in tests (#31929)
ref pingcap/tidb#28720
2022-01-24 22:08:11 +08:00
7fd298d916 *: Remove direct placement in parser (#31768)
close pingcap/tidb#31485
2022-01-19 10:13:45 +08:00
34ce5b5e60 topsql: optimize life cycle of stmtstats (#31727)
ref pingcap/tidb#31704
2022-01-17 21:11:45 +08:00
4fd9f789e5 *: remove useless else (#31715)
ref pingcap/tidb#31716
2022-01-17 17:11:44 +08:00
794e838a1d *: Add tidb_enable_direct_placement to default forbid direct placement (#31623) 2022-01-13 11:07:33 +08:00
d088e3d6fc *: Add variable tidb_placement_mode and remove placement_checks (#31093)
close pingcap/tidb#31092
2022-01-12 13:03:42 +08:00
1d20bbfeb4 *: Annotations to fix gosec warnings of CWE-798 (#31311)
ref pingcap/tidb#31310
2022-01-11 00:21:42 +08:00
fac8bf384f *: Remove variable tidb_enable_alter_placement (#31066)
* *: Remove variable `tidb_enable_alter_placement`
2022-01-06 11:19:39 +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
abb6582910 planner: support 'admin flush plan cache' (#30370) 2021-12-27 14:57:49 +08:00
807ca05230 sessionctx: enable IndexMerge by default (#30650)
close pingcap/tidb#29597
2021-12-27 12:19:49 +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
fe1aaf2fd7 topsql: introduce stmtstats and sql execution count (#30277) 2021-12-21 15:43:47 +08:00
6eb11b300f *: implement renew write lock lease for cached table (#30206) 2021-12-16 12:12:35 +08:00
6229c89616 planner: Disable dynamic partition prune mode for all non-autocommit (#27532) (#30505) 2021-12-08 17:47:58 +08:00
a90344c5a3 planner: regard NULL as point when accessing composite index (#30244) 2021-12-01 10:15:34 +08:00
426a527a93 * : statement summary should know the slow write is blocked on read lock lease (#30166) 2021-12-01 09:47:53 +08:00
37e0dac259 copr: add paging API for streaming-like process (#29612) 2021-11-30 13:13:52 +08:00
8ace8f612e planner: revise optimize trace logic (#30163) 2021-11-29 19:27:52 +08:00
fe5733ce41 planner: support dump file for trace plan statement (#30059) 2021-11-25 16:19:50 +08:00
45836a6afe expression, sessionctx: support rand_seed1 and rand_seed2 sysvar (#29936) 2021-11-24 13:35:50 +08:00
bdfd3f6974 *: refine CharsetAndCollation (#29561) 2021-11-12 17:41:05 +08:00
4aec743624 *: add IsExplicitTxn in slow log (#29413) 2021-11-04 14:09:02 +08:00
8368eeed24 *: remove useless parameter (#29392) 2021-11-04 12:39:02 +08:00
a96deabe7e sessionctx: remove variables tidb_enable_mpp_balance_with_continuous_region* (#29309) 2021-11-02 13:08:51 +08:00
ce8e734ea2 variable: rename tmp_table_size to tidb_tmp_table_max_size (#29123) 2021-10-28 17:24:50 +08:00
04e661095c planner, statistics, sessionctx: add variable to enable/disable the outdated statistics to pseudo logic (#28554) 2021-10-28 11:28:48 +08:00
63d5b02496 DDL: Support skip placement validation (#29016) 2021-10-27 13:10:49 +08:00
50b882004c *: set character_set_client for parser properly (#28925) 2021-10-25 20:32:48 +08:00
676683383b *: add support for removed sysvars (#28931) 2021-10-22 11:32:46 +08:00
412dd4f763 parser: refactor Parse() interface to make it extensible (#28975) 2021-10-21 10:56:45 +08:00
861bc15216 copr: MPP balance regions between TiFlash nodes with continuity. (#28906) 2021-10-20 12:18:42 +08:00
d5bd9f030b *: record result_rows in statements_summary and slow log (#28479) 2021-10-12 16:51:25 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
17d2ae36d1 *: make sysvar tidb_enable_noop_funcs support a WARN mode (#28443) 2021-09-30 11:02:48 +08:00
e5bf177cd9 *: Use snapshot interceptor to handle temporary table's insert/update/delete (#28218) 2021-09-23 10:00:46 +08:00
9a7f572d0a sessionctx: fix data-race bug when alloc task id (#28022) 2021-09-22 13:00:45 +08:00
2866e1dfd4 sessionctx: support session variable tidb_read_staleness (#27858) 2021-09-16 15:20:43 +08:00
79f0b495e5 session, variable: move gc special sysvars to getters/setters (#24896) 2021-08-18 21:30:00 +08:00
462c9dc5ca *: Add temp_table_size support for local temporary table (#27205) 2021-08-16 22:19:59 +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
73bb7dd2c6 *: Annotations and fixes related to gosec (#26907) 2021-08-09 22:27:15 +08:00
6a78ca0f08 *: reduce ResetContextOfStmt() object allocation (#26241) 2021-08-09 12:29:14 +08:00
bd7e3aec0a parser: disable text position recording (#27009) 2021-08-09 11:39:14 +08:00
47514c22f6 store/copr: use a ttl duration to protect a new recovered tiflash node from processing mpp tasks. (#26793) 2021-08-04 16:33:07 +08:00
4d5773c298 planner: fix the issue that UnionScan returns wrong results in dynamic mode (#26876) 2021-08-04 14:47:07 +08:00
6a1e5215df executor: Add insert/replace ignore/on duplicate key support for local temporary table (#26636) 2021-08-04 14:19:07 +08:00
e548c42ccb planner: support Hash exchange operator when new collation is enabled. (#26789) 2021-08-04 10:39:06 +08:00