Commit Graph

184 Commits

Author SHA1 Message Date
c07fcc4a34 executor: make the projection executor support vectorized expression evaluation (#11917) 2019-08-30 13:41:05 +08:00
073ab9b6a3 *: refactor RestrictedSQLExecutor (#11904) 2019-08-28 19:17:19 +08:00
f24866a40c *: support bindings for prepare statement (#11642) 2019-08-26 10:30:40 +08:00
396b094675 *: record query start time to session variables (#11822) 2019-08-22 21:46:17 +08:00
ec681598b6 *: change the query start time to the parsing time (#11159) 2019-08-20 20:35:16 +08:00
523b93651d Add follower read support to TiDB (#11347) 2019-08-16 13:26:17 +08:00
140718d230 executor: fix auto retry when transaction has select for update (#11714) 2019-08-12 16:32:15 +08:00
036e7e207d *: support new 'log' format for trace (#11681) 2019-08-09 12:43:33 +08:00
028f63cb4a *: rename tidb_back_off_weight (#11655) 2019-08-07 15:04:56 +08:00
02ab1ed7ee executor,session: display the tree-like format of the trace statement (#11633) 2019-08-06 14:18:31 +08:00
cf11ef3e31 executor: refactor info from interface to string to avoid runT… (#11510) 2019-07-30 09:32:27 +08:00
e09745bd02 metrics: add metrics for bind info (#10921)
All tests passed, auto merged by Bot
2019-07-26 20:19:03 +08:00
abbca5375e *: add trace support for subquery (#11182)
Test pass, auto merge by Bot
2019-07-24 19:03:47 +08:00
f8912049f5 *:add opt_rule_blacklist in mysql tables. (#11096) 2019-07-24 13:36:29 +08:00
77b6858bf0 *: refine text protocol multiple query response (#11263) 2019-07-17 13:01:22 +08:00
7f3bff8afe session: do not keep history when the transaction retry is disabled (#11192) 2019-07-12 12:42:33 +08:00
a737d26e4f *: add tidb_enable_noop_functions to default disable get_lock()/release_lock() (#10987)
* issue#4100 add new variable to default disable usage of get_lock and release_lock functions
2019-07-08 13:47:36 +08:00
407e50da82 planner: generate IndexMergePath in physical optimization (#10512) 2019-07-05 14:49:54 +08:00
fba5e6feff lock: add delay clean table lock when session close (#11038) 2019-07-04 14:59:37 +08:00
cb23b524ac *: directly save prepare execute args as datums in binary proto (#10884) 2019-07-02 13:49:06 +08:00
1ddb317203 *: fix 'db' and 'Info' column of 'show processlist' (#10985) 2019-07-01 14:49:22 +08:00
c32db315ea session,parser: make MAX_EXECUTION_TIME sql hint and global variable work (#10963) 2019-06-28 15:17:57 +08:00
d244723a5e executor: remove unused structure RecordBatch (#10891) 2019-06-26 15:26:16 +08:00
a57b6e60a6 *: Add support for MAX_EXECUTION_TIME. (#10541) 2019-06-25 01:18:11 +08:00
dceed3452b session: don't change the DDL lease when doing bootstrap (#10908) 2019-06-24 10:38:34 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
75b9470a74 *: add a column describing memory usage for table information_schema.processlist (#10837)
*: add a column describing memory usage for table information_schema.processlist

Closes #10199
2019-06-20 11:48:49 +08:00
eed6a9efa6 session: init expensiveQueryHandle immediately after domain be initiated (#10845) 2019-06-19 13:47:41 +08:00
612936bbd4 *: Support LOCK/UNLOCK TABLES feature (#10343) 2019-06-18 15:38:04 +08:00
04cd877967 session, sessionctx: add unit test for sessionctx, session (#10763) 2019-06-18 15:09:13 +08:00
cd8c4e6e37 *: add a blacklist to disallow pushing down specific expressions (#10688) 2019-06-12 13:54:33 +08:00
f67352d238 *: print an expensive log when a query exceeds time threshold (#10350) 2019-06-05 20:38:11 +08:00
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
52c9d03a5e support view related privileges in mysql.tables_priv (#9894) 2019-05-22 21:10:46 +08:00
03bdb7798a session: refine txn abort error msg (#10550) 2019-05-22 16:39:14 +08:00
d97e7d93c7 *: refine transaction retry error messages (#10466) 2019-05-15 17:51:07 +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
b0549b7875 stats: incremental analyze for index with feedback updates (#10355) 2019-05-08 13:50:46 +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
190990b352 bindinfo: reduce duplicate DigestHash call (#10352) 2019-05-06 13:19:37 +08:00
71d15aa5a3 make tidb_disable_txn_auto_retry as it used to be (#10339)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2019-05-05 15:15:03 +08:00
cf0ca744a2 bindinfo: fix data race of parser in global handle (#10321) 2019-04-30 13:41:21 +08:00
cd10bca666 *: support select/ explain select using bind info (#10284) 2019-04-29 16:47:11 +08:00
69b02a3736 *: make config items Performance.*, OOMAction and MemQuotaQuery support hot-reloading (#10295) 2019-04-29 16:38:46 +08:00
6a578a8b57 statistics: Support store CMSketch with Top N (#10255) 2019-04-29 12:15:59 +08:00
d8149580bc session: add the transaction commit time to slow log (#10294) 2019-04-29 11:50:17 +08:00
f0303e46c0 *: support "add session binding" (#10247) 2019-04-25 10:59:02 +08:00
f9c82b531c plan: improve row count estimation using column order correlation (#9839) 2019-04-24 16:19:21 +08:00