Commit Graph

142 Commits

Author SHA1 Message Date
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
60a9ff5f93 variable: group same kind of variables into structs. (#6297) 2018-04-17 19:49:12 +08:00
8777db2d98 session: add session variable tidb_optimizer_selectivity_level. (#6289) 2018-04-16 21:48:37 +08:00
88a6a0de38 variable: set default hash join concurrency in NewSessionVars (#6295) 2018-04-16 20:15:49 +08:00
9fbf8a6637 stats: dynamically update the average column size (#6170) 2018-04-13 16:31:43 +08:00
e2b033d1c0 *: add a tidb system variable tidb_hash_join_concurrency (#6244) 2018-04-12 20:28:19 +08:00
dd98c7050e variable: fix NewSessionVars (#6272)
Set IndexLookupJoinConcurrency to default value.
If this value is init as 0, index lookup join will hang forever.
2018-04-11 21:44:10 +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
13a7f1943c *: fix data race in plan cache (#6234) 2018-04-09 08:24:38 +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
4886dcb1c4 executor: track the memory usage of IndexLookUpExecutor (#6009) 2018-03-20 12:55:12 +08:00
a3bf058304 *: 1. remove EnableChunk 2. implement Next in baseExecutor to return nil (#5988) 2018-03-09 17:40:11 +08:00
3e1a8ed36d executor, infoschema: return a pseudo profiling table when system var profiling is set to 1 (#5960)
try fix mysql compability
2018-03-06 18:06:03 +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
a687650c9f metrics,tidb: add StatementsPerTransaction and TransactionDuration (#5859) 2018-02-11 21:01:37 -06:00
8cc9e45f41 variable,printer: add a session variable to show configuration. (#5784) 2018-02-05 22:54:41 +08:00
47cbc0bfce *: remove varsutil package, make Systems a private member of SessionVars (#5544) 2018-01-25 01:43:07 -06:00
c5c0714cde executor, sessionctx, util: log a warning when memory usage of HashJoinExec exceed threshhold (#5658) 2018-01-18 11:14:25 +08:00
f57b8438bc table: index.addindices reuse temp buffer (#5600) 2018-01-17 05:32:30 -06:00
eddff3429a *: importing data reduce memory allocations. (#5549) 2018-01-07 12:48:07 +08:00
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +08:00
04ef7d7992 *: shard implicit row ID (#5513) 2018-01-04 16:32:41 +08:00
36d9b61365 *: AddIndex skip checking unique constraint when TiDB is importing data. (#5535) 2018-01-02 20:08:49 +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
6ee266d0ca executor: UpdateExec support NextChunk (#5372) 2017-12-14 15:32:06 +08:00
713bc797bb *: clear delta info when roll back transaction (#5390) 2017-12-13 15:35:07 +08:00
5f468489ab util: add kvencoder package, make transfer sql to key-values be possible. (#5236) 2017-11-29 18:01:31 +08:00
4c904639cf *: add a session variable to control max chunk size (#5233) 2017-11-28 10:41:22 +08:00
8b15cb52b7 *: move StatementContext to its own package. (#5177) 2017-11-22 00:11:14 +08:00
dd2812fa55 mysql, expression: support sql_mode 'PAD_CHAR_TO_FULL_LENGTH' (#5065) 2017-11-21 13:22:29 +08:00
9048aa8afa plan: refine the use of idAllocator (#5088) 2017-11-14 11:10:03 +08:00
ad1c532ea5 *: remove unused package and functions (#5003)
* *: remove unused package and functions
2017-11-04 03:36:25 -05:00
25879d3649 expression: support builtin function ROW_COUNT (#4853) 2017-10-28 09:18:58 +08:00
ae84a0a19f stats: load column histograms by need (#4847) 2017-10-24 16:32:09 +08:00
0306bb0070 tidb: support a plan cache for prepared statements (#3956)
* tidb: support a plan cache for prepared statements
2017-10-24 00:55:51 -05:00
7d2804e43c *: check sc.IgnoreZeroInDate when parsing string or number to date/datetime/timestamp (#4732) 2017-10-10 23:38:53 -05:00
545ceb7aec *: close agg push down by default and remove cbo switch (#4696) 2017-09-30 13:43:21 +08:00
a6b5c666c5 *: support NotFillCache kv request option (#4658)
If TiDB send a request with NotFillCache option, the LRU cache of underlying
storage will not be touched. select statement with SQL_NO_CACHE will use it.
2017-09-29 02:06:38 -05:00
c899e5bb16 expression: rewrite builtin function: MOD (#4407) 2017-09-21 09:48:51 +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
881d76840b plan,executor: calculate generated columns in CRUD. (#3951) 2017-08-23 14:52:43 +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
a88ebb1cf6 *: use structure to store user identity (#4078)
*: use structure to store user identity
2017-08-14 03:37:36 -05:00