history

package
v1.1.0-beta.0...-d5b6b69 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStatsHistory

func NewStatsHistory(statsHandle types.StatsHandle,
) types.StatsHistory

NewStatsHistory creates a new StatsHistory.

func RecordHistoricalStatsMeta

func RecordHistoricalStatsMeta(
	ctx context.Context,
	sctx sessionctx.Context,
	tableID int64,
	version uint64,
	source string,
) error

RecordHistoricalStatsMeta records the historical stats meta.

func RecordHistoricalStatsToStorage

func RecordHistoricalStatsToStorage(sctx sessionctx.Context, physicalID int64, js *statsutil.JSONTable) (uint64, error)

RecordHistoricalStatsToStorage records the given table's stats data to mysql.stats_history

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL