c22cbc0d10
executor: truncate column values from index KV during admin check ( #23218 )
2021-03-10 18:35:40 +08:00
b5a9076aea
*: new secondary index value format ( #20220 )
2021-03-03 21:16:54 +08:00
461cae15a7
planner, distsql: fix the behaviour of building ranges for TiFlash ( #22725 )
2021-02-21 18:29:46 +08:00
56ef0ab2a6
executor: improve the runtime stats of index lookup reader ( #21982 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-12-31 17:35:15 +08:00
795e88ae93
executor: fix signed cluster index behavior ( #22085 )
...
Signed-off-by: lysu <sulifx@gmail.com >
2020-12-30 11:27:44 +08:00
9ef7246d29
executor: fix data race in extractTxnScope ( #21929 )
2020-12-23 15:34:30 +08:00
ce5ce53fa9
ddl, distsql: Support forbiding cross txnScope query all *Reader Executor ( #21650 )
2020-12-21 15:30:30 +08:00
b204df7051
executor: Implement AppendRows for Chunk ( #21057 )
2020-11-28 15:14:59 +08:00
32d19b78e1
*: refine runtime stats display and tiny bug fix for metrics ( #21022 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-11-26 16:35:25 +08:00
58f2a48b11
*:add the indexlookup runtime stats infomation ( #20145 )
2020-10-23 19:33:15 +08:00
50f5ddc70e
executor,distsql: support multiple physical tables in one table reader ( #20404 )
2020-10-14 20:05:26 +08:00
170e2fec92
*: collect multiple partitions and store in tidb (part II) ( #19899 )
2020-09-29 21:25:56 +08:00
0b7c7167d1
planner,executor: support global index for IndexScan and IndexLookUpReader ( #19821 )
2020-09-24 20:50:28 +08:00
640cb42f54
executor: do not reorder handles when building requests for IndexMergeJoin ( #20138 )
2020-09-22 15:11:59 +08:00
1c9c5e39af
executor: fix clustered index with new collation bug ( #19955 )
2020-09-14 15:41:07 +08:00
e356136b72
*: annotate execution info in runtime/trace ( #19407 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-27 11:23:36 +08:00
deec855913
executor: fix incorrect results when there is an IndexLookUp under the inner side of an Apply ( #19496 )
2020-08-27 11:11:23 +08:00
a2e2ce6339
*: use int instead of fmt.Stringer as executor id ( #19207 )
2020-08-19 13:39:31 +08:00
3f38fa5d02
executor, planner: enable duplication check on prefix clustered index ( #19099 )
...
* executor, planner: store clustered prefix index intact
* make fmt
* address comment
* decoding row value is prior than decoding key
* unexport DecodeHandleToDatum()
* make fmt
* address comments
* fix unit test: TestSplitRegionTimeout
2020-08-13 14:05:18 +08:00
f3abdb027f
executor: handle index join for the new partition table implementation ( #18862 )
...
* planner,executor: implement PartitionTable executor for the three reader
* add the new file
* make fmt
* forget to add the test file to git
* fix a tiny bug
* executor: handle partition table for index join
* make golint happy
2020-08-05 10:42:18 +08:00
baf6c99b95
*: fix a bug causes indexed virtual generated column return wrong value and refine admin check table ( #18408 )
2020-07-24 12:59:47 +08:00
f0e5876353
util/execdetails: refactor execdetails information of runtime collect ( #18530 )
2020-07-15 20:05:29 +08:00
b12f94b967
executor: fix mislead inconsistent log after Context.Cancel ( #18537 )
2020-07-14 20:21:41 +08:00
a6971dd685
*: support 'admin check table' on clustered index table ( #18346 )
2020-07-14 15:59:37 +08:00
6fa2badf38
util: move codec logic into tablecodec package ( #18173 )
...
* move codec logic into tablecodec package
* add key generation using physical table id
* remove using prefix
* change comment
* fix conclict
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-06-24 17:43:10 +08:00
5250f7f53f
*: support clustered index in double read ( #18127 )
2020-06-23 15:33:38 +08:00
c98514e751
executor: unify executor concurrency ( #16999 )
2020-06-22 17:39:32 +08:00
3176b00c02
executor: fix the issue that UNIQUE constraint on boolean column results in an incorrect result in a comparison ( #17245 )
2020-05-20 13:55:18 +08:00
1417ba2288
*: fix a bug that don't handle truncate properly for virtual generated column ( #17217 )
2020-05-14 20:57:55 +08:00
51dabaabef
*: refactor Handle in executor package ( #16871 )
2020-04-28 21:27:19 +08:00
574a014f70
*: deprecate system variables tidb_mem_quota_XXX ( #15084 )
2020-03-10 15:57:03 +08:00
c1bc9ffe5b
*: add memory tracker for InsertExec and ReplaceExec ( #14179 )
2019-12-30 11:43:01 +08:00
ef7adeb50d
*: resort fields for reducing the memory allocated ( #14172 )
2019-12-23 17:10:09 +08:00
a7d5b98306
*: Move StartTs from DAGRequest to Coprocessor.Request ( #13823 )
2019-12-03 17:13:12 +08:00
4b830aa7f6
*: Remove unused code ( #13674 )
2019-11-22 11:37:07 +08:00
aca3f47292
*: Refactoring reading logic of virtual generate column ( #12407 )
2019-11-13 17:39:53 +08:00
8179558274
planner, executor: push limit down into IndexLookUpReader executor ( #12262 )
2019-09-24 14:16:16 +08:00
39e9c9fd7a
*: add max/avg cop response time for TableReader, IndexReader and IndexLookupReader. ( #12003 )
2019-09-11 20:36:45 +08:00
304619a184
executor: fix execution info of explain analyze ( #11967 )
2019-09-02 16:45:35 +08:00
59e3eb75cd
*: speed up the operation of "admin check table" ( #8572 )
2019-07-31 17:11:30 +08:00
da8e7d267c
executor: refactor union_scan executor by using txn_mem_buffer_reader ( #10673 )
2019-07-30 17:40:33 +08:00
1ad073bf80
executor: show operators' memory consumption in results of EXPLAIN ANALYZE ( #11334 )
2019-07-24 10:53:02 +08:00
c8ed781d51
executor: push-down LoadDataStmt in distsql ( #11067 )
...
moving function `statementContextToFlags` to `StatementContext.PushDownFlags()`
Co-authored-by: Lonng <heng@lonng.org >
Co-authored-by: Foreyes <foreyes_1002@163.com >
2019-07-14 17:58:49 +08:00
d244723a5e
executor: remove unused structure RecordBatch ( #10891 )
2019-06-26 15:26:16 +08:00
dc378a2cff
executor: tiny refactor the runtimeStats collection code ( #10917 )
2019-06-24 14:09:31 +08:00
711582a674
executor: log inconsistent handles when inconsistent-check fail in IndexLookupReader ( #10838 )
2019-06-19 20:07:31 +08:00
f6be085bc6
executor: tiny refactor the Executor interface ( #10846 )
...
Introduce a base() method to get the baseExecutor, so we don't need to add
method from baseExecutor to the Executor interface any more
Before:
```
type Executor interface {
Open(context.Context) error
Next(ctx context.Context, req *chunk.RecordBatch) error
Close() error
Schema() *expression.Schema
retTypes() []*types.FieldType
newFirstChunk() *chunk.Chunk
}
```
After:
```
type Executor interface {
base() *baseExecutor
Open(context.Context) error
Next(ctx context.Context, req *chunk.RecordBatch) error
Close() error
Schema() *expression.Schema
}
```
2019-06-19 15:55:28 +08:00
45c0e51eca
executor: check inconsistent index in IndexLookupExecutor ( #10237 )
2019-04-28 13:35:19 +08:00
d6396daa77
*: lazy eval explain id and tracker label ( #10139 )
2019-04-22 14:23:33 +08:00
33015e10a9
executor: fix the wrong order by pk desc result and some corner cases for unsigned pk ( #10179 )
2019-04-19 12:58:25 +08:00