history

package
v1.1.0-beta.0...-05cff08 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 10 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(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 *util.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