Commit Graph

514 Commits

Author SHA1 Message Date
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
fe764a97a3 *: only add union scan when dirty table is not empty (#14265) 2019-12-31 13:20:27 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
c1bc9ffe5b *: add memory tracker for InsertExec and ReplaceExec (#14179) 2019-12-30 11:43:01 +08:00
57ecfb9b46 *: implement the diagnostics inspection framework (#14114)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-25 15:58:58 +08:00
8ab14c138f executor: add lockkeys duration in slow log (#14210) 2019-12-24 21:52:09 +08:00
1335ffb6b7 *: support read consistency isolation level in the pessimistic transactions (#14087) 2019-12-24 21:24:39 +08:00
f0d313470f executor: record lockkeys waited flag and duration in stmtctx (#14209) 2019-12-24 20:24:12 +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
ef7adeb50d *: resort fields for reducing the memory allocated (#14172) 2019-12-23 17:10:09 +08:00
fce9870208 ddl,executor: add auto_random column option (#13127) 2019-12-23 14:51:51 +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
352adc5b00 executor: replace the flag CastStrToIntStrict with InSelectStmt (#14115) 2019-12-18 20:45:17 +08:00
c39317e890 executor: support turn on/off slow-log by variables (#14016) 2019-12-18 10:48:46 +08:00
438d39ebcd *: revert #10124 and remove sql mode PadCharToFullLength (#14007) 2019-12-17 15:25:06 +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
01a7d00053 executor: change pessimistic lock wait start for one statement (#13922) 2019-12-06 15:17:49 +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
da414efbbc *: wait for binlog recovering when using HTTP API (#13740) 2019-12-03 17:28:09 +08:00
5a589c9994 planner: consider disk cost in hashJoin (#13246) 2019-12-03 13:43:19 +08:00
8fab2548d0 executor: show operators' disk consumption in results of EXPLAIN ANALYZE (#13764) 2019-12-02 17:04:29 +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
71e19a7308 Allocate continuous row id for single INSERT statement (#13648) 2019-11-22 16:22:08 +08:00
ebe8b0989d *: limit a single test function timeout to 4s (#13573) 2019-11-21 13:44:08 +08:00
ee7d367b43 ddl: add a binlog when dropping column (#13536) 2019-11-20 11:14:13 +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
903cd1f6f9 Add binlog_status for http api and TIDB_SERVERS_INFO table (#13025) 2019-11-06 11:47:09 +08:00
5fd8b4d251 executor: support innodb_lock_wait_timeout for pessimistic transaction (#13103) 2019-11-05 17:26:40 +08:00
000c1ba5db planner, session: add isolation read with engine type (#12997) 2019-11-01 15:47:12 +08:00
6fd74f3e4c planner: support cost model for tiflash table scan (#12868) 2019-10-29 16:05:51 +08:00
44a5ffe8a0 planner: support database name in optimizer hint (#12932) 2019-10-25 19:45:18 +08:00
b8cd65714f *: record and print the plan in slow log. (#12179) 2019-10-17 22:13:19 +08:00