Commit Graph

860 Commits

Author SHA1 Message Date
xhe
3c979129fc executor: mutex snapshot with txn (#25468) 2021-06-17 00:26:37 +08:00
49cbbc4655 variable: set max duration of gc interval/lifetime to 365 days (#25396) 2021-06-15 12:36:37 +08:00
46ad95ca2e planner: disable partition table dynamic mode by default (#25339) 2021-06-15 11:06:36 +08:00
a45b3aaa2b variable: small cleanups (#25266) 2021-06-12 01:04:35 +08:00
da23dd7b13 config: add config for tidb_enforce_mpp and remove the global scope of it. (#25369) 2021-06-11 19:14:35 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
f4e608b8ba util: improve TopSQL reporter memory efficiency (#25195) 2021-06-11 13:16:35 +08:00
1f0245a821 planner: Revert tidb_allow_mpp modification for downgrade compatibility and add warnings for enforce mpp. (#25302) 2021-06-11 10:28:35 +08:00
cbb6f4e64c *: add global system variable tmp_table_size (#24827) 2021-06-09 18:48:30 +08:00
8bf35daf1a planner: disable mpp_outer_join_fixed_build_side by default (#25240) 2021-06-09 12:44:28 +08:00
ac06d78691 *: enable column-type-change totally (#25263) 2021-06-09 10:56:29 +08:00
f81ef55795 planner: solve an incompatible issue about dynamic-mode and TiFlash and enable dynamic mode by default (#25255) 2021-06-08 20:08:28 +08:00
75388187f3 ddl: make the column type change switch transparent (#25213) 2021-06-08 17:16:28 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +08:00
acdacf186a util: add top sql collector (#24988) 2021-06-04 22:56:28 +08:00
eaa426cb6a sessionctx: add skip-init for variable tidb_memory_usage_alarm_ratio (#25166) 2021-06-04 18:56:28 +08:00
e7d4c3054b planner: enable the dynamic mode of partition tables by default (#25143) 2021-06-04 15:10:28 +08:00
c59b3bcea6 planner: Mpp outer join build side (#25130) 2021-06-04 12:44:27 +08:00
66e68be296 sessionctx: Fix tidb_gc_scan_lock_mode sysvar doesn't show correct default value on new clusters (#25112) 2021-06-04 00:16:27 +08:00
fce4dde1cd variable, main: make sure default values for sysvars validate (#24807) 2021-06-03 22:20:26 +08:00
d3de5479a0 planner: support push down broadcast cartesian join to TiFlash (#25049) 2021-06-03 17:38:27 +08:00
49cd57174b session, planner: Add a factor getter for networkFactor/scanFactor/descScanFactor/seekFactor (#25046) 2021-06-03 16:50:27 +08:00
83a9a12a14 *: add sys var tidb_enable_global_temporary_table to open global temp table (#25075) 2021-06-03 16:10:45 +08:00
dbb753fd02 executor: create PipelinedWindowExec (#23022) 2021-06-03 15:38:27 +08:00
dffba21956 *: move executor/set.go special handling to setter functions (#25008) 2021-06-03 13:22:26 +08:00
c8c0dd0bb9 executor: supports as of timestamp compatibility (#25019) 2021-06-02 11:29:38 +08:00
d435129d01 executor: make set transaction as of timestamp supports select statement (#24984) 2021-06-01 16:29:38 +08:00
ccaefa2a3d executor: add CTEExec and CTETableReaderExec (#24809) 2021-06-01 11:59:37 +08:00
8dc21198c9 *: fix sysvar inconsistencies/potential bugs (#24964) 2021-06-01 11:49:37 +08:00
702c86b8f9 *: add global/instance variable to config top sql (#24934) 2021-05-31 15:17:36 +08:00
cd10f944b2 variable: Add IsNoop to sysvar struct (#24963) 2021-05-31 14:27:36 +08:00
ad9241f92c executor: hide tx_read_ts from show variables (#24926) 2021-05-31 14:03:36 +08:00
04cb5e9f67 variable: make tx_read_ts mutual exclude with tidb_snapshot (#24931) 2021-05-31 13:17:37 +08:00
7f4f5c0236 *: Change dynamic privileges to non-experimental (#24914) 2021-05-28 23:29:36 +08:00
acf5e52ffc session, executor: fix misleading function name and move staleness test (#24902) 2021-05-26 15:31:35 +08:00
8a066999f1 *: Remove incorrect global sysvar caching (#24699) 2021-05-26 01:37:34 +08:00
11e7ac65f6 session, variable, domain: optimize session sysvar cache (#24873) 2021-05-25 18:01:34 +08:00
6e9d2750ae executor: implement set transaction read only as of transaction (#24766) 2021-05-25 16:39:38 +08:00
2580240dde *: pass sql, plan digest down to KV request (#24854) 2021-05-25 15:47:33 +08:00
98f0d76bc7 *: clean up the deserted syntax of START TRANSACTION READ ONLY (#24813) 2021-05-25 14:25:33 +08:00
02049548a9 variable: Add getters for global/session scope (#24647) 2021-05-25 13:07:34 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
b7c93e8952 variable: remove radix join variable (#24566) 2021-05-24 18:05:34 +08:00
375e438be4 session, variable: invert builtinGlobalVariable from allow to deny list (#24836) 2021-05-24 12:29:33 +08:00
6bfc5f8b44 *: support AS OF TIMESTAMP read-only begin statement (#24740) 2021-05-20 20:54:22 +08:00
1136126991 variable: fix sysvar datarace with deep copy (#24732) 2021-05-19 23:55:42 +08:00
8fb29eb17e kv: move TxnScope into kv (#24715) 2021-05-19 20:01:42 +08:00
0a1c3c0f02 variable: change default for DefDMLBatchSize tidbOptInt64 call (#24697) 2021-05-19 08:41:40 +08:00
e9488ce2ee *: implement tidb_bounded_staleness built-in function (#24328) 2021-05-18 14:15:40 +08:00
0f10bef470 domain, session: Add new sysvarcache to replace global values cache (#24359) 2021-05-17 22:13:39 +08:00