Analyzing Schema Change Storage Risk

Estimates storage requirements for CockroachDB online schema change backfills using SHOW RANGES WITH DETAILS, KEYS, INDEXES. Use before CREATE INDEX, ADD COLUMN with INDEX/UNIQUE, ALTER PRIMARY KEY, CREATE MATERIALIZED VIEW, CREATE TABLE AS, REFRESH, or SET LOCALITY on tables with large per-index footprints, to avoid mid-backfill disk exhaustion.

cockroachdb 2a422ba 2 files · 15.8 KB Updated

File contents

cockroachdb/copilot-plugin/tree/main/.github/skills/analyzing-schema-change-storage-risk commit 2a422ba319

Frequently asked questions

npx skillmds@latest add cockroachdb/analyzing-schema-change-storage-risk