357d5df66b
remove useless alias ( #6473 )
2018-05-05 22:36:54 +08:00
12dbd32854
*: rename NewRange to Range. ( #6368 )
2018-04-25 13:13:04 +08:00
fb8efa5596
*: clean up code for set SQL statement priority, let it bypass plan ( #6328 )
2018-04-21 08:58:24 -05: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
056161d6ae
stats: fix row count estimation for null ( #6203 )
2018-04-04 10:59:40 +08:00
ccf6da1a46
*: rename NextChunk to Next ( #6214 )
2018-04-03 20:00:30 +08:00
0553deeb42
*:improve code readability and unified aliases ( #5997 )
2018-03-15 10:52:36 +08:00
6a826fd0aa
*: collect query feedback ( #5909 )
2018-03-12 15:37:09 +08:00
ef9745bb1a
executor: remove Next for AnalyzeExec ( #6012 )
2018-03-12 13:14:39 +08:00
27c65d25bb
executor, distsql: move "requestBuilder" from package "executor" to "distsql" ( #5903 )
2018-02-26 12:46:51 +08:00
e1121814d2
*: don't import golang.org/x/net/context as goctx alias ( #5895 )
...
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
4e1a114e68
*: move package context to sessionctx ( #5890 )
2018-02-22 18:03:38 +08:00
47cbc0bfce
*: remove varsutil package, make Systems a private member of SessionVars ( #5544 )
2018-01-25 01:43:07 -06:00
307e642565
store/tikv: remove WithCancel in copIterator. ( #5701 )
...
Since we already have `finished` channel to make the worker exit, we don't need to select
on `ctx.Done`, instead, we can only select `ctx.Done` in `Next`, and close the `finished` channel.
This avoid the cost to create context by `WithCancel` and select on extra channel.
2018-01-23 17:56:13 +08:00
a2a48b3085
executor: use batch get to speed up LOAD DATA ( #5632 )
...
* use batch get to speed up LOAD DATA
2018-01-19 15:58:00 +08:00
f57b8438bc
table: index.addindices reuse temp buffer ( #5600 )
2018-01-17 05:32:30 -06:00
6fb97e8f25
executor: correct the unsigned pk's behavior. ( #5641 )
2018-01-16 18:21:10 +08:00
18ba3470f6
stats: adjust CM sketch default size ( #5614 )
2018-01-12 14:29:46 +08:00
4136b81c23
*: merge IntColumnRange with NewRange. ( #5591 )
2018-01-10 15:50:58 +08:00
ecbd60c3ff
*: add arguement StatementContext to Encode functions. ( #5566 )
2018-01-06 17:31:08 +08:00
c45111d9f6
stats: use more compact structure for histograms ( #5539 )
...
* stats: use more compact structure for histograms
* address comments
* address comments
* refine code
* address comment
2018-01-05 20:43:01 +08:00
fa62e9fd01
*: merge ranger.IndexRange and ranger.ColumnRange. ( #5485 )
2017-12-26 16:08:36 +08:00
6a306e4f27
executor: support Chunk for AnalyzeExec ( #5452 )
2017-12-21 11:17:20 +08:00
f1e89cde19
*: use lower-case of github.com/sirupsen/logrus ( #5400 )
...
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus
* vendor: update pd
* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
ee0d3f37a2
types, ranger: move Range to package ranger. ( #5231 )
2017-11-27 18:17:29 +08:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
02f6bb27c7
*: remove goCtx from session struct ( #5174 )
...
1. go context should not be stored
2. change Executor interface to Open(goctx.Context)
3. many other changes forced by this refactor
2017-11-22 02:17:38 -06:00
f828016e9f
*: move sessionctx/domainctx.go to domain package ( #5168 )
2017-11-22 13:41:58 +08:00
4a75a103e4
executor: some clean up. ( #5156 )
2017-11-20 15:41:12 +08:00
cd5c665c8c
executor: use baseExecutor for all Executors ( #5087 )
...
Makes it easy to add new method on Executor interface.
2017-11-13 21:06:31 +08:00
30a080db5c
*: build and use count-min sketch ( #5042 )
2017-11-08 22:34:01 +08:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
0616a2fd15
executor, distsql: remove useless code. ( #4991 )
2017-11-02 19:40:59 +08:00
d4adb77e4a
executor: set default value for analyze push down ( #4610 )
2017-09-22 06:28:06 -05: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
88e1666ac6
*: change the log package to logrus ( #4452 )
2017-09-08 00:45:07 -05:00
0e438de9ff
*: move sample collector from executor to stats ( #4468 )
2017-09-08 12:21:10 +08:00
e7e40193f9
distsql,store/tikv: fix analyze table OOM ( #4399 )
2017-09-05 20:56:44 +08:00
21a417ad65
executor: make auto analyze more conservative ( #4284 )
2017-08-24 20:25:50 +08:00
7c273c0f29
*: implement auto analyze ( #4141 )
2017-08-18 18:42:28 +08:00
c7c248eb91
executor: change struct row to []types.Datum ( #4072 )
2017-08-09 18:37:57 +08:00
520785b149
*: fix possible race in stats update ( #3987 )
2017-08-03 20:54:15 +08:00
dff73cc6e4
*: Modify the Makefile for go vet ( #3900 )
2017-07-30 23:02:52 -05: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
d0358ceb1c
executor, statistics: remove useless code and rename file name. ( #3564 )
2017-06-29 14:52:19 +08:00
7ae996c411
Set stats lease. ( #3408 )
2017-06-07 18:19:52 +08:00
e1debd4505
executor: analyze executor construct new distsql exec. ( #3410 )
2017-06-07 11:10:25 +08:00
a81726a42f
executor, statistics: analyze with null count. ( #3336 )
2017-05-26 16:44:09 +08:00
ad52a2462c
executor: add open inteferce for Executor. ( #3221 )
2017-05-09 21:13:22 +08:00