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
7755d25aba
*: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers ( #27198 )
2021-08-16 18:52:00 +08:00
d256f46311
util/plancodec: migrate test-infra to testify ( #26520 )
2021-07-29 10:46:17 +08:00
c4424c2920
util/stmtsummary: discard the plan if it is too long and enlarge the tidb_stmt_summary_max_stmt_count value to 3000 ( #25843 )
2021-07-01 18:31:26 +08:00
a80047c604
CTE: support explain CTE plan ( #24986 )
2021-05-31 19:03:36 +08:00
963288a68c
planner: build plan for CTE ( #24792 )
2021-05-28 16:47:35 +08:00
202bc19de0
*: add TableSample ID for PhysicalIDToTypeString() ( #23718 )
2021-04-14 21:27:51 +08:00
d1297376f1
planner: Fix problem that MPP query cannot work with STATEMENT_SUMMARY properly ( #23229 )
2021-03-10 20:24:55 +08:00
5e67a597cc
planner, store/tikv, executor:Support shuffled hash join and refine codes ( #20894 )
2020-12-28 15:14:15 +08:00
47ef48b854
planner/codec: fix issue of decode plan error cause by without escape special char ( #21937 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-12-24 20:20:29 +08:00
5f3bb760d4
planner: add plancodec id for all type TableScan/IndexScan. ( #21935 )
2020-12-23 15:49:29 +08:00
c218c58218
*: support select from tablesample ( #20883 )
2020-12-03 16:46:18 +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
ceddc106f0
executor,planner/core,util/plancodec: extend executor.ShuffleExec and planner.core.PhysicalShuffle to support multiple data sources ( #20942 )
2020-11-24 10:59:03 +08:00
ae5dc3f69a
executor: fix issue of load data statement doesn't record into slow query and statements_summary ( #20713 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-11-04 16:27:01 +08:00
0d613a2dfa
[executor, store/tikv]: implement a prototype for MPP framework. ( #19954 )
2020-10-26 14:46:47 +08:00
ac844a7162
planner: fix bug of plan digest is same when cop task store is different ( #20054 )
2020-09-17 19:55:28 +08:00
1cab3d5947
*: fix bug of same type plans with different plan digest ( #19519 )
2020-09-01 21:55:20 +08:00
148f2d456b
planner: add store type to statement summary ( #17825 )
2020-08-12 19:28:17 +08:00
931ff98df5
simple fixes for the staticcheck linter ( #18923 )
...
Note that this found 2 bugs where errors were being silently ignored.
These are really simple fixes that didn't require much thought.
There are still more staticcheck warnings that should be fixed.
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-06 13:38:17 +08:00
950ca5062c
plan: optimize the performance of decodePlan for big union query ( #18891 )
2020-08-03 14:17:36 +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
009c11254d
expression: add header for tidb_decode_plan result ( #18440 )
2020-07-13 13:57:37 +08:00
36ea109b83
*: record execute runtime information in slow log ( #17573 )
2020-06-09 12:16:47 +08:00
f030db5111
plancodec: add test for plan id to avoid change the plan id. ( #17385 )
2020-06-02 18:56:57 +08:00
777907bcee
planner: push agg below partition union all by default ( #17262 )
2020-05-28 18:11:13 +08:00
21ee980e11
*: Refine Explain's format. ( #15507 )
2020-03-23 17:57:49 +08:00
5f7d63c862
planner: change DataSource's type name to 'DataSource' ( #14768 )
2020-02-24 19:55:06 +08:00
74bc00dfa9
Improve the performance of WindowExec by using multi-thread hash grouping ( #14238 )
2020-01-16 21:04:16 +08:00
14e88358f0
planner/cascades: add Implementation for IndexScan and IndexRe… ( #13282 )
2019-12-04 14:39:48 +08:00
5b6422df58
*: support read remote TiDB memory table of cluster ( #13065 )
2019-12-04 13:05:36 +08:00
c5e1302908
planner: support plan digest ( #13124 )
2019-12-03 21:08:55 +08:00
760d27c51f
util: fix staticcheck errors ( #13456 ) ( #13651 )
2019-11-22 17:20:25 +08:00
953c0a618a
perfschema: support query cpu/memory/mutex/block/allocs/goroutines flamegraph by SQL ( #12986 )
...
Signed-off-by: Lonng <heng@lonng.org >
2019-10-30 07:50:02 +08:00
b8cd65714f
*: record and print the plan in slow log. ( #12179 )
2019-10-17 22:13:19 +08:00