ef104a89b8
distsql: merge executioin detail in stream cop ( #11938 )
2019-09-02 11:41:05 +08:00
523b93651d
Add follower read support to TiDB ( #11347 )
2019-08-16 13:26:17 +08:00
d210889a6c
*: trace the execution of the insert operation ( #11667 )
2019-08-09 14:22:03 +08:00
1f57a538a4
distsql: make CopStream available ( #11311 )
...
All tests passed, auto merged by Bot
2019-07-30 17:10:52 +08:00
1ad073bf80
executor: show operators' memory consumption in results of EXPLAIN ANALYZE ( #11334 )
2019-07-24 10:53:02 +08:00
fc6baf2834
distsql: clean the memory usage of MemTracker when a query end… ( #10898 )
2019-06-27 19:38:39 +08:00
c8d1ff7ca6
*: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' ( #10866 )
2019-06-21 19:13:31 +08:00
ebfb2ae7fe
distsql: improve package distsql test code coverage to 85% ( #10582 )
2019-05-31 17:21:29 +08:00
9b62c5a3e8
distsql: tiny refactor to make the code more robust ( #10557 )
2019-05-21 18:17:10 +08:00
78594431f9
executor: handle OOM panic which not be recovered now in distSQL layer
2019-05-20 19:46:34 +08:00
7d7c146786
*: fix bug when unsigned histogram meets signed ranges in feedback ( #10415 )
2019-05-14 15:49:02 +08:00
d6396daa77
*: lazy eval explain id and tracker label ( #10139 )
2019-04-22 14:23:33 +08:00
e5f734e54c
*: move the Handle of stats to single package. ( #10149 )
2019-04-17 13:42:34 +08:00
7447f04409
executor: trace and control memory usage in DistSQL layer ( #10003 )
2019-04-12 16:43:55 +08:00
e9653675dd
*: remove errors.Trace in main handle path ( #10033 )
2019-04-04 14:27:15 +08:00
b78490e403
*: use the unified log format for the remaining packages ( #9743 )
2019-03-22 16:34:47 +08:00
40fa006cac
*: collect coprocessor runtime stats for explain analyze ( #9057 )
2019-02-19 16:22:00 +08:00
6136ab14cf
*: start replacing logger with zap logger ( #9279 )
2019-02-15 16:43:47 +08:00
65066c8d1e
Control the number of rows in chunks returned by SelectResult ( #9293 )
2019-02-14 11:48:01 +08:00
82d2726300
planner, statistics: build new histogram using range information ( #7921 )
2019-01-14 20:33:36 +08:00
351c4a5568
*: refine commit txn slow log ( #8731 )
2018-12-25 20:49:50 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
05b37de16e
*: use chunk grow for simple executor ( #7540 )
2018-09-27 09:07:51 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
8c44f562f5
metrics: add different labels for restricted SQL and general SQL ( #7631 )
...
The newly added label is `sql_type`, it has value: `general` and `internal`,
users can use this label to filter metrics they have interest.
Also, add keyword `[INTERNAL]` for restricted SQL printed in slow log for
convenient identification.
2018-09-07 14:23:48 +08:00
2b776ac495
*: remove goroutine pool ( #7564 )
...
goroutine pool was introduced to handle stack copy cost, Go1.11 has
many optimizations for stack copy, after upgrading to Go1.1, goroutine
pool is not necessary any more.
2018-08-31 11:23:14 +08:00
1d0d0a6666
distsql: let analyze use RC level and low priority ( #7496 )
2018-08-27 18:46:51 +08:00
e3952d6eb8
*: collect execution details and output them in slow query log ( #7302 )
2018-08-10 21:06:20 +08:00
a7fc9c323e
distsql: disable read committed isolation level ( #7280 )
...
read committed isolation may cause inconsistent read.
Only Analyze request use read committed isolation level.
2018-08-06 13:07:06 +08:00
f107feed63
fix a bug that nullable unique index can not find null values using index. ( #7163 )
2018-07-27 15:04:21 +08:00
7c18d24933
executor, store: fixed daylight saving time issue ( #6823 )
...
Thank you for working on TiDB! Please read TiDB's [CONTRIBUTING](https://github.com/pingcap/tidb/blob/master/CONTRIBUTING.md ) document **BEFORE** filing this PR.
## What have you changed? (mandatory)
During coprocessor dag task, it first uses timezone `name`, if non-empty, to get legitimate timezone variable. To achieve this, we need to push down such data into tikv which leads to change the logic of building pushdown request. The logic I mentioned mainly resides in `executor` package.
I change `timeZoneOffset` to `zone` and add second return parameter `name string`. The intentioned of doing this to adopt the convention of `time` package.
For the same purpose, I change `GetTimeZone` to `Location`. As you can see, in `time` package, timezone was bind to `Location`.
## What are the type of the changes (mandatory)?
- Bug fix (non-breaking change which fixes an issue)
## How has this PR been tested (mandatory)?
unit-test
integration-test will be added shortly
2018-07-16 18:15:19 +08:00
b1bc4209ca
distsql: move SelectResult to file "select_result.go" ( #7054 )
2018-07-16 15:21:14 +08:00
2945ddd899
vendor: update tipb ( #7055 )
2018-07-15 21:34:21 +08:00
e94df345e5
distsql, main: fix some typos. ( #6885 )
2018-06-23 21:51:55 +08:00
353d120868
vendor: update tipb's version ( #6825 )
2018-06-14 13:15:02 +08:00
5c2d21eab4
*: remove function "NewChunk" ( #6524 )
2018-05-14 13:43:19 +08:00
b3bb5e8c8f
*: support warnings when using coprocessor streaming ( #6544 )
2018-05-13 22:10:58 -05:00
5f2b16192e
stats: fix query feedback bugs ( #6444 )
2018-05-09 12:27:32 +08:00
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
6e317f57dd
distsql: make behavior of TableHandlesToKVRanges correct. ( #6364 )
2018-04-24 23:36:12 +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
bfb6ec2ae8
distsql: remove unused code ( #6227 )
2018-04-04 23:19:57 +08:00
6287cfb8c2
*: modify 'session transaction isolation level' to take effect once ( #6175 )
2018-04-04 18:39:44 +08:00
ccf6da1a46
*: rename NextChunk to Next ( #6214 )
2018-04-03 20:00:30 +08:00
c398110154
*: improve performance of DecodeBytes in DecodeOneToChunk ( #6135 )
2018-03-29 19:11:44 +08:00
f287451eed
tidb: move tidb/*.go to session directory ( #6062 )
...
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00