Commit Graph

2032 Commits

Author SHA1 Message Date
883f72bd36 planner: revise optimize tracer code structure (#31739)
ref pingcap/tidb#29661
2022-01-19 12:47:44 +08:00
2207b26e19 topsql: rename topsql related variable and remove useless variable (#31599)
close pingcap/tidb#31433
2022-01-18 18:15:44 +08:00
5484ce90e1 topsql: fix race in test (#31714)
close pingcap/tidb#31713
2022-01-18 11:57:45 +08:00
34ce5b5e60 topsql: optimize life cycle of stmtstats (#31727)
ref pingcap/tidb#31704
2022-01-17 21:11:45 +08:00
78b4112dfa go.mod: update gopsutil to v3.21.12 (#31720)
close pingcap/tidb#31607
2022-01-17 14:19:44 +08:00
522452fe3f topsql: do not aggregate when topsql is not enabled (#31705)
ref pingcap/tidb#31704
2022-01-14 20:37:42 +08:00
c7419bc741 util: fix data race in stmtSummaryByDigestMap (#31683)
close pingcap/tidb#31642
2022-01-14 12:03:42 +08:00
c2279cee83 cpuprofile: make sure the cpu profile will be produced each second (#31531) 2022-01-13 20:13:43 +08:00
acff9c3cff *: Change stmt summary and capture plan baselines to GLOBAL only (#30756) 2022-01-12 13:29:42 +08:00
aa9f530d15 ddl: put the non-reorg jobs back to general queue (#31461)
close pingcap/tidb#31460
2022-01-11 16:23:42 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00
1d20bbfeb4 *: Annotations to fix gosec warnings of CWE-798 (#31311)
ref pingcap/tidb#31310
2022-01-11 00:21:42 +08:00
8c70432b00 topsql: add exec count dedicated to sql duration (#31378)
close pingcap/tidb#31379
2022-01-08 01:20:38 +08:00
f7663a881c topsql: fix data race in reporter test (#31440)
close pingcap/tidb#31439
2022-01-07 20:56:37 +08:00
29d0d017ca topsql: fix data race in cpuprofile test (#31450)
close pingcap/tidb#31412
2022-01-07 16:54:37 +08:00
09f023889d topsql: fix data race in reporter test (#31340)
close pingcap/tidb#31251
2022-01-07 02:00:37 +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
5cd37f0008 session: fix data race in ParseWithParamsInternal (#31058)
close pingcap/tidb#30918
2022-01-06 21:02:37 +08:00
cfbe70846a config: remove new charset config (#31291)
close pingcap/tidb#31236
2022-01-06 13:26:37 +08:00
11be4292d1 planner: fix wrong ranges for binary literal + in (#31292) 2022-01-05 18:07:09 +08:00
9acb2c2ad5 planner: add optimizer trace framework for physicalOptimize (#30335)
close pingcap/tidb#30334
2022-01-05 15:44:36 +08:00
29c398cbcc charset: add gbk_bin collation into gbk charaset (#31309)
close pingcap/tidb#31308
2022-01-05 13:34:36 +08:00
02222532b9 topsql: fix data race in the topsql_test (#31244)
close pingcap/tidb#31243
2022-01-04 19:24:35 +08:00
bc1f16d1c6 util: fix data race in the TestGetCPUProfile (#31246)
close pingcap/tidb#31245
2022-01-04 17:12:35 +08:00
6e75367ad0 collation: make gbk default collation to gbk_bin if new collation is not enabled (#31208)
close pingcap/tidb#31221
2022-01-04 15:48:35 +08:00
e3124ae813 util: fix build ranger's collation (#31226)
close pingcap/tidb#31216
2022-01-04 11:52:36 +08:00
974b5784ad topsql: make topsql enable only be controlled by pub/sub sink (#31209) 2021-12-31 16:49:20 +08:00
74ef32ace2 topsql: remove do topN before report (#31192) 2021-12-31 14:17:51 +08:00
69b358a5e5 statistics, util/ranger: use the correct collators when record ce trace (#31207) 2021-12-31 11:59:50 +08:00
25d6301327 *: fix bug of profiling conflict between TopSQL and pprof profile HTTP API (#30891)
close pingcap/tidb#30890
2021-12-31 11:07:50 +08:00
9ffeff2857 types: convert to new charset before inserting to blob or json column (#31031)
close pingcap/tidb#30690
2021-12-30 21:35:50 +08:00
8a83d01ac6 topsql: add sql sum execution duration information (#31143) 2021-12-30 10:53:50 +08:00
e9ab05f90f topsql: move topsql variable to topsql/state for avoid import cycle (#31134)
close pingcap/tidb#31136
2021-12-29 19:51:50 +08:00
7e2d12c2fd topsql: refactor reporter and add reporting part of stmtstats (#30954) 2021-12-29 14:53:50 +08:00
fb03dacbca *: periodically dump column stats usage into disk (#31072) 2021-12-28 21:27:51 +08:00
9ad00962f6 test: merge serial tests in cmd, planner, server, util (#31003) 2021-12-24 20:21:53 +08:00
ab821eb315 planner: add usage of paging copr in optimizer (#30536)
close pingcap/tidb#30578
2021-12-24 18:23:53 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
42cf333da1 flatten the json output (#30905)
Signed-off-by: yisaer <disxiaofei@163.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-12-24 16:48:45 +08:00
a8a858bac2 topsql: add pubsub datasink (#30860) 2021-12-21 16:17:47 +08:00
fe1aaf2fd7 topsql: introduce stmtstats and sql execution count (#30277) 2021-12-21 15:43:47 +08:00
23c71f1a3b execute: don't transform charset in internal sql (#30843)
close pingcap/tidb#30789
2021-12-20 17:15:46 +08:00
c0888f5421 topsql: support multiple datasinks (#30808) 2021-12-18 00:32:36 +08:00
321d307f3b types, util: clean up compareDatum (#30815) 2021-12-17 14:22:36 +08:00
daf525a17e *: replace compareDatum by compare, range part (#30710) 2021-12-16 19:48:36 +08:00
d208b62025 topsql: a centralized place to generate tipb report data (#30781) 2021-12-16 16:06:35 +08:00
950a274afc golangci-lint: support durationcheck (#30027) 2021-12-14 21:10:35 +08:00
2f42f7c0f6 planner: unify the argument of stats functions to use SessionCtx instead of StatementContext (#30668) 2021-12-14 19:36:35 +08:00
e9b1fb8ab5 topsql: introduce datasink interface (#30662) 2021-12-14 19:22:34 +08:00
dd7f71fb43 util/testkit/testkit.go: fix typo (#30638) 2021-12-14 18:52:35 +08:00