Commit Graph

752 Commits

Author SHA1 Message Date
d435267600 statistics: track used stats status during query (#37101)
ref pingcap/tidb#36481
2022-08-25 12:14:21 +08:00
4cf7eeee64 planner: add warn log for sync stats (#36956) 2022-08-22 15:24:20 +08:00
6fb3e06339 *: update bazel timeout (#37071) 2022-08-15 16:58:50 +08:00
96165aae7e statistics: stablize (*Table).GetColRowCount() (#37081)
close pingcap/tidb#37080
2022-08-13 00:58:48 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
fcbf9735a3 statistics: batch insert topn and buckets to storage to speed up loading stats (#36948)
close pingcap/tidb#36947
2022-08-10 18:32:48 +08:00
c63a8d83a6 statistics: support extend show histograms (#36509)
close pingcap/tidb#36481
2022-08-10 11:58:48 +08:00
244b353a11 planner: support session level for the variable tidb_enable_prepared_plan_cache (#36923)
ref pingcap/tidb#36598
2022-08-08 11:18:47 +08:00
5b4a82dbf4 *: upgrade bazel timeout (#36776) 2022-08-02 11:10:05 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
be102a3d55 *: fix timestamp conversion (#36705)
close pingcap/tidb#36707
2022-07-29 19:05:12 +08:00
9cf1c34c54 statistics: fix "Invalid xxx character string" error when loading new collation stats (#36709)
close pingcap/tidb#35208
2022-07-29 18:05:13 +08:00
6baea73277 *: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (#36660) 2022-07-28 19:23:11 +08:00
15009a7c4e *: clean code (#36655) 2022-07-28 15:09:11 +08:00
212d62ee41 statistics: support tracking histogram (#36170)
ref pingcap/tidb#34052
2022-07-28 11:11:11 +08:00
9a388e36c1 executor, statistics: directly update count if analyze reads latest data (#36588)
close pingcap/tidb#36552
2022-07-27 18:11:11 +08:00
34628f0f1a *: Spelling, change ture to true (#36520)
closes pingcap/tidb#36519
2022-07-27 14:35:11 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
f0717dfe07 statistics, sessionctx: introduce topn assisted cardinality estimation for string matching functions (#36210)
close pingcap/tidb#36209
2022-07-20 21:55:09 +08:00
fd6f5dd798 *: GC-aware memory track for analyze (#35248)
close pingcap/tidb#34996
2022-07-20 20:17:09 +08:00
d00b984f4c executor, statistics: analyze use MaxUint64 ts to read data (#35232)
close pingcap/tidb#35233
2022-07-20 16:09:08 +08:00
4b50e67452 statistics: separte complex file and forbid embedding (#36318)
close pingcap/tidb#36284
2022-07-20 14:03:08 +08:00
486ee8ecd0 statistics: fix panic when cmsketch is dropped (#36299)
ref pingcap/tidb#36284
2022-07-19 14:57:07 +08:00
da1b82aae7 statistics: support tracking topn in statsCache (#35510)
ref pingcap/tidb#34052
2022-07-13 11:57:06 +08:00
d10d254572 util: let TypeFloat should be decoded as Float32 in Chunk (#35978)
close pingcap/tidb#35910
2022-07-11 18:57:05 +08:00
1a9a7a614c statistics,planner: let index support sync stats (#35879)
ref pingcap/tidb#35764
2022-07-11 17:23:05 +08:00
55aea2787d *: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
aec4349cac statistics: let index support LoadNeededHistograms (#35775)
ref pingcap/tidb#35764
2022-07-04 14:03:00 +08:00
65e0b8e541 client: KV requests with source label (#34833)
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
323411dda4 *: remove support for hidden sysvars (#35740)
close pingcap/tidb#35735
2022-07-01 14:28:40 +08:00
bc00ddb3ca ddl: remove onDropColumns and onAddColumns (#35862)
ref pingcap/tidb#14766
2022-06-30 22:58:39 +08:00
16df1942d0 *: add timeout for test cases (#35844) 2022-06-30 20:18:38 +08:00
78b0ae579c planner: fix TRACE PLAN TARGET = 'estimation' panic when meeting partition table (#35743)
close pingcap/tidb#35117
2022-06-28 17:34:39 +08:00
e99d82a9b4 *: fix issue of cast string as time is incompatible with MySQL (#35455)
close pingcap/tidb#34539
2022-06-23 13:50:37 +08:00
95e13afa13 *: track the memory usage in Insert/Update/Delete executors (#34097)
close pingcap/tidb#34096
2022-06-22 19:10:38 +08:00
6266817ced statistics: batch insert topn and bucket when saving table stats (#35326)
ref pingcap/tidb#35142
2022-06-21 01:36:36 +08:00
2a45f21027 statistics: fix panic when using wrong globalStats.Indices key (#35424)
close pingcap/tidb#35421
2022-06-20 23:36:38 +08:00
96526518b4 statistics: support tracking column cmsketch (#35135)
ref pingcap/tidb#34052
2022-06-17 17:20:35 +08:00
945d7effaf statistics: handle topn reference if it is nil (#35328)
ref pingcap/tidb#34052
2022-06-17 09:38:34 +08:00
07c9e03ce2 statistics: revise loaded for column (#35361)
ref pingcap/tidb#34052
2022-06-15 16:20:34 +08:00
ad1cb783c4 *: support paging protocol on unistore (#35244)
ref pingcap/tidb#35242, close pingcap/tidb#35243
2022-06-14 21:46:33 +08:00
7c3a5a85a1 statistics/handle: enable flaky and shard test (#35251)
ref pingcap/tidb#35247
2022-06-09 15:02:31 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
d3cbae0fbb statistics: fix index isEvicted (#35170)
Signed-off-by: yisaer <disxiaofei@163.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-06-07 13:48:54 +08:00
eca9f2d6be unload fmsketch (#35098)
Signed-off-by: yisaer <disxiaofei@163.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-06-06 14:38:07 +08:00
942fc8586a *: remove sortutil (#35126)
ref pingcap/tidb#34250
2022-06-02 17:10:28 +08:00
2801eceb9e statistics: add label for StatsHealthyGauge (#35106)
ref pingcap/tidb#34691
2022-06-02 12:06:27 +08:00
8401fa0263 statistics: remove unused fmsketch param (#35095)
ref pingcap/tidb#35094
2022-06-01 13:58:27 +08:00
bba94f97e7 statistics: fix incorrect ndv caused by missing fmsketch (#35082)
close pingcap/tidb#35044
2022-06-01 12:56:27 +08:00