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
3c7df1c302
executor, plan: support batch index look up join. ( #3306 )
2017-05-23 23:12:19 +08:00
69a55ad845
*: refactor a function name ( #3263 )
2017-05-16 14:43:03 +08:00
213954d2e7
*: add specified columns for LOAD DATA INFILE Syntax ( #3240 )
...
* : add specified columns for LOAD DATA INFILE Syntax
2017-05-15 16:40:47 +08:00
1e2b6af3ab
plan: add topn operator. ( #3242 )
2017-05-12 10:37:12 +08:00
a0ecf85f9e
plan, executor: let new plan resolve after physical plan building. ( #3246 )
2017-05-11 21:20:50 +08:00
c5e864539f
executor: fix some bugs about new plan. ( #3231 )
2017-05-10 16:32:00 +08:00
ad52a2462c
executor: add open inteferce for Executor. ( #3221 )
2017-05-09 21:13:22 +08:00
0d6490efc4
*: interpret timestamp datum based on session's time_zone ( #3167 )
...
1. FromPackedUint don't consider time_zone any more, moved to Unflatten
2. use session's time_zone instead of time.Local
3. add a time.Location parameter to some Encode/Decode functions in tablecodec
2017-05-08 11:58:55 +08:00
d128a10fad
plan, executor: implement index look up executor. ( #3204 )
...
index look up executor implements index double reading. we reuse the concurrency algorithm in old index executor.
2017-05-04 21:33:36 +08:00
dbcab85ba6
*: support index reader executor. ( #3175 )
2017-05-03 10:58:55 +08:00
858d76bbe3
executor: fixed comments warning. ( #3187 )
2017-05-01 19:19:32 +08:00
28be450cc9
plan, executor: refine code. ( #3173 )
2017-04-28 16:43:26 +08:00
c646b59927
*: fix data race in join. ( #3159 )
2017-04-27 23:26:15 +08:00
350c79382a
*: support new table reader executor. ( #3133 )
2017-04-27 13:27:26 +08:00
c237781cad
plan, executor: make Analyze a Plan ( #3130 )
...
* executor: remove indexExec's depedency on indexPlan
* plan, executor: make Analyze a Plan
* address comment
* address comment
* fix gofmt
2017-04-26 10:36:44 +08:00
7699d3fb76
*: refine EvalBool function. ( #3139 )
2017-04-25 22:07:17 +08:00
790cbd615a
executor: initialize index scan concurrency. ( #3097 )
...
Index scan concurrency is not initialized, so the effective concurrency was 1.
For table lookup task, the concurrency should use table scan concurrency instead.
2017-04-20 21:03:04 +08:00
0f2afbf44b
statistics: prepare for analyze part of a table ( #3062 )
...
We need to make somthing like 'analyze index...' work, this is only the first step.
2017-04-20 14:05:51 +08:00
97bfafa702
*: Use AggregationFunction instead of evaluate in aggregation ( #3040 )
2017-04-14 19:49:00 +08:00
e3a0dc68ce
*: use column id to get stats instead of column offset ( #3019 )
...
Now we assume that the order of columns in stats matches the column offsets. It will return wrong stats sometimes.
If we analyze when a table is (c1, c2) and then drop c1, the c2's offset will become 0. But in stats the position of 0 is c1. I have added this case to test.
2017-04-10 16:03:20 +08:00
fac3eb283b
plan, executor: add logical prefix for agg, join and apply. ( #2985 )
2017-04-05 19:38:35 +08:00
aaa6184670
*: implement index nested loop join ( #2945 )
2017-04-01 15:12:20 +08:00
78f7eab61d
*: refactor distsql and executor. ( #2942 )
2017-03-29 15:20:25 +08:00
0e172acd8e
Add a controller in Selection to control the conditions of the below scan plan. ( #2834 )
...
Prepare for IndexLookupJoin.
2017-03-28 09:58:49 +08:00
ed56d82fa7
sessionctx/variable: refine TiDB specific system variables. ( #2915 )
2017-03-24 12:57:33 +08:00
7739d97697
Sort Merge Join ( #2850 )
...
parser/plan/executor: Added Merge Join operator with Hints
2017-03-22 21:42:16 +08:00
51fce6fd51
plan: fix bug about column prunning. ( #2796 )
2017-03-09 15:40:16 +08:00
16fa15d890
*: support revoke statement ( #2661 )
2017-02-21 22:05:50 +08:00
4dcd7c8d41
*: fix bug about scalar subquery. ( #2674 )
2017-02-18 15:42:26 +08:00
37977865df
*: add max1row info and refine scalar subquery's decorrelation. ( #2646 )
2017-02-17 19:25:00 +08:00