Commit Graph

430 Commits

Author SHA1 Message Date
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
f71425b32b session: support leader-and-follower for tidb_replica_read (#14761) 2020-02-14 15:06:58 +08:00
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
97a049a2be *: make Backoff perceive the Killed flag to fix MAX_EXECUTION_TIME (#14552) 2020-02-03 12:31:56 +08:00
74bc00dfa9 Improve the performance of WindowExec by using multi-thread hash grouping (#14238) 2020-01-16 21:04:16 +08:00
d65e23f39e *: support for limiting the number of client connections (#14409) 2020-01-15 18:31:56 +08:00
c48d5635f9 *: replace conf item pprof_sql_cpu with srv var tidb_pprof_sql_cpu (#14385) 2020-01-09 13:23:09 +08:00
870d4b19c8 *: support auto_increment_increment & auto_increment_offset. (#14301) 2020-01-08 10:18:39 +08:00
b398ef4d2e session: print txn_mode in the general log (#12244) 2020-01-06 21:31:39 +08:00
0bab73adf5 *: use new row-format in tidb (#12634) 2020-01-02 22:34:39 +08:00
0d76bdb04a *: fix schema change validation for partitioned table when transaction commit (#14235) 2020-01-01 19:17:09 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
57ecfb9b46 *: implement the diagnostics inspection framework (#14114)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-25 15:58:58 +08:00
1335ffb6b7 *: support read consistency isolation level in the pessimistic transactions (#14087) 2019-12-24 21:24:39 +08:00
e8c198d235 *: implement the INSPECTION_SCHEMA to provide snapshot of inspection tables (#14147)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-24 11:24:14 +08:00
cd07c4550d *: support certificate based authentication (#13955) 2019-12-23 11:37:29 +08:00
933715f4a2 infoschema: add metric database/table to query cluster metric via SQL. (#13757) 2019-12-20 16:13:28 +08:00
fcc5dba8a7 infoschema: add 3 fields to statement summary table (#14096) 2019-12-19 21:42:39 +08:00
c39317e890 executor: support turn on/off slow-log by variables (#14016) 2019-12-18 10:48:46 +08:00
881038ee1b session: support 'GLOBAL SCOPE' for tidb_enable_table_partition (#14062) 2019-12-17 10:10:25 +08:00