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

sql: create system.mvcc_statistics table and update job #111365

Commits on Oct 3, 2023

  1. sql: create system.mvcc_statistics table and update job

    The system.mvcc_statistics table stores historical mvcc data
    for a tenant's SQL objects. It's purpose it to serve mvcc data for a
    SQL object quickly - The span stats API is too slow to use in a hot path.
    Storing data over time unlocks new use cases like showing a table or
    index's accumulated garbage over time.
    
    The MVCCStatisticsUpdate Job is responsible for managing the contents of
    the table, decoupled from the read-hotpath.
    
    Both the table and job are baked when a cluster bootstraps itself, or upgrades
    itself from a previous version.
    
    Epic: CRDB-25491
    Release note: None
    Zach Lite committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    541f9d4 View commit details
    Browse the repository at this point in the history