Commit Graph

139 Commits

Author SHA1 Message Date
34ce5b5e60 topsql: optimize life cycle of stmtstats (#31727)
ref pingcap/tidb#31704
2022-01-17 21:11:45 +08:00
2bbeebd0d4 store: forbid collecting info if enable-collect-execution-info disabled (#31282)
close pingcap/tidb#31038
2022-01-06 21:54:38 +08:00
fb03dacbca *: periodically dump column stats usage into disk (#31072) 2021-12-28 21:27:51 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
af5b449270 *: update tikv client to use the new transaction Begin method (#29426) 2021-11-11 11:35:05 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
cddb584acd *: Use snapshot interceptor to do temporary table's point_get/batch_point_get (#28143) 2021-09-20 17:24:44 +08:00
89617e20b2 txn: allow transaction set custom retrievers (#27847) 2021-09-14 16:08:41 +08:00
33a6eee76b test: add variable character_set_connection into test session (#27943) 2021-09-14 11:22:42 +08:00
649ed6abc9 *: Log SQL statement when coprocessor encounteres lock (#27735) 2021-09-08 20:21:03 +08:00
099bc9a230 *: Add some kv.Iterator implementations for future use (#27578) 2021-08-30 16:14:11 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
01a87e3257 *: solve cloud tikv disk full problem (#26302) 2021-08-08 13:21:13 +08:00
126c9b407b telemetry: Add telemetry information about builtin functions usage (#26234) 2021-07-21 18:01:36 +08:00
54f18d5130 util/mock: migrate test-infra to testify (#26159) 2021-07-13 11:35:32 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
e87d035937 infoschema, executor, txn: implement DATA_LOCK_WAITS table (#24750) 2021-05-27 17:57:36 +08:00
acf5e52ffc session, executor: fix misleading function name and move staleness test (#24902) 2021-05-26 15:31:35 +08:00
98f0d76bc7 *: clean up the deserted syntax of START TRANSACTION READ ONLY (#24813) 2021-05-25 14:25:33 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
8fb29eb17e kv: move TxnScope into kv (#24715) 2021-05-19 20:01:42 +08:00
49d1eaa409 txn: break dependency from store/tikv to tidb/kv cause by TransactionOption (#24656) 2021-05-19 17:39:42 +08:00
e9488ce2ee *: implement tidb_bounded_staleness built-in function (#24328) 2021-05-18 14:15:40 +08:00
b7c22aa31d kv: remove UnionStore interface (#24625) 2021-05-13 21:29:39 +08:00
39762c9d19 store/tikv: move kv.Variables from tidb/kv to tikv/kv package (#24189) 2021-04-23 10:41:54 +08:00
f9708e6043 *: collect transaction write duration/throughput metrics for SLI/SLO (#23462) 2021-03-30 11:19:24 +08:00
707cb0a942 kv: unify the BeginWith... function into one (#23130) 2021-03-05 17:56:56 +08:00
5f73c822ca kv/union_store:remove tableinfo from union_store (#22976)
Co-authored-by: disksing <i@disksing.com>
2021-03-04 16:30:42 +08:00
xhe
4172f473da *: adapt new api for the executor package (#22644)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-02-04 17:32:15 +08:00
7ca1629d1a *: refactor ExecuteInternal to return single resultset (#22546) 2021-02-01 14:05:27 +08:00
xhe
ae0057da71 *: preventing SQL injection (#22499)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-26 18:52:08 +08:00
eae64e40fe executor: support exact staleness begin statement (#21897) 2020-12-31 22:08:14 +08:00
ce5ce53fa9 ddl, distsql: Support forbiding cross txnScope query all *Reader Executor (#21650) 2020-12-21 15:30:30 +08:00
22e5ebd310 *: use the Local TSO to update ForUpdateTS (#21490)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2020-12-04 13:41:47 +08:00
43cccbb72f *: dispatch the local and global transactions (#21353)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2020-12-04 10:34:48 +08:00
e01f5e41c2 store, session: Introduce system variable to control ratelimit action (#21259) 2020-11-25 20:27:38 +08:00
ee77412f54 executor, kv, store/tikv: support cache for point select (#20396) 2020-11-11 10:41:49 +08:00
0d613a2dfa [executor, store/tikv]: implement a prototype for MPP framework. (#19954) 2020-10-26 14:46:47 +08:00
99d1163cbc *: use ID instead of NAME in mysql.schema_index_usage (#20589) 2020-10-23 14:42:29 +08:00
5738191a23 *: clean some stuff related to dirtyTable (#20554)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-10-21 12:19:26 +08:00
bdb6c49600 *: collect index usage information from point get and dump them to KV (#20126) 2020-10-16 16:17:34 +08:00
81fa1b37e8 *: refactor GetSnapshot (#20475)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-10-16 11:30:43 +08:00
170e2fec92 *: collect multiple partitions and store in tidb (part II) (#19899) 2020-09-29 21:25:56 +08:00
205f02125f executor: add an OOMAction for copIterator to adaptive control the memory usage (#19246) 2020-09-22 14:27:55 +08:00
a2e2ce6339 *: use int instead of fmt.Stringer as executor id (#19207) 2020-08-19 13:39:31 +08:00
d0639b0056 *: use the newly designed memdb (#18657)
* *: use the newly designed memdb

* address comments

* remove duplicated comments

Co-authored-by: Evan Zhou <coocood@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-03 20:51:05 +08:00
51dabaabef *: refactor Handle in executor package (#16871) 2020-04-28 21:27:19 +08:00
c81e903804 *: use the revertable sandbox to buffer mutations (#15931) 2020-04-03 14:54:27 +08:00
df6f378267 stmtsummary: add a switch to decide whether capture internal q… (#15461) 2020-03-20 17:39:11 +08:00