Commit Graph

312 Commits

Author SHA1 Message Date
7cf35f1ae6 *: preload load frequent use variable (#10463) 2019-05-29 15:40:40 +08:00
96c6ea1ca9 *: support 'tidb_txn_mode' session variable. (#10574) 2019-05-24 00:50:04 +08:00
abd013c82f Add tidb_low_resolution_tso session scope variable on master (#10428) 2019-05-22 21:42:57 +08:00
31773287be *: remove useless defer and setReadTimeout (#10441) 2019-05-14 16:35:40 +08:00
aafca88eda executor,sessionctx: add correctness checking for more system variables (#10396) 2019-05-12 19:29:25 +08:00
373748adf7 *: support pessimistic transaction (experimental feature) (#10297) 2019-05-11 09:48:45 +08:00
5617809e92 infoschema/slow_query: fix token too long (#10328) 2019-05-09 23:38:37 +08:00
d8589df2f3 *: add a variable to control the back off time and disable txn auto retry by default (#10266) 2019-05-08 10:23:49 +08:00
36bb1ae89a log: change slow log time format to compatible with pt-query-digest (#10290) 2019-04-30 09:35:52 +08:00
9630d57c80 planner/core: make join reorder by dp work (#8816) 2019-04-28 13:08:46 +08:00
732f4307b8 ddl: add table option pre_split_regions for pre-split region when create table with shard_row_id_bits. (#10138) 2019-04-24 21:56:24 +08:00
f9c82b531c plan: improve row count estimation using column order correlation (#9839) 2019-04-24 16:19:21 +08:00
66ba872857 session: Adjust cop-tasks' information in slow log to let it can be parsed by pt-query correctly (#10230) 2019-04-22 22:52:54 +08:00
f834e5d56f executor: show memory consumption in slow query log (#10162) 2019-04-18 15:16:44 +08:00
2a6c8d610a executor: show more information about cop tasks in slow log (#10165) 2019-04-18 13:39:57 +08:00
7666f688b3 *: add stats version in slow_query and slow log. (#10082) 2019-04-15 18:04:48 +08:00
b3761395bc variable: validate setting read_only variable (#10072) 2019-04-12 17:33:31 +08:00
7447f04409 executor: trace and control memory usage in DistSQL layer (#10003) 2019-04-12 16:43:55 +08:00
28e62940da add skip isolation level check variable (#10065) 2019-04-11 16:27:36 +08:00
e9653675dd *: remove errors.Trace in main handle path (#10033) 2019-04-04 14:27:15 +08:00
2e5f7a4d96 sessionctx: support fast analyze session control variable. (#10039) 2019-04-04 13:59:56 +08:00
ffc97a7d04 sessionctx: add time zone check (#9822) 2019-03-30 12:47:45 +08:00
c451f00814 *: fix utf8 charset upgrade compatibility (#9820) 2019-03-25 18:06:32 +08:00
0313cbbbde plugin: add audit plugin extension point (#9136) 2019-03-25 15:18:34 +08:00
d5f0d2bfdd binlog: revert commit for variable tidb_log_bin && add send binlog strategy config (#9864) 2019-03-24 18:26:15 +08:00
5ed3553bfb *: check more errors in test. (#9859) 2019-03-24 16:16:46 +08:00
778c3f4a5a privilege, executor: add SET ROLE and CURRENT_ROLE support (#9581) 2019-03-21 13:11:27 +08:00
deeba355bc infoschema: replace logger with zap logger and refine slow log (#9740) 2019-03-19 20:28:57 +08:00
e3983227b4 log: generate digest and log it in slow log (#9662) 2019-03-14 13:45:32 +08:00
c0d4632fcb sessionctx: change "server_uuid" fake value (#9434) 2019-03-13 12:46:44 +08:00
0dada1ec37 binlog: update binlog enable config && add tidb_log_bin system variable (#9625) 2019-03-11 22:18:46 +08:00
80110fbf78 *: refactor slow log format and parse slow query log to SLOW_QUERY table. (#9290) 2019-03-11 14:42:29 +08:00
d35d3a5820 variable: change "ddl_slow_threshold" (#9043) 2019-03-07 16:36:11 +08:00
ae91405e61 sessionctx/variable: fix panic when set variable='' (#9533) 2019-03-04 12:28:05 +08:00
4449eb062a ddl: add ddl job error count limit, exceed the limit should cancel the ddl job (#9295) 2019-02-27 15:03:04 +08:00
e6f4f6c7f9 server, sessionctx: workaround var initialization (#9383) 2019-02-21 16:19:30 +08:00
8f3c74c1c5 *: support variable log_bin (#9343) 2019-02-20 16:28:15 +08:00
e499da9bb4 sessionctx: show correct TiDB port instead of 3306 (#9365) 2019-02-20 15:28:26 +08:00
a8664ef00b table: add a http api to control whether tidb check inserting 4 bytes in utf8 charset column (#9024) 2019-02-18 16:57:03 +08:00
4b98ad6f29 *: integrate plugin framework with TiDB (#9006) 2019-01-14 16:53:41 +08:00
858b200e9a variable: remove tidb_ddl_reorg_worker_cnt and tidb_ddl_reorg_batch_size session level. (#8941) 2019-01-10 15:12:22 +08:00
084aa5a030 config: add initChunkSize config item, make chunk start with 32 (#8480) 2019-01-07 11:14:47 +08:00
164747c76b session: validate value for global time_zone sys variable (#8876) 2018-12-29 15:57:40 +08:00
bd69b15e79 *: add the error check (#8770) 2018-12-24 22:22:00 +08:00
7528a059cf executor/server/session: add extra info message sent to mysql client (#8285) 2018-12-19 15:32:49 +08:00
H
808eab1911 session: support system variable interactive_timeout (#8487) (#8573) 2018-12-14 22:22:25 +08:00
4cbd50101c ddl: reduce the time to run unit tests (#8585) 2018-12-14 16:12:50 +08:00
e3f3ac24f6 session: add a batch commit session variable for the large transaction (#8293) 2018-12-10 18:29:39 +08:00
ce622ec6d8 session: move more session vars to stmt context for retrying (#8034) 2018-12-10 16:39:43 +08:00
c27705ad75 sessionctx: Error/warning on unsupported isolation levels (#8625) 2018-12-10 14:14:59 +08:00