Commit Graph

161 Commits

Author SHA1 Message Date
62e4d588a8 Makefile: add unconvert to inspect unnecessary type convert (#16549) 2020-04-22 23:01:59 +08:00
b3917165b0 distsql: refine distsql duration metric, should report the total response time, not the single response time (#16507) 2020-04-21 11:58:07 +08:00
2c8afe6e16 metrics: adjust metrics and its comments (#16429) 2020-04-15 23:11:31 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
af0a49cb7a [store/tikv] support batch coprocessor for TiFlash (#16030) 2020-04-09 13:01:09 +08:00
1637c42d45 distsql: fix wrong schema version when snapshot has been set (#15258) 2020-03-30 22:37:34 +08:00
00dc69c6a7 distsql: check the killed flag in the distsql package (#15592) 2020-03-24 11:24:53 +08:00
21ee980e11 *: Refine Explain's format. (#15507) 2020-03-23 17:57:49 +08:00
574a014f70 *: deprecate system variables tidb_mem_quota_XXX (#15084) 2020-03-10 15:57:03 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
9d38c5467a *: use 8 byte MysqlTime format (#14278) 2020-01-31 14:49:06 +08:00
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
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00
72cd3f2032 executor: add back metrics for select_result.go:fetchResp() (#13975) 2019-12-10 16:10:55 +08:00
a7d5b98306 *: Move StartTs from DAGRequest to Coprocessor.Request (#13823) 2019-12-03 17:13:12 +08:00
8fab2548d0 executor: show operators' disk consumption in results of EXPLAIN ANALYZE (#13764) 2019-12-02 17:04:29 +08:00
134b80cdf4 distsql: Unify endian for Chunk encode format (#13349) 2019-11-27 17:15:25 +08:00
e4bdb7b229 executor: show max-proc-keys and p95-proc-keys in results of explain analyze (#13692) 2019-11-27 15:00:26 +08:00
e2c8c17e92 *:fix staticcheck errors in folder distsql and domain (#13668) 2019-11-26 10:08:31 +08:00
e8cd6a63ac executor: remove useless channel and fetch directly from copIterator (#13274) 2019-11-19 11:50:23 +08:00
538077ff75 *: rename Arrow to Chunk (#13060) 2019-11-06 14:51:10 +08:00
e43444265b *: Support required rows rows for arrow decode format. (#12613) 2019-11-05 18:12:09 +08:00
b80b417803 *: fix rolling_update_fail when using Arrow format. (#12899) 2019-10-31 14:16:23 +08:00
4c27856b9a *: add a flag EncodeType for response to use Arrow/Default format to decode. (#12536) 2019-10-09 20:50:37 +08:00
99a5432dce *: encode the returned data using the Chunk format in mocktikv (#12023) 2019-09-28 20:02:26 +08:00
095bee9655 executor: support table reader executor read from tiflash. (#12371) 2019-09-27 15:31:04 +08:00
e173c7f5c1 executor: add several sql hint related to session variables (#11809) 2019-09-17 13:39:16 +08:00
39e9c9fd7a *: add max/avg cop response time for TableReader, IndexReader and IndexLookupReader. (#12003) 2019-09-11 20:36:45 +08:00
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