Commit Graph

217 Commits

Author SHA1 Message Date
ecbee2e81a executor: don't reuse Executor in IndexLookUpJoin, remove doRequestForDatums() (#5031) 2017-11-10 14:21:35 +08:00
68cd5b09c4 plan, executor: improve hash join to support all join types (#4987) 2017-11-09 10:22:35 +08:00
30a080db5c *: build and use count-min sketch (#5042) 2017-11-08 22:34:01 +08:00
f3cc26e2a1 executor: make batch size of index join increasing slowly. (#5022) 2017-11-07 14:29:05 +08:00
7a71b14ac1 executor: remove joinBuilder (#5019) 2017-11-06 16:01:28 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
c70ed24253 plan, executor: clean code. (#4994) 2017-11-02 23:32:04 +08:00
0616a2fd15 executor, distsql: remove useless code. (#4991) 2017-11-02 19:40:59 +08:00
2339a703d8 *: remove useless code in executor. (#4982) 2017-11-02 15:48:59 +08:00
0b24d6022e plan, executor: improve index join to support all join types (#4944) 2017-11-01 15:44:22 +08:00
e6f86e35d2 plan: build prepared statement plan in Optimize phase. (#4914)
When we build the `Execute` plan, the underlying plan is not built, so we don't know what the plan is before we execute it.
This PR move the plan building for prepared statement to optimizer, so we know what plan we are going to execute before we execute it.
2017-10-28 23:04:07 +08:00
d036f0ef25 plan, executor: improve merge join to support all join types (#4869) 2017-10-26 18:39:02 +08:00
2285e65cd9 excutor: tiny code cleanup (#4899) 2017-10-25 21:15:08 +08:00
a84bf5bf35 executor: use max uint64 as analyze's start timestamp (#4892) 2017-10-25 16:51:26 +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
c49c2d333d inspectkv: rename package inspectkv to admin (#4815) 2017-10-19 21:33:24 -05:00
1a987dd825 *: Support the operation of cancel DDL jobs (#4753)
* *: support cancel the DDL job
2017-10-18 22:28:04 -05:00
d88344f869 plan, tidb: support plan cache for SELECT statement (#4644) 2017-10-11 22:34:04 -05:00
eb8df3519a *: prepare to enforce errcheck, part1 (#4670) 2017-09-30 16:23:37 +08:00
a6756a4eee *: make insert with calculated value behave the same as MySQL. (#4603) 2017-09-27 19:59:31 +08:00
0fd5b5167e *: change the way transfer handle. (#4348) 2017-09-27 03:47:07 -05:00
d4adb77e4a executor: set default value for analyze push down (#4610) 2017-09-22 06:28:06 -05:00
67fa005048 executor, plan: abandon the selection controller (#4528) 2017-09-21 11:40:04 +08:00
f1022c8874 store/tikv: tiny update mocktikv (#4555)
* store/tikv: tiny update mocktikv

1. for mocktikv, close storage should close the leveldb engine
2. set tikvStore's mock flag in NewMockTikvStore function
2017-09-19 15:46:53 +08:00
339c93e5f9 add real tables for global/session status in performance schema (#4523) 2017-09-18 17:10:34 +08:00
31f7b9c3b6 *: implement analyze columns push down (#4522) 2017-09-18 14:21:10 +08:00
a7dc21c1e8 *: implement analyze index push down (#4489) 2017-09-14 10:34:12 +08:00
952aafd403 *: Add operation of admin show ddl jobs (#4316)
* *: implement "admin show ddl jobs"
2017-09-05 13:07:51 +08:00
ae30c4dcbc support "UPDATE IGNORE", update conflicts generate warning (#4397) 2017-09-04 11:13:18 +08:00
881d76840b plan,executor: calculate generated columns in CRUD. (#3951) 2017-08-23 14:52:43 +08:00
7c273c0f29 *: implement auto analyze (#4141) 2017-08-18 18:42:28 +08:00
2750de80bc *: tiny clean. (#4222) 2017-08-17 19:38:37 +08:00
a264f81acc executor: notify fetch goroutines to exit when IndexLookUpExecutor close (#4201) 2017-08-17 13:50:01 +08:00
e5ea06dec8 executor, plan: union scan reuse pk when it's handle. (#4185) 2017-08-17 13:07:51 +08:00
a88ebb1cf6 *: use structure to store user identity (#4078)
*: use structure to store user identity
2017-08-14 03:37:36 -05:00
c7c248eb91 executor: change struct row to []types.Datum (#4072) 2017-08-09 18:37:57 +08:00
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00
059f6dd2f1 executor, expression, plan: remove rowMeta from row (#3758) 2017-08-04 18:37:31 +08:00
96c3ff7c2f *: add variable to control batch size of index join (#4028) 2017-08-04 14:53:05 +08:00
8adac8fe6c *: set low priority for expensive SQL and high priority for point get (#3881) 2017-08-02 13:53:36 +08:00
dff73cc6e4 *: Modify the Makefile for go vet (#3900) 2017-07-30 23:02:52 -05:00
597796e166 *: fix bad column offsets in DML. (#3754) 2017-07-28 20:56:25 +08:00
0dbb0877e0 plan, executor: support ordered index join. (#3921) 2017-07-28 13:45:27 +08:00
0337e201bd executor: analyze index should keep order (#3887) 2017-07-25 23:38:06 +08:00
8ebe4c2549 plan, executor, expression: refactor explain (#3809) 2017-07-25 14:12:48 +08:00
e0e77d3bac *: reduce analyze table read when table contains PK (#3783)
* *: reduce analyze table read when table contains PK

* fix ci

* *: address comment

* fix ci

* statistics:make comment more accurate
2017-07-18 05:07:17 -05:00
466e48c3de executor, util: fix bug when the join's keys have different types. (#3784) 2017-07-18 16:28:08 +08:00
11a1767e71 *: Get ddl owner ID (#3525) 2017-06-27 11:24:50 +08:00
4b4378fdd4 fix some typo and continue refactor variable name topn (#3505) 2017-06-19 18:31:12 +08:00
e1debd4505 executor: analyze executor construct new distsql exec. (#3410) 2017-06-07 11:10:25 +08:00