Commit Graph

101 Commits

Author SHA1 Message Date
6ef7db512c sessionctx: Change pfs default to OFF (#7788) 2018-09-27 11:15:01 +08:00
038ac639ba expression: ECB/CBC modes with 128/192/256-bit key length for AES (#7425) 2018-09-23 22:09:02 +08:00
334e9254d3 *: add a variable to force statement priority of TiDB server (#7694) 2018-09-20 23:48:40 +08:00
8a1847e8ae Added hostname sysvar, fixes #7740 (#7750) 2018-09-20 12:24:34 +08:00
d47e303887 executor,sessionctx:Add correctness for system variable: sync_binlog,… (#7716) 2018-09-17 14:58:46 +08:00
74a6dddfd0 stats: auto analyze on certain period of a day (#7570) 2018-09-05 16:37:53 +08:00
d5ab70cfdf executor,sessionctx: Add correctness for more system variables (#7196) 2018-08-19 14:55:15 +08:00
3e8815f960 variable: Change the default value of charset/collation to utfbmb4/utf8mb4_bin (#7198) 2018-08-10 10:41:56 +08:00
359df6ecc2 variable, ddl: add session variable 'tidb_ddl_reorg_priority' to set operation priority of ddl reorg (#7116) 2018-08-08 17:16:05 +08:00
a5af7a0e1f *: remove variable 'tidb_import_data' and rename SessionVars.ImportingData to LightningMode (#7262) 2018-08-03 10:00:03 +08:00
437933d449 sessionctx, executor: Add correctness check when set system variables (#7117) 2018-07-24 18:49:15 +08:00
490af37d1e *: add scope check when get system variables (#6958) 2018-07-03 17:12:18 +08:00
2292844f34 *: support session variable 'warning_count' and 'error_count' (#6945) 2018-07-02 19:00:24 +08:00
e837e4b81c *: add a session variable for table partition, tiny update (#6913) 2018-06-28 12:50:01 +07:00
6851878b9b *: add session var 'tidb_ddl_reorg_worker_cnt' to control ddl reorg workers count (#6441)
* *: add session var 'tidb_ddl_reorg_worker_cnt' to control ddl reorg workers count
2018-06-27 22:36:18 +08:00
8bec188b6a session: add a global/session variable 'tidb_disable_txn_auto_retry' (#6872) 2018-06-21 17:26:14 +08:00
3d7528cbb3 *: add tidb_hashagg_partial/final_concurrency (#6831) 2018-06-14 10:17:08 +08:00
0ab1b228c0 config, variable: add memory quota config for a query (#6788) 2018-06-12 13:08:28 +08:00
39a8d0eb7a executor: support parallel projection (#6323) 2018-06-07 22:50:54 +08:00
2219be27c5 sessionctx: make tidb_max_chunk_size as a global variable (#6585) 2018-05-22 16:45:57 +08:00
6f655593b5 sessionctx: make tidb_build_stats_concurrency global (#6558) 2018-05-18 18:45:47 +08:00
702f210473 make tidb_opt_insubquery_unfold global (#6482) 2018-05-07 21:15:08 +08:00
23e8c6e12b *: add a system variable auto_analyze_ratio (#6455) 2018-05-04 10:54:30 +08:00
e215e93948 *: provide a configurable tidb_retry_limit session variable (#6369) 2018-05-03 19:52:53 +08:00
5da8ac0957 *: make session variables control TiKV layer. (#6322)
And add a system variable `tidb_backoff_lock_fast` to change the backoff base time on read lock.
2018-04-20 16:06:34 +08:00
8777db2d98 session: add session variable tidb_optimizer_selectivity_level. (#6289) 2018-04-16 21:48:37 +08:00
e2b033d1c0 *: add a tidb system variable tidb_hash_join_concurrency (#6244) 2018-04-12 20:28:19 +08:00
582e33a0e4 *: use tidb_index_lookup_join_currency to control the number of IndexLookupJoin inner workers (#6240) 2018-04-10 10:05:00 +08:00
6287cfb8c2 *: modify 'session transaction isolation level' to take effect once (#6175) 2018-04-04 18:39:44 +08:00
83066fc954 executor: track memory usage for nested loop apply (#6171) 2018-04-02 13:54:12 +08:00
491f58d7d8 executor: track memory usage for merge join (#6172) 2018-03-31 17:17:23 +08:00
564e8896df executor: track memory usage of index lookup join (#6169) 2018-03-30 10:48:11 +08:00
6f43b37572 Add admin checksum table command (#6067) 2018-03-20 20:46:43 +08:00
4886dcb1c4 executor: track the memory usage of IndexLookUpExecutor (#6009) 2018-03-20 12:55:12 +08:00
65440001d9 set explicit_defaults_for_timestamp to ON (#6068) 2018-03-15 14:40:10 +08:00
ad814b0d6c executor, util: employ memory Tracker to track memory usage during query execution (#5826) 2018-03-06 11:02:09 +08:00
12a1a254fc config,distsql: add config for coprocessor streaming feature (#5917) 2018-02-28 21:36:22 -06:00
d9934935ca *: set have_profiling to NO (#5907)
Fixes issue #5666
2018-02-26 15:30:50 +08:00
8cc9e45f41 variable,printer: add a session variable to show configuration. (#5784) 2018-02-05 22:54:41 +08:00
dffc8c974d executor, parser: treat tx_isolation, transaction_isolation or tx_read_only, transaction_read_only as synonyms variable (#5700) 2018-01-22 23:15:17 +08:00
c5c0714cde executor, sessionctx, util: log a warning when memory usage of HashJoinExec exceed threshhold (#5658) 2018-01-18 11:14:25 +08:00
096190775e session: add session variable to log query string. (#5633)
Use an atomic global variable to control the switch to log query.
And the query is logged before execution.
2018-01-16 10:12:51 +08:00
36d9b61365 *: AddIndex skip checking unique constraint when TiDB is importing data. (#5535) 2018-01-02 20:08:49 +08:00
100bc58a83 parser, variable: fix #5478, make 'set transaction read only' works. (#5483) 2017-12-25 21:36:15 +08:00
7995346d8d *: clean up and some file renaming. (#5440) 2017-12-18 23:24:25 +08:00
65b2b0d452 *: Set the batch delete/insert size by session variable (#5413)
We hardcode it to 20k. But if the row size is large. It will still break
the transaction size limitation. So we need to provide a way to set it
dynamicially.
2017-12-17 21:11:18 -06:00
714b68c568 *: improve performance of show variables (#5297) 2017-12-05 19:23:52 +08:00
4c904639cf *: add a session variable to control max chunk size (#5233) 2017-11-28 10:41:22 +08:00
b7c722aab6 Support SQLMode ONLY_FULL_GROUP_BY and fix a join panic bug (#4613) 2017-11-06 10:53:29 +08:00
545ceb7aec *: close agg push down by default and remove cbo switch (#4696) 2017-09-30 13:43:21 +08:00