Commit Graph

411 Commits

Author SHA1 Message Date
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
9009da7378 *: lock unchanged rows for pessimistic transaction (#14045) 2019-12-13 12:00:28 +08:00
f6fc7847b1 bindinfo: unify session variables of spm (#14005) 2019-12-12 15:09:28 +08:00
1bcf267655 infoschema: add plan digest to slow log and slow_query (#14000) 2019-12-12 11:49:00 +08:00
5da10ffecc *: refine some error code (#14002) 2019-12-12 11:09:58 +08:00
0fe96bc864 stats: remove the lower bound of auto analyze ratio (#13995) 2019-12-10 16:52:25 +08:00
d439a57566 infoschema, util: add table events_statements_summary_by_digest_history (#13813) 2019-12-09 16:11:49 +08:00
b743208fd7 bindinfo, planner: fix sql bind when sql has symbol list (#13889) 2019-12-07 14:26:08 +08:00
78e3c4d885 extract hot system variables from map (#13810) 2019-12-05 10:32:39 +08:00
5b6422df58 *: support read remote TiDB memory table of cluster (#13065) 2019-12-04 13:05:36 +08:00
1de8569bce executor: show back-off details in slow log (#13770) 2019-12-03 06:42:32 -06:00
5a589c9994 planner: consider disk cost in hashJoin (#13246) 2019-12-03 13:43:19 +08:00
18fbe2d483 infoschema, util: refresh statement summary table periodically (#13680) 2019-11-28 15:39:22 +08:00
596fb64233 planner: support a hint to force using a IndexMerge path (#12843) 2019-11-27 15:44:25 +08:00
518692c14c bindinfo: support evolve plan (#13465) 2019-11-22 17:09:37 +08:00
b7ab604b48 Changed version comment to include "TiDB Server" (#13604) 2019-11-20 10:05:14 +08:00
4283263b13 store : add store limit to restrain bad store from occupying too much token limit. (#12779) 2019-11-13 18:49:24 +08:00
58733475da *: support capture evolve plan tasks (#13199) 2019-11-13 16:22:48 +08:00
2dfaf55410 sysvars: error code package for sysvar.go (#13366) 2019-11-12 13:01:29 +08:00
538077ff75 *: rename Arrow to Chunk (#13060) 2019-11-06 14:51:10 +08:00