Commit Graph

80 Commits

Author SHA1 Message Date
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
879437475f plan: refine return type, charset and collation for 'get variable' expression (#4550) 2017-09-19 14:52:19 +08:00
31a48f8d75 server: SSL/TLS support (#3716) 2017-09-07 13:36:28 +08:00
31edc09341 Add a system variable to enable automatic split delete data into batches. (#4256)
* *: Batch delete data
2017-08-21 10:37:24 +08:00
96c3ff7c2f *: add variable to control batch size of index join (#4028) 2017-08-04 14:53:05 +08:00
8a1e93bc8e *: add cbo switch. (#3877) 2017-08-03 19:28:17 +08:00
439a47c092 sysvar: fix license (#3460)
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-12 20:53:55 +08:00
7b6e4475b3 variable: add a varaible to read current timestamp (#3400) 2017-06-06 07:27:30 +08:00
62450b9024 Use etcd to speed up DDL process
Add the mock owner-manager and schema-syncer and enable using etcd to speed up DDL process by default.
2017-06-04 10:00:41 +08:00
83a40db1fa sessionctx/variable: add default value of Password Validation Variables (#3251) 2017-05-15 12:41:24 +08:00
6715099b44 sessionctx: @@version return wrong value (#3232) (#3238) 2017-05-11 00:06:09 +08:00
0d83936ef3 sessionctx: fix comments warning in sessionctx (#3192) 2017-05-04 10:23:15 -05:00
a7f4c3dd5e sessionctx/varsutil: fix parse time_zone '-6:00' (#3165)
Fix a parse bug that negative sign is not take into consideration.
2017-05-02 11:25:15 +08:00
93f4780f40 plan: add variable countReliable to physicalPlanInfo (#3011) 2017-04-24 17:07:31 +08:00
e068663cdc Auto split insert data into multiple batches. (#2958)
Add a sysvar to enable batch insert data and disable batch insert in transaction.
2017-03-30 14:57:55 +08:00
6aa45e441c Make index serial scan concurrency configurable and fix golint errors. (#2928) 2017-03-27 00:57:19 +08:00
ed56d82fa7 sessionctx/variable: refine TiDB specific system variables. (#2915) 2017-03-24 12:57:33 +08:00
7aa024c9a0 *: add UTF8 check global variable. (#2899) 2017-03-23 08:56:21 +08:00
60bcd987d5 plan/statistics: concurrent build columns (#2713) 2017-03-22 22:16:45 +08:00
a408b86269 *: support in subquery unfolding (#2816) 2017-03-16 14:26:34 +08:00
42cd9ac552 *: add flag to control agg push down (#2809) 2017-03-10 20:43:08 +08:00
6b2ac5ad0d variable: Enlarge default value for max_allowed_packet (#2652)
* variable: Enlarge default value for max_allowed_packet
2017-02-15 09:27:49 -06:00