Commit Graph

449 Commits

Author SHA1 Message Date
a8da23c254 test: fix data race caused by update global config (#17964)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-12 13:05:27 +08:00
405a5d009d sessionctx: add optimization-time and wait-TS-time into the slow log (#17869) 2020-06-10 10:41:50 +08:00
0ec197fae0 sessionctx: add some information about the rewriting phase into the slow log (#17569) 2020-06-09 13:49:42 +08:00
2a2c93bc68 ddl, sessionctx: make auto_random aware of auto_increment_increment (#17575) 2020-06-05 14:27:25 +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
d53336bd4a planner: support sql_select_limit session / global variable (#17444) 2020-06-02 18:02:29 +08:00
3adb557c97 ddl, variable: add system variable to control Clustered Index feature (#17561) 2020-06-02 10:48:28 +08:00
55d9d6ca1e sessionctx,infoschema,executor,util: Show disk usage of a query in slow query and statement summary (#17132) 2020-05-26 22:03:40 +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
0d33a84576 session: fix unsecessfully set the isolation read engines (#17258) 2020-05-20 19:54:37 +08:00
838de2ad26 executor: fix wrong behavior of set charset statement (#16984) 2020-05-19 18:09:44 +08:00
ea2e215ff8 *: fix a bug caused by the wrong collation setting which leads to the wrong result of collation function (#17116) 2020-05-15 13:30:49 +08:00
e2001329d7 *: Show edition information when mysql client login (#17170) 2020-05-14 09:49:42 +08:00
5d713a4d08 variables: return error when setting statement summary variables to invalid values (#17108) 2020-05-12 17:01:05 +08:00
cfec13772b sessionctx: record if a query hits plan cache in slow log (#17088) 2020-05-12 15:49:05 +08:00
8ea2ed03e7 session: Move OptimizerUseInvisibleIndexes from SmtmCtx to SessionVars (#17040) 2020-05-09 08:41:05 +08:00
7ebcc20398 executor: support GROUP_CONCAT(ORDER BY) (#16591) 2020-05-06 18:41:22 +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
557d9d38b6 config: remove the config item 'enable-dynamic-config' (#16358) 2020-04-15 17:28:52 +08:00
e90aac2710 executor: add config EnableCollectExecutionInfo (#15493) 2020-04-13 20:45:25 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
db8cf39075 session: disable batch cop request by default (#16236) 2020-04-09 17:40:09 +08:00
af0a49cb7a [store/tikv] support batch coprocessor for TiFlash (#16030) 2020-04-09 13:01:09 +08:00
c81e903804 *: use the revertable sandbox to buffer mutations (#15931) 2020-04-03 14:54:27 +08:00
0fcece7bbc *: show correct result for system variable tidb_capture_plan_baselines (#16013) 2020-04-03 12:18:08 +08:00
4eb9ca3d3f planner: push aggregation functions with distinct to cop (#15500) 2020-04-01 20:49:14 +08:00
94fb1bf18d txn: stop more statement executions if pessimistic transaction ttl manager timed out (#15877) 2020-03-31 11:53:41 +08:00
17530c4059 expression: Support collate for user session variable (#15449) 2020-03-31 11:29:07 +08:00
514b180928 executor: turn off dynamic config by default and add some removed variables back (#15833)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-03-30 16:07:47 +08:00
7223e7f8c9 bindinfo, planner: fix TiFlash compatibility with binding and SQL plan management (#15719) 2020-03-27 15:44:15 +08:00
4a7d477399 session: delete global scope for isolation read (#15625) 2020-03-25 16:18:39 +08:00
6905549bf6 *: support more system variables in statement summary (#15508) 2020-03-25 16:07:10 +08:00
82829e1fa5 *: consolidate some settings related to the collation (#15553) 2020-03-23 17:38:31 +08:00
bbac2b2fe4 executor: Improve the performance of aggFuncSum by using sliding window (#14887) 2020-03-23 13:29:44 +08:00
df6f378267 stmtsummary: add a switch to decide whether capture internal q… (#15461) 2020-03-20 17:39:11 +08:00
af861eeba2 planner: support hint USE_CASCADES(true|false) to use/disuse cascades planner in a single query (#15352) 2020-03-16 19:35:24 +08:00
45d83d1adb infoschema: remove the inspection_schema (#15296)
Signed-off-by: Lonng <heng@lonng.org>
2020-03-12 11:51:18 +08:00
9f0736ee8b errno: move the error code from the parser/mysql to tidb/errno (#15277) 2020-03-11 15:40:21 +08:00
574a014f70 *: deprecate system variables tidb_mem_quota_XXX (#15084) 2020-03-10 15:57:03 +08:00
2d5d2fde27 *: fix the same future wait twice in RC transaction (#15117) 2020-03-06 00:05:54 +08:00
82ca1f3f44 *: support pessimistic lock return values (#15063) 2020-03-03 15:11:17 +08:00
9a882c4b88 sessionctx/variable: fix potential timezone bugs (#14877) 2020-03-03 10:25:40 +08:00
7fa56616f8 executor: refactor the tso future in RC isolation (#14966) 2020-03-02 15:38:10 +08:00
a7bdb82402 *: Reduce memory operations by simply passing size hint to make (#14922) 2020-02-25 15:44:36 +08:00
a528e60e3b *: add auto_random id cache for statement retrying and table recover (#14711) 2020-02-19 18:53:03 +08:00
a22ab8f297 expression: support sequence function (#14731) 2020-02-17 20:11:18 +08:00
5d4eb4c806 config: support to dynamically update some config items read from PD (#14750) 2020-02-17 19:30:27 +08:00