Commit Graph

2273 Commits

Author SHA1 Message Date
5b3df63ced executor: case refactor for point execution (#12486) 2019-09-30 16:10:08 +08:00
41ac571d7b *: remove the LightningMode from TiDB (#12466) 2019-09-29 15:12:01 +08:00
99a5432dce *: encode the returned data using the Chunk format in mocktikv (#12023) 2019-09-28 20:02:26 +08:00
ba9d1ca960 *: adjust delta schema count and add metrics (#11625) 2019-09-27 20:33:18 +08:00
a582640dc3 executor: make point updates go short path (#12243) 2019-09-27 18:36:01 +08:00
095bee9655 executor: support table reader executor read from tiflash. (#12371) 2019-09-27 15:31:04 +08:00
854e68dc69 executor: display column collate in show create table (#12327) 2019-09-27 15:11:01 +08:00
2bba5654b4 types/data: the bit data type should be treat as uint64 (#11951) 2019-09-26 19:14:31 +08:00
20bdf44d12 ddl: fix the set's default value where create table (#12267) 2019-09-26 12:18:20 +08:00
74eaf327e9 *: log each com_stmt_fetch separately (#11987) 2019-09-25 17:57:16 +08:00
e41458983c executor: record slow-log when log use error level (#12359) 2019-09-25 13:16:15 +08:00
b25b703c1d tikv: make region request can send to flash store (#11652) 2019-09-25 11:00:15 +08:00
1f922559df executor: implement disk-based hash join (#12067) 2019-09-24 23:23:05 +08:00
1fe9773726 planner: introduce an individual physical plan for indexNestedLoopHashJoin (#12139) 2019-09-24 21:18:45 +08:00
20dc99995a executor: clean up the batch checker code (#12338) 2019-09-24 19:02:45 +08:00
73e762c032 executor: testShowStatsSuite should not inherit testSuite (#12350) 2019-09-24 16:17:16 +08:00
31681b7712 executor: refactoring the 'replace' implementation, remove its dependency of batch checker (#12319) 2019-09-24 16:10:15 +08:00
8179558274 planner, executor: push limit down into IndexLookUpReader executor (#12262) 2019-09-24 14:16:16 +08:00
b53a71f15a executor: fix unordered trace events in row format (#12314) 2019-09-24 10:17:46 +08:00
06629d6ac4 *: check privilege when reusing the cached plan (#12211) 2019-09-23 20:36:45 +08:00
582076b5cc *: wrap the previous statement for performance (#12283) 2019-09-23 15:09:15 +08:00
f9724dbf3b executor: improve codes of stmt hints (#12246) 2019-09-18 23:50:25 +08:00
3173e6942f executor: fix update self-duplicate detect (#12249) 2019-09-18 23:25:17 +08:00
8261a41223 planner: make every plan explainable (#12183) 2019-09-18 22:49:07 +08:00
9064c49611 session, executor: support setting tidb_enable_stmt_summary in session scope (#12217) 2019-09-18 15:19:47 +08:00
e98a869205 executor: make sure IndexReaderExecutor/TableReaderExecutor implement the Executor interface (#12020) 2019-09-17 21:34:45 +08:00
15011b6c49 executor: new execution path for point execution within prepared plan cache (#11970) 2019-09-17 14:14:45 +08:00
e173c7f5c1 executor: add several sql hint related to session variables (#11809) 2019-09-17 13:39:16 +08:00
fa675ca3b8 executor: fix scatter region timeout issues and "show processlist" display issues (#12057) 2019-09-17 12:00:15 +08:00
d438e103be executor: load data statement, separate data preparing routine and commit routine (#11533) 2019-09-16 19:46:12 +08:00
04292a00de session: annotate the previous statement to the error when transaction commit failed (#12087) 2019-09-16 15:15:07 +08:00
e2b1f7eff8 expression: change the String() method of expression.Column (#12089) 2019-09-16 14:30:22 +08:00
0f55274760 infoschema, session: support for events_statements_summary_by_digest (#12017) 2019-09-12 19:53:16 +08:00
fb683bef2c executor: refactor union scan and dirty table (#11702) 2019-09-12 10:00:45 +08:00
39e9c9fd7a *: add max/avg cop response time for TableReader, IndexReader and IndexLookupReader. (#12003) 2019-09-11 20:36:45 +08:00
57da569736 store/tikv,session: invalidate snapshot cache under pessimistic transaction (#12147) 2019-09-11 20:14:15 +08:00
836d5f7b58 planner/core: support generate hints from physical plan (#11936) 2019-09-11 17:53:29 +08:00
d29751ca5d executor: vectorize hash calculation in hashJoin (#12048) (#12076) 2019-09-11 16:06:46 +08:00
d88cd749f5 executor, expression: 1. rename tryToMatch to tryToMatchOuters 2. tiny refine tryToMatchOuters (#12138) 2019-09-11 11:24:14 +08:00
213b783dc6 executor: do not use batchChecker in 'insert ignore into ...' (#12122) 2019-09-10 19:42:00 +08:00
d5626a918d executor, expression: add a tryToMatchOuters for joiner (#11922) 2019-09-10 18:00:14 +08:00
64298f0278 *: refactoring the code of batchChecker (#12108)
batchChecker is difficult to maintain, we should get rid of it.
In this commit, I catch the BatchGet result into the snapshot, in this way we can
achieve the same goal as the batchChecker
2019-09-10 16:36:49 +08:00
4ee517cea4 conn: fix lost connection when insert from select panic cause by out of memory quota (#12090) 2019-09-10 15:10:03 +08:00
5c18c5df97 type: add db prefix to function name for not exist error messages (#11156) 2019-09-10 11:20:19 +08:00
2307338ae7 planner: generate index path as candidate when it is a single scan (#12022) 2019-09-09 19:13:41 +08:00
1ef81a8620 *: replace word error in warning, info, debug logs (#12050) 2019-09-09 18:51:12 +08:00
3fdfe2e370 stats: support display invalid key in stats buckets (#12064) 2019-09-09 17:59:11 +08:00
b5bb641a94 executor: fix index hash join joiner race (#12072)
* fix index hash join joiner race

* add comment
2019-09-09 16:51:21 +08:00
4b911b8fdc planner: don't DoOptimze when build show (#12005) 2019-09-09 13:01:11 +08:00
dd25ed0c16 planner: extract basePhysicalJoin for several physical joins (#12029) 2019-09-06 14:49:06 +08:00