|
|
f3ea9b08a4
|
statistics: first calculate NDV to better reuse memory (#47220)
ref pingcap/tidb#47219
|
2023-09-25 08:00:32 +00:00 |
|
|
|
e8247b5210
|
*: make IsVirtualGeneratedColumn more readable (#47203)
|
2023-09-22 12:12:14 +00:00 |
|
|
|
db4ebd7d5c
|
statistics: remove useless partition stats cache (#47201)
ref pingcap/tidb#46905
|
2023-09-22 09:45:29 +00:00 |
|
|
|
47bc0193be
|
planner: move auto_analyze code into a separate package (#47194)
ref pingcap/tidb#46905
|
2023-09-22 09:06:22 +00:00 |
|
|
|
8fcbcd9a0f
|
planner: move index_usage code into a separate package (#47163)
ref pingcap/tidb#46905
|
2023-09-22 05:11:34 +00:00 |
|
|
|
71e5858366
|
statistics: remove useless copy in the MergePartitionStats2GlobalStats (#47144)
|
2023-09-21 01:15:12 +00:00 |
|
|
|
3b21c7a79a
|
statistics: use swiss table to improve fmsketch (#47055)
close pingcap/tidb#47057
|
2023-09-20 14:52:42 +00:00 |
|
|
|
b20237f358
|
statistics: simple globalstats (#47129)
ref pingcap/tidb#46905
|
2023-09-20 11:58:44 +00:00 |
|
|
|
7d4c63e93c
|
statistics: clean up lock info when the table is deleted (#47127)
ref pingcap/tidb#46351
|
2023-09-20 10:07:50 +00:00 |
|
|
|
d569d195f6
|
statistics: faster gzip (#47103)
close pingcap/tidb#47104
|
2023-09-20 04:43:43 +00:00 |
|
|
|
bb49dc1702
|
statstics: reuse fmsketch (#47070)
close pingcap/tidb#47071
|
2023-09-19 15:48:14 +00:00 |
|
|
|
8f0b9d5d46
|
planner: remove StatsHandler.mu (#47082)
ref pingcap/tidb#46905
|
2023-09-19 13:10:42 +00:00 |
|
|
|
4bd39b5fd7
|
statistics: add comments and change isIndex to bool (#47062)
|
2023-09-19 09:07:42 +00:00 |
|
|
|
789de8dff6
|
statistics: add better API and better logs for lock stats (#47024)
ref pingcap/tidb#46351
|
2023-09-19 07:12:12 +00:00 |
|
|
|
fdff1e6cc2
|
planner: use the session pool to execute SQLs in statshandler (#47065)
ref pingcap/tidb#46905
|
2023-09-19 06:19:42 +00:00 |
|
|
|
4cc6c6542f
|
planner: create a separate unified function to update variables for statistics sctx (#47051)
ref pingcap/tidb#46905
|
2023-09-18 10:34:40 +00:00 |
|
|
|
35add6fc4b
|
statistics: use MurmurPool to reuse the memory (#47015)
close pingcap/tidb#47016
|
2023-09-18 05:30:11 +00:00 |
|
|
|
bf173ebe55
|
planner: use the session pool to execute SQLs in statshandler (#47007)
ref pingcap/tidb#46905
|
2023-09-18 03:25:40 +00:00 |
|
|
|
135898491e
|
executor, statistics: add logs in failpoint to debug flaky test (#47013)
ref pingcap/tidb#46992
|
2023-09-15 17:01:40 +00:00 |
|
|
|
8b15111454
|
planner: support lock/unlock stats of partition tables (#46768)
ref pingcap/tidb#46351
|
2023-09-15 12:55:40 +00:00 |
|
|
|
beb2a36d16
|
statistics: use slices.SortStableFunc to simple SortSampleItems (#47009)
ref pingcap/tidb#45933
|
2023-09-15 11:58:40 +00:00 |
|
|
|
9ec78729fa
|
statistics: use slices.BinarySearchFunc to simple TopN.FindTopN (#46996)
ref pingcap/tidb#45933
|
2023-09-15 03:42:09 +00:00 |
|
|
|
e890aede71
|
handle: add global status handler (#46974)
ref pingcap/tidb#46905
|
2023-09-14 15:18:09 +00:00 |
|
|
|
322104f15f
|
planner: refactor to make tableStatsDelta thread-safe (#46977)
ref pingcap/tidb#46905
|
2023-09-14 13:40:41 +00:00 |
|
|
|
0069b40b0a
|
statistics: prealloc right size for NewTopN (#46966)
close pingcap/tidb#46967
|
2023-09-14 07:49:46 +00:00 |
|
|
|
a7617f3d22
|
planner: refactor to make colStatsUsageMap thread-safe (#46949)
ref pingcap/tidb#46905
|
2023-09-14 06:58:39 +00:00 |
|
|
|
fd7ff09ff9
|
*: support collect and async load stats for mv index (#46731)
ref pingcap/tidb#46539
|
2023-09-13 15:22:39 +00:00 |
|
|
|
dd61802074
|
statistics: add pool in the buildBucket4Merging to reuse datum (#46926)
close pingcap/tidb#46804
|
2023-09-13 12:25:58 +00:00 |
|
|
|
2c4e8dc9bb
|
*: unite stats cache's GET (#46939)
ref pingcap/tidb#46905
|
2023-09-13 11:15:09 +00:00 |
|
|
|
5c205a7c93
|
statistics: use RWMutex in AnalyzeProgress (#46895)
|
2023-09-12 09:58:56 +00:00 |
|
|
|
b7cada237a
|
planner, stats: clean the called of Index.CheckStats (#46868)
ref pingcap/tidb#46867
|
2023-09-12 06:28:39 +00:00 |
|
|
|
51f1a828e4
|
statistics: record last gc ts to avoid huge read on stats table (#46138)
close pingcap/tidb#31778, close pingcap/tidb#45966
|
2023-09-11 14:43:41 +00:00 |
|
|
|
789d6d0b97
|
statistics: add sync.Pool for bucket4Merging (#46803)
close pingcap/tidb#46804
|
2023-09-11 13:24:14 +00:00 |
|
|
|
c65543a457
|
statistics: add historgram bench for MergePartitionHist2GlobalHist (#46788)
close pingcap/tidb#46805
|
2023-09-11 04:46:40 +00:00 |
|
|
|
78d189732f
|
planner: add privilege check for lock/unlock stats (#46742)
ref pingcap/tidb#46351
|
2023-09-08 08:15:56 +00:00 |
|
|
|
36155bcc65
|
statstics: fix update the value of LFU's MaxCost (#46743)
close pingcap/tidb#46585
|
2023-09-07 14:44:14 +00:00 |
|
|
|
777e6da4db
|
statistics: improve query locked table API memory usage (#46708)
ref pingcap/tidb#46351
|
2023-09-07 01:41:14 +00:00 |
|
|
|
d8dbc4fcd6
|
statistics: use session pool when locking or unlocking table stats (#46611)
ref pingcap/tidb#46351
|
2023-09-05 12:11:24 +00:00 |
|
|
|
a4b3df5a8c
|
statistics: add update metrics for stats cache (#46665)
close pingcap/tidb#46577
|
2023-09-05 10:33:50 +00:00 |
|
|
|
5706519375
|
statistics: fix global index statistics (#46367)
close pingcap/tidb#46366
|
2023-09-05 01:41:12 +00:00 |
|
|
|
28f91c81e6
|
statistics: improve the memory usage for stats cache (#46586)
close pingcap/tidb#46585
|
2023-09-04 10:14:14 +00:00 |
|
|
|
93dce262f1
|
statistics: remove lockedTable cache (#46555)
ref pingcap/tidb#46351
|
2023-09-02 03:53:13 +00:00 |
|
|
|
711941012a
|
*: provide a variable to ignore the real-time stats in the planner (#43988)
close pingcap/tidb#46080
|
2023-09-01 15:03:42 +00:00 |
|
|
|
a051fd5abb
|
statistics: fix the cost metrics for stats cache (#46590)
close pingcap/tidb#46577
|
2023-09-01 09:38:11 +00:00 |
|
|
|
64a2e1c20a
|
statistics: fix the metrics for stats cache (#46574)
close pingcap/tidb#46577
|
2023-09-01 03:41:09 +00:00 |
|
|
|
dd52cc3da0
|
statistics: improve default NumCounters in the LFU stats cache (#46549)
close pingcap/tidb#46554
|
2023-08-31 06:48:39 +00:00 |
|
|
|
187573b077
|
statistics: rewrite unlock stats handler (#46478)
ref pingcap/tidb#46351
|
2023-08-30 12:47:08 +00:00 |
|
|
|
99738a3b9b
|
config: enable-stats-cache-mem-quota is set to enable by default (#46130)
close pingcap/tidb#46158
|
2023-08-30 07:03:38 +00:00 |
|
|
|
2db93cd0fc
|
planner: move some estimation functions from the physical-optimization package into cardinality package (#46479)
ref pingcap/tidb#46358
|
2023-08-29 12:56:07 +00:00 |
|
|
|
603a15f729
|
statistics: split lock stats handler and rewrite the insert SQL (#46403)
ref pingcap/tidb#46351
|
2023-08-29 07:41:08 +00:00 |
|