Commit Graph

360 Commits

Author SHA1 Message Date
07e642c923 coprocessor: add ddl schema version in request (#14317) 2020-01-08 16:29:10 +08:00
ba2ff85c58 *: support caching coprocessor responses (#13824) 2019-12-31 18:24:40 +08:00
c1bc9ffe5b *: add memory tracker for InsertExec and ReplaceExec (#14179) 2019-12-30 11:43:01 +08:00
f0d313470f executor: record lockkeys waited flag and duration in stmtctx (#14209) 2019-12-24 20:24:12 +08:00
03f9a95a35 executor: add metric to trace tikvTxn LockKeys time consume (#14189) 2019-12-23 21:00:09 +08:00
a94cff903c *: refactor LockKeys API (#14020) 2019-12-11 15:05:59 +08:00
01a7d00053 executor: change pessimistic lock wait start for one statement (#13922) 2019-12-06 15:17:49 +08:00
5b6422df58 *: support read remote TiDB memory table of cluster (#13065) 2019-12-04 13:05:36 +08:00
db535c1049 kv: refactor code to fix type SplittableStore name typo (#13829) 2019-12-02 09:08:51 +08:00
3a48a48630 *: remove the assertion proto (#13732)
The assertion proto was introduced to verify the data consistency, but I find
it's complex and hard to achieve that goal. Adding additional assertions just
makes more memory occupation, especially in the large transaction.
So it's better to remove it.
2019-11-26 22:58:49 +08:00
a1dc0477a5 types: add error code for package types (#13300) 2019-11-26 19:45:14 +08:00
40c9f9c6e4 executor: fix a batch get executor bug inside a transaction (#13473)
When the BatchGetExec runs inside a transaction, it should consider the data changes
in the membuffer.
2019-11-15 16:55:05 +08:00
f12403ef08 executor: support select for update no wait (#12775) 2019-11-04 17:01:40 +08:00
000c1ba5db planner, session: add isolation read with engine type (#12997) 2019-11-01 15:47:12 +08:00
ff6a4f7e8f kv: add error code for package kv (#12866) 2019-11-01 15:13:27 +08:00
4907685ed2 *: fix bug that the kill command doesn't work when the killed session is waiting for the pessimistic lock (#12852) 2019-10-24 17:26:12 +08:00
58fc7d44f7 store,kv: snapshot doesn't cache the non-exists kv entries lead to poor 'insert ignore' performance (#12872) 2019-10-23 15:08:59 +08:00
f146185870 *: calculate GC safe point based on global min start timestamp (#12223) 2019-09-30 13:35:37 +08:00
41ac571d7b *: remove the LightningMode from TiDB (#12466) 2019-09-29 15:12:01 +08:00
095bee9655 executor: support table reader executor read from tiflash. (#12371) 2019-09-27 15:31:04 +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
660ce3f161 Faster Clone() in kv/key.go (#11957) 2019-09-10 14:24:14 +08:00
f9d85418ed *: support a region divided into multiple regions (#11739) 2019-09-03 13:30:49 +08:00
a81f8e36a1 kv: replace memdb with a more memory efficient version (#11807) 2019-08-29 11:42:06 +08:00
727d73670d kv, store: simpilify lazy condition pair (#11816) 2019-08-26 15:48:54 +08:00
1c1faab678 *: convert key to hex for logs (#11781) 2019-08-20 11:10:16 +08:00
523b93651d Add follower read support to TiDB (#11347) 2019-08-16 13:26:17 +08:00
6d51ad33fd *: Optimize struct memory usage by adjust field order (#11629) 2019-08-13 17:20:53 +08:00
df2075d745 *: remove the transaction kv count limit (#11141) 2019-08-09 20:35:37 +08:00
d210889a6c *: trace the execution of the insert operation (#11667) 2019-08-09 14:22:03 +08:00
1595c0101e *: replace context.WithValue string key to typed struct{} key (#11675) 2019-08-09 14:11:48 +08:00
036e7e207d *: support new 'log' format for trace (#11681) 2019-08-09 12:43:33 +08:00
3b6d2f475f executor/split: return split result when do split region and refine split timeout logic. (#11259) 2019-07-23 17:35:13 +08:00
04cfda8699 *: add show table regions syntax (#10612) 2019-07-10 11:54:52 +08:00
89baed8e17 ddl: scatter the regions of table when creating them (#10980) 2019-07-10 11:09:14 +08:00
e1f2b3728d *: make assertion check more reasonable (#10424)
Make sure there are no "ASSERTION fail" logs in session and executor unit test
2019-07-04 16:20:38 +08:00
c78622848d config, kv: make TxnEntryCountLimit and TxnTotalSizeLimit configurable (#9035) (#9952) (#11058) 2019-07-04 12:23:20 +08:00
41fc7b2d7c kv: tiny cleanup (#10961) 2019-06-28 14:22:57 +08:00
91b889d2b5 store/tikv: fix insert on dup update for pessimistic transaction (#10905) 2019-06-24 14:56:46 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
bb3a92d70f expression: add a failpoint switch to control expr push down in integration test (#10786) 2019-06-14 15:43:29 +08:00
c729dd55ca kv: add more unit test (#10620) 2019-06-03 00:04:18 -05:00
233554a25d *: refine the error message in latch (#10566) 2019-05-22 19:53:57 +08:00
d97e7d93c7 *: refine transaction retry error messages (#10466) 2019-05-15 17:51:07 +08:00
373748adf7 *: support pessimistic transaction (experimental feature) (#10297) 2019-05-11 09:48:45 +08:00
d8589df2f3 *: add a variable to control the back off time and disable txn auto retry by default (#10266) 2019-05-08 10:23:49 +08:00
6f67214b50 kv: remove the useless field of snapshot (#10276) 2019-05-05 10:58:21 +08:00
8d8bfccef7 storage: add some new interfaces for Storage (#10204) 2019-04-22 10:33:21 +08:00
7447f04409 executor: trace and control memory usage in DistSQL layer (#10003) 2019-04-12 16:43:55 +08:00