Commit Graph

209 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
f72769cee4 sessionctx/variable: fix field(History) typo in TransactionContext (#8600) 2018-12-07 12:33:03 +08:00
e478be7914 ddl: add ddl_reorg_batch_size variable to control ddl worker batch size and enlarge default batch size. (#8365) 2018-12-04 19:07:12 +08:00
103f2ac2a3 *: add a session variable for window function parser (#8511) 2018-12-04 11:26:59 +08:00
e7e31fae3f *: add preparedStmt metric and add limit to max prepareStmt (#8405) 2018-11-28 20:37:50 +08:00
1927cd9a30 session: release datum memory after transaction finished (#8458) 2018-11-27 15:37:12 +08:00
73a3497d2a variable: validate setting tx_isolation variable value (#8299) 2018-11-14 18:23:44 +08:00
6ccfec6d2e *: add a variable tidb_query_log_max_len to set the max length of the query string in the log dynamically (#8183) 2018-11-06 11:25:11 +08:00
693ff90193 [cherry-pick]*: add a variable to control whether we can write _tidb_rowid (#8187) 2018-11-05 22:45:32 +08:00
ec693ce502 *: add a variable tidb_slow_log_threshold to set the slow log threshold dynamically (#8094) 2018-11-05 14:54:07 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
696ef7bae2 plan: convert in subquery to agg and inner join (#7531) 2018-10-30 19:19:32 +08:00
508f5dd626 binlog: use pumps client to write binlog (#8070) 2018-10-27 17:52:01 +08:00
5831de291d *: enable range typed table partition (#8011) 2018-10-26 20:04:07 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
f3148da27f executor: add an variable to compatible with MySQL insert for OGG (#7863) 2018-10-17 10:19:04 +08:00
48704b8420 *: fix Command and Time in show processlist (#7844) 2018-10-12 14:06:54 +08:00
dbdd806c0e *: add session variable "tidb_enable_cascades_planner" (#7879) 2018-10-12 13:21:51 +08:00
ee0d4d6c64 executor: print arguments in execute statement in log files (#7684) 2018-10-09 15:24:25 +08:00
75d6a3ee9e executor, sessionctx: calculate radix bit number before building hash table (#7816) 2018-10-09 13:48:11 +08:00
e79bd946ed *: change package name from plan to planner (#7760) 2018-09-25 11:16:39 +08:00
334e9254d3 *: add a variable to force statement priority of TiDB server (#7694) 2018-09-20 23:48:40 +08:00
29441950a3 *: write system timezone into mysql.tidb in bootstrap stage. (#7638) 2018-09-14 22:15:00 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00