21bf3b6202
ddl: add a switch for multi schema change & make it compatible with old test cases ( #21533 )
2020-12-10 16:26:00 +08:00
b269ef89d9
sessionctx: add variable tidb_analyze_version ( #21515 )
2020-12-08 16:04:48 +08:00
0e2f18d8f9
store, config, session: Use system variables to enable async commit and 1PC ( #21365 )
...
* add a system variable for enabling async commit
Signed-off-by: ekexium <ekexium@gmail.com >
* remove async commit enable config item
Signed-off-by: ekexium <ekexium@gmail.com >
* add a system variable for enabling 1PC
Signed-off-by: ekexium <ekexium@gmail.com >
* try to fix test
Signed-off-by: ekexium <ekexium@gmail.com >
* remove 1pc item in config
Signed-off-by: ekexium <ekexium@gmail.com >
* try to fix test
Signed-off-by: ekexium <ekexium@gmail.com >
* correct the condition to enable 1pc
Signed-off-by: ekexium <ekexium@gmail.com >
* do not enable 1pc/async commit on bootstrap if store is not tikv
Signed-off-by: ekexium <ekexium@gmail.com >
* refactor checkAsyncCommit
Signed-off-by: ekexium <ekexium@gmail.com >
* fix test: enable async commit or 1PC by setting txn options
Signed-off-by: ekexium <ekexium@gmail.com >
* add a system variable for external consistency
Signed-off-by: ekexium <ekexium@gmail.com >
* remove external consistency config item
Signed-off-by: ekexium <ekexium@gmail.com >
* refactor: checkXXX does not need parameters
Signed-off-by: ekexium <ekexium@gmail.com >
* refactor: add a helper function to pessimistic_test
Signed-off-by: ekexium <ekexium@gmail.com >
* change allowed scope to global or session
Signed-off-by: ekexium <ekexium@gmail.com >
* fix external consistency test
Signed-off-by: ekexium <ekexium@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-12-02 11:49:57 +08:00
cc0e1d46e6
planner/core, session, sessionctx/variable: add session variable to control the concurrency of shuffle merge join ( #21332 )
2020-11-27 14:09:04 +08:00
e01f5e41c2
store, session: Introduce system variable to control ratelimit action ( #21259 )
2020-11-25 20:27:38 +08:00
2c66371d8b
planner, sessionctx : Add 'last_plan_from_binding' to help know whether sql's plan is matched with the hints in the binding ( #18017 )
2020-11-20 20:43:23 +08:00
2b363fb80d
*: support to modify config server-memory-quota-ratio dynamically ( #20927 )
2020-11-19 13:40:31 +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
7c88ca7974
ddl, session: set charset and coordinate collation ( #21034 )
2020-11-16 19:03:26 +08:00
83ceede82d
session, variables: Stream agg concurrency variable ( #20960 )
2020-11-16 10:30:24 +08:00
160cb9b814
*: fix set tidb_general_log not work ( #20993 )
...
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com >
2020-11-12 13:54:23 +08:00
269494e3de
*: Move sysvar validation to struct (3 of 3) ( #20521 )
2020-11-12 13:22:42 +08:00
8eaccd41a9
variable: add txn_scope sys var ( #20721 )
2020-11-12 11:09:54 +08:00
b2e6df07c8
session: Support Variable-Setting Hint SET_VAR ( #20232 )
2020-10-28 14:27:13 +08:00
6c278101a4
planner: support variable to prefer index scan ( #18996 )
2020-10-26 23:12:42 +08:00
0d613a2dfa
[executor, store/tikv]: implement a prototype for MPP framework. ( #19954 )
2020-10-26 14:46:47 +08:00
2f067c0542
*: redact arguments for Error ( #20436 )
2020-10-21 14:44:08 +08:00
106b04ddab
*: Fix sysvars to native type in @@ context ( #20394 )
2020-10-19 14:13:43 +08:00
cd16de894b
*: introduce LRUCache with limited memory for statistics ( #18788 )
2020-10-15 17:36:21 +08:00
dcefa58035
*: use global stats & make ddl/feedback/show/export works(part III) ( #20271 )
2020-10-14 16:11:33 +08:00
cacc3db782
variable: Bool,int,unsigned sysvar validation ( #20346 )
2020-10-09 20:16:10 +08:00
fa81ec51b4
*: refactor sysvars to allow component registration ( #20289 )
2020-09-29 14:04:24 +08:00
70a567e4cb
session: refine error message desensitization ( #19409 )
2020-09-15 16:00:01 +08:00
3c04ec45b9
sessionctx, executor: tidb_dml_batch_size global ( #19816 )
2020-09-15 13:46:08 +08:00
2a3a5ab076
*: disable new partition prune in master distribution ( #19911 )
2020-09-14 16:26:54 +08:00
64c2cc5cbc
sessionctx,store,kv: add a session variable to export last txn info ( #19949 )
...
Signed-off-by: zyguan <zhongyangguan@gmail.com >
2020-09-14 13:04:05 +08:00
a428d472e9
*: remove the unused terminology ( #19727 )
...
* *: remove the unused terminology
* rename back
* delete more
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-04 17:12:01 +08:00
945f7cc4a0
ddl, tables: support the column type change between the integer types ( #19059 )
2020-08-26 21:30:14 +08:00
6b3964c75d
add system variable to control amend on or off ( #19321 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-20 20:20:51 +08:00
a50fbab55d
sessionctx: Make it possible to set allow_auto_random_explicit_insert as global ( #18896 )
2020-07-31 16:23:14 +08:00
f6ef1c371f
executor: implement parallel apply ( #18044 )
2020-07-27 17:49:28 +08:00
29178dfa8d
planner, executor: support broadcast join for tiflash engine. ( #17232 )
...
* support batch cop for tiflash
* support batch cop
* support join push down to tiflash
* refine
* change pb
* push join
* fix
* add hint
* refine hint
* add ranges
* fix
* fix
* fix push down
* fix index
* enable distsql for join
* add a session var to disable/enable broadcast join
* fix bug
* fix bug
* tiny fix
* enable cast decimal pushdown to tiflash
* fix
* fix bc join bug
* make broadcast plan stable
* refine code
* fix bug
* basic support for multi table broadcast join
* fix bug
* basic cbo for broadcast join
* improve
* fix bug
* remote useless code
* add tests
* pass unit tests
* refine code
* support execute summary info for broadcast join
* fix bug in explain for broadcast join
* format code
* remove un-needed code
* fix make dev
* address comments
* Hanfei/join merge (#7 )
* enable exec details for batch cop
* format code
* fix test
* change tidb_opt_broadcast_join to global vars
* Ban cartesian join to be pushed down to TiFlash (#8 )
* merge master (#10 )
* merge master
* fix bug
* fix bug
* fix ut
* check session var conflict
* Add perfer local hint for broadcast join (#12 )
* update
* remove useless code
* remove useless code
* update parser
* add test for prefer local join
* use bcj_local
* update go.mod
* refine planner
* refine comments
* fix make dev
* fix make dev
* update parser
* address comments
* fix make dev
* disable broadcast join when new collation is enabled
* Update planner/core/exhaust_physical_plans.go
Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com >
* address comments
* fix
* address comments
* fix tests
* address comments
Co-authored-by: xufei <xufeixw@mail.ustc.edu.cn >
Co-authored-by: xufei <xufei@pingcap.com >
Co-authored-by: 虎 <ichneumon.hu@foxmail.com >
Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com >
2020-07-27 12:41:36 +08:00
297acf7e82
log: add tidb_log_desensitization global variable to control whether do desensitization when log query ( #18578 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-07-15 15:44:56 +08:00
8a6554a21f
telemetry: disable telemetry by default for non-community edition ( #18524 )
...
Signed-off-by: Zheng Xiangsheng <hundundm@gmail.com >
2020-07-15 11:37:36 +08:00
5574e1a3ff
config: enable collect execution information by default ( #18415 )
2020-07-13 20:35:37 +08:00
4eb9d83eae
*: allow different shard_row_id prefixes in one transaction ( #18181 )
...
* *: allow different shard_row_id prefixes in one transaction
* Apply suggestions from code review
Co-authored-by: tangenta <tangenta@126.com >
* Update sessionctx/variable/session.go
Co-authored-by: tangenta <tangenta@126.com >
* add comments
* add unit test
* add var validation
* update builtinGlobalVariable
Co-authored-by: tangenta <tangenta@126.com >
2020-06-29 14:38:06 +08:00
773b29102d
charset: add missing ascii check( #18193 )
2020-06-27 15:34:26 +08:00
3b63270909
telemetry: Add telemetry initial implementation ( #18180 )
...
Signed-off-by: Breezewish <me@breeswish.org >
Co-authored-by: crazycs <crazycs520@gmail.com >
Co-authored-by: Lynn <zimu_xia@126.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-06-24 14:41:46 +08:00
c98514e751
executor: unify executor concurrency ( #16999 )
2020-06-22 17:39:32 +08:00
35e2d3a081
*: add global variable tidb_slow_log_masking to control masking slow log query ( #17637 )
2020-06-05 09:15:41 +08:00
3adb557c97
ddl, variable: add system variable to control Clustered Index feature ( #17561 )
2020-06-02 10:48:28 +08:00
a3d5082094
sessionctx, executor: add session var to control explicit insertion on auto_random column ( #17102 )
2020-05-26 20:32:10 +08:00
838de2ad26
executor: fix wrong behavior of set charset statement ( #16984 )
2020-05-19 18:09:44 +08:00
e2001329d7
*: Show edition information when mysql client login ( #17170 )
2020-05-14 09:49:42 +08:00
9bda71df3b
infoschema, session: forbid statement summary related global v… ( #16652 )
2020-04-23 12:35:25 +08:00
c28a69583e
support set value of tidb_opt_distinct_agg_push_down in config… ( #16590 )
2020-04-22 23:32:16 +08:00
f033927481
sessionctx/variable,ddl: change @@tidb_enable_table_partition default value and update the semantic ( #16497 )
...
Before:
auto means enable for implemented feature and disable for others
on means always enable, no matter the feature is implemented or not
After:
auto and on both means enable for implemented feature and disable for others
2020-04-20 16:46:25 +08:00
ff7413fedb
planner, sessionctx : Add 'last_plan_from_cache' to help know whether sql's plan is from plan cache ( #16321 )
2020-04-17 17:15:21 +08:00
e90aac2710
executor: add config EnableCollectExecutionInfo ( #15493 )
2020-04-13 20:45:25 +08:00
af0a49cb7a
[store/tikv] support batch coprocessor for TiFlash ( #16030 )
2020-04-09 13:01:09 +08:00