8000 backfill: lazy backfill · Issue #126850 · cockroachdb/cockroach · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
backfill: lazy backfill #126850
Open
@annrpom

Description

@annrpom

We should look into doing something like https://www.2ndquadrant.com/en/blog/add-new-table-column-default-value-postgresql-11/:

In a new feature I worked on and committed, the default value is just stored in the catalog and used where needed in rows existing at the time the change was made. New rows, and new versions of existing rows, are written with the default value in place, as happens now.

We might consider allowing users to specify when to issue the rest of the backfill job so that they can avoid periods of heavy cluster traffic

We need to be sure to consider how this approach might affect AOST (time-travel) queries that read historical data.

https://cockroachlabs.slack.com/archives/C04N0AS14CT/p1716479612947039

Jira issue: CRDB-40160

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0