Commit Graph

199 Commits

Author SHA1 Message Date
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +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
e01f5e41c2 store, session: Introduce system variable to control ratelimit action (#21259) 2020-11-25 20:27:38 +08:00
6a175f1036 distsql: fix issue of table reader runtime stats display wrong result. (#21072) 2020-11-19 11:43:43 +08:00
b468a8a4fb distsql, util: adapt scandetailv2 in coprocessor response (#20492) 2020-10-28 15:56:24 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
0d613a2dfa [executor, store/tikv]: implement a prototype for MPP framework. (#19954) 2020-10-26 14:46:47 +08:00
58f2a48b11 *:add the indexlookup runtime stats infomation (#20145) 2020-10-23 19:33:15 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +08:00
fe84373309 session: make tidb_replica_read work correctly (#20386)
Signed-off-by: qupeng <qupeng@pingcap.com>
2020-10-20 17:35:26 +08:00
c808997d25 store, util: adapt scandetailv2 in coprocessor response (#20391) 2020-10-16 14:25:57 +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
f2d4e47247 distsql: add metrics for coprocessor cache (#19979) 2020-09-29 14:39:23 +08:00
0b7c7167d1 planner,executor: support global index for IndexScan and IndexLookUpReader (#19821) 2020-09-24 20:50:28 +08:00
205f02125f executor: add an OOMAction for copIterator to adaptive control the memory usage (#19246) 2020-09-22 14:27:55 +08:00
ef7772dca4 kv: fix unsafe operation on value returned from memdb (#20063) 2020-09-17 17:18:04 +08:00
db8df83eb0 executor: add coprocessor cache hit ratio in explain analyze (#19948) 2020-09-14 14:40:06 +08:00
bada2801ac *: fix cop task runtime information is wrong in the concurrent executor (#19849)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-09-11 14:14:37 +08:00
5717194f8c executor: Extract plan id from execution summaries for TiFlash cop response (#19791)
* extract plan id from execution summaries for tiflash cop response

* fix ci error

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-04 16:26:01 +08:00
5f9301b1a9 distsql: fix cop task runtime stats redundant display (#19674) 2020-09-02 10:32:59 +08:00
b7682ae787 executor: set the coprocessor concurrency to 1 for simple scan with limit. (#19098) 2020-08-30 09:35:44 +08:00
13bd62e183 ddl, executor: fix clustered prefix primary key truncation (#19320)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-20 14:45:22 +08:00
a2e2ce6339 *: use int instead of fmt.Stringer as executor id (#19207) 2020-08-19 13:39:31 +08:00
fcfe99a2a9 distsql: fix panic on selectResultRuntimeStats.String (#19277) 2020-08-19 12:05:57 +08:00
ea3da25984 *: record more rpc runtime information in cop runtime stats (#18916) 2020-08-18 16:34:07 +08:00
2c70616c09 executor: add empty executor runtime information for tidb cop handler (#19000) 2020-08-05 15:46:38 +08:00
03003538d1 *: fix a lot of typos (#18917) 2020-08-03 11:03:33 +08:00
29178dfa8d planner, executor: support broadcast join for tiflash engine. (#17232)
* support batch cop for tiflash

* support batch cop

* support join push down to tiflash

* refine

* change pb

* push join

* fix

* add hint

* refine hint

* add ranges

* fix

* fix

* fix push down

* fix index

* enable distsql for join

* add a session var to disable/enable broadcast join

* fix bug

* fix bug

* tiny fix

* enable cast decimal pushdown to tiflash

* fix

* fix bc join bug

* make broadcast plan stable

* refine code

* fix bug

* basic support for multi table broadcast join

* fix bug

* basic cbo for broadcast join

* improve

* fix bug

* remote useless code

* add tests

* pass unit tests

* refine code

* support execute summary info for broadcast join

* fix bug in explain for broadcast join

* format code

* remove un-needed code

* fix make dev

* address comments

* Hanfei/join merge (#7)

* enable exec details for batch cop

* format code

* fix test

* change tidb_opt_broadcast_join to global vars

* Ban cartesian join to be pushed down to TiFlash (#8)

* merge master (#10)

* merge master

* fix bug

* fix bug

* fix ut

* check session var conflict

* Add perfer local hint for broadcast join (#12)

* update

* remove useless code

* remove useless code

* update parser

* add test for prefer local join

* use bcj_local

* update go.mod

* refine planner

* refine comments

* fix make dev

* fix make dev

* update parser

* address comments

* fix make dev

* disable broadcast join when new collation is enabled

* Update planner/core/exhaust_physical_plans.go

Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com>

* address comments

* fix

* address comments

* fix tests

* address comments

Co-authored-by: xufei <xufeixw@mail.ustc.edu.cn>
Co-authored-by: xufei <xufei@pingcap.com>
Co-authored-by: 虎 <ichneumon.hu@foxmail.com>
Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com>
2020-07-27 12:41:36 +08:00
5574e1a3ff config: enable collect execution information by default (#18415) 2020-07-13 20:35:37 +08:00
2b0b34b88e executor: kill tableReader for each connection correctly (#18277) 2020-07-09 18:09:08 +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
514b91d90c test: fix data race in distsql/select_result (#18059) 2020-06-17 11:14:24 +08:00
7c3e9d2427 *: support analyze on cluster index (#17895) 2020-06-15 10:51:33 +08:00
526a711c67 session, tikv: allocate task IDs for distsql requests (#16520) 2020-05-13 11:47:05 +08:00
51dabaabef *: refactor Handle in executor package (#16871) 2020-04-28 21:27:19 +08:00
3a07cf7fcc executer: add Cop_time in slow log (#16873) 2020-04-28 15:08:09 +08:00
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