Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

statistics: optimize stats delta dumping with batch processing #58791

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
statistics: update comment to clarify batch stats delta dumping
Signed-off-by: Rustin170506 <techregister@pm.me>
  • Loading branch information
Rustin170506 committed Jan 8, 2025
commit ab24c3b0f8ed191ae52e627ce2300d01a5930f7c
2 changes: 1 addition & 1 deletion pkg/statistics/handle/handletest/statstest/stats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ func TestDumpStatsDeltaInBatch(t *testing.T) {
testKit.MustExec("create table t2 (c1 int, c2 int)")
testKit.MustExec("insert into t2 values (1, 1), (2, 2), (3, 3)")

// Dump stats delta once.
// Dump stats delta in one batch.
handle := dom.StatsHandle()
require.NoError(t, handle.DumpStatsDeltaToKV(true))

Expand Down