ebc122bb48
*: support where in admin show ddl jobs statement ( #12484 )
2019-10-11 10:47:13 +08:00
c0d6185144
planner: implement the BatchPointGetPlan to improve the BatchPointGet performance ( #12322 )
2019-10-10 16:56:03 +08:00
01cddf63d9
dml : Multiple rows insert in a statement should have consecutive autoID if needed. ( #11876 )
...
* consecutive id
* add AllocN interface func for util/kvencoder/allocator.go
* fix allocN test
* fix allocN tests
* fix allocN test 1
* fix allocN test 2
* fix allocN test 3
* fix allocN test 4
* fix cache
* add auto consecutive increment id in insert executor
* add auto consecutive increment id comment in insert executor
* try fix test case
* fix session_test.TestAutoIncrementID autoid overflow
* fix session_test.TestAutoIncrementID unsighed autoid overflow
* fix autoid usigned computing overflow
* fix conflict with suli's PR
* fix index out of range
* merge similar function
* delete fillRowLazy
* fix commment
* fix bug of rebase
* fix auto.go maxUint64 will be allocated
* fix maxInt64 autoid allocated
* fix batch rowIdx update
* add maxUint64 and maxInt64 limit in allocN
* reconstruct the autoid lazy alloc
* fix format
* remove commnet
* use new kind of logutil.logger(ctx) instead of logutil.BgLogger()
* combine alloc() and allocN together
* remove cache of hasValue
* remove cache of hasValue
* remove cache of hasValue
* remove cache of hasValue
* add test : autoID can find in retryInfo
* add test : autoID can find in retryInfo
* extract retry logic
* extract retry logic
* Update executor/insert_common.go
Co-Authored-By: bb7133 <bb7133@gmail.com >
* Update executor/insert_common.go
Co-Authored-By: bb7133 <bb7133@gmail.com >
* fix comment
* fix comment
* fix comment
* fix comment
* fix comment
* return min and max instead of slice in alloc autoid
* return min and max instead of slice in alloc autoid
* return min and max instead of slice in alloc autoid
* add comment for alloc N
2019-10-10 10:34:44 +08:00
a177d46663
executor: add index hash join benchmark ( #12564 )
2019-10-09 17:02:46 +08:00
4642b54de4
log: move autocommit varable value into connection info ( #12310 )
2019-10-09 14:01:20 +08:00
253cd1f8ab
session: remove the mockFail field from txnFuture ( #12545 )
...
Signed-off-by: Lonng <heng@lonng.org >
2019-10-08 23:30:47 +08:00
3e8129d59e
executor,sessionctx: add correctness for system variables ( #12311 )
2019-10-08 16:20:52 +08:00
5b3df63ced
executor: case refactor for point execution ( #12486 )
2019-09-30 16:10:08 +08:00
41ac571d7b
*: remove the LightningMode from TiDB ( #12466 )
2019-09-29 15:12:01 +08:00
99a5432dce
*: encode the returned data using the Chunk format in mocktikv ( #12023 )
2019-09-28 20:02:26 +08:00
ba9d1ca960
*: adjust delta schema count and add metrics ( #11625 )
2019-09-27 20:33:18 +08:00
a582640dc3
executor: make point updates go short path ( #12243 )
2019-09-27 18:36:01 +08:00
095bee9655
executor: support table reader executor read from tiflash. ( #12371 )
2019-09-27 15:31:04 +08:00
854e68dc69
executor: display column collate in show create table ( #12327 )
2019-09-27 15:11:01 +08:00
2bba5654b4
types/data: the bit data type should be treat as uint64 ( #11951 )
2019-09-26 19:14:31 +08:00
20bdf44d12
ddl: fix the set's default value where create table ( #12267 )
2019-09-26 12:18:20 +08:00
74eaf327e9
*: log each com_stmt_fetch separately ( #11987 )
2019-09-25 17:57:16 +08:00
e41458983c
executor: record slow-log when log use error level ( #12359 )
2019-09-25 13:16:15 +08:00
b25b703c1d
tikv: make region request can send to flash store ( #11652 )
2019-09-25 11:00:15 +08:00
1f922559df
executor: implement disk-based hash join ( #12067 )
2019-09-24 23:23:05 +08:00
1fe9773726
planner: introduce an individual physical plan for indexNestedLoopHashJoin ( #12139 )
2019-09-24 21:18:45 +08:00
20dc99995a
executor: clean up the batch checker code ( #12338 )
2019-09-24 19:02:45 +08:00
73e762c032
executor: testShowStatsSuite should not inherit testSuite ( #12350 )
2019-09-24 16:17:16 +08:00
31681b7712
executor: refactoring the 'replace' implementation, remove its dependency of batch checker ( #12319 )
2019-09-24 16:10:15 +08:00
8179558274
planner, executor: push limit down into IndexLookUpReader executor ( #12262 )
2019-09-24 14:16:16 +08:00
b53a71f15a
executor: fix unordered trace events in row format ( #12314 )
2019-09-24 10:17:46 +08:00
06629d6ac4
*: check privilege when reusing the cached plan ( #12211 )
2019-09-23 20:36:45 +08:00
582076b5cc
*: wrap the previous statement for performance ( #12283 )
2019-09-23 15:09:15 +08:00
f9724dbf3b
executor: improve codes of stmt hints ( #12246 )
2019-09-18 23:50:25 +08:00
3173e6942f
executor: fix update self-duplicate detect ( #12249 )
2019-09-18 23:25:17 +08:00
8261a41223
planner: make every plan explainable ( #12183 )
2019-09-18 22:49:07 +08:00
9064c49611
session, executor: support setting tidb_enable_stmt_summary in session scope ( #12217 )
2019-09-18 15:19:47 +08:00
e98a869205
executor: make sure IndexReaderExecutor/TableReaderExecutor implement the Executor interface ( #12020 )
2019-09-17 21:34:45 +08:00
15011b6c49
executor: new execution path for point execution within prepared plan cache ( #11970 )
2019-09-17 14:14:45 +08:00
e173c7f5c1
executor: add several sql hint related to session variables ( #11809 )
2019-09-17 13:39:16 +08:00
fa675ca3b8
executor: fix scatter region timeout issues and "show processlist" display issues ( #12057 )
2019-09-17 12:00:15 +08:00
d438e103be
executor: load data statement, separate data preparing routine and commit routine ( #11533 )
2019-09-16 19:46:12 +08:00
04292a00de
session: annotate the previous statement to the error when transaction commit failed ( #12087 )
2019-09-16 15:15:07 +08:00
e2b1f7eff8
expression: change the String() method of expression.Column ( #12089 )
2019-09-16 14:30:22 +08:00
0f55274760
infoschema, session: support for events_statements_summary_by_digest ( #12017 )
2019-09-12 19:53:16 +08:00
fb683bef2c
executor: refactor union scan and dirty table ( #11702 )
2019-09-12 10:00:45 +08:00
39e9c9fd7a
*: add max/avg cop response time for TableReader, IndexReader and IndexLookupReader. ( #12003 )
2019-09-11 20:36:45 +08:00
57da569736
store/tikv,session: invalidate snapshot cache under pessimistic transaction ( #12147 )
2019-09-11 20:14:15 +08:00
836d5f7b58
planner/core: support generate hints from physical plan ( #11936 )
2019-09-11 17:53:29 +08:00
d29751ca5d
executor: vectorize hash calculation in hashJoin ( #12048 ) ( #12076 )
2019-09-11 16:06:46 +08:00
d88cd749f5
executor, expression: 1. rename tryToMatch to tryToMatchOuters 2. tiny refine tryToMatchOuters ( #12138 )
2019-09-11 11:24:14 +08:00
213b783dc6
executor: do not use batchChecker in 'insert ignore into ...' ( #12122 )
2019-09-10 19:42:00 +08:00
d5626a918d
executor, expression: add a tryToMatchOuters for joiner ( #11922 )
2019-09-10 18:00:14 +08:00
64298f0278
*: refactoring the code of batchChecker ( #12108 )
...
batchChecker is difficult to maintain, we should get rid of it.
In this commit, I catch the BatchGet result into the snapshot, in this way we can
achieve the same goal as the batchChecker
2019-09-10 16:36:49 +08:00
4ee517cea4
conn: fix lost connection when insert from select panic cause by out of memory quota ( #12090 )
2019-09-10 15:10:03 +08:00