[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-cockroachdb-molt-replicator":3,"mdc--o67hh4-key":42,"related-org-cockroachdb-molt-replicator":2073,"related-repo-cockroachdb-molt-replicator":2238},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":28,"repoUrl":29,"updatedAt":30,"license":31,"forks":32,"topics":33,"repo":37,"sourceUrl":40,"mdContent":41},"molt-replicator","replicate data to CockroachDB","Guide for using the CockroachDB replicator to continuously replicate changes from PostgreSQL, MySQL, or Oracle to CockroachDB after an initial molt fetch data load. Use when setting up CDC replication, configuring pglogical\u002Fmylogical\u002Foraclelogminer, or managing the fetch → replicator cutover workflow.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"cockroachdb","CockroachDB","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fcockroachdb.png",[12,16,19,22,25],{"name":13,"slug":14,"type":15},"ETL","etl","tag",{"name":17,"slug":18,"type":15},"Data Pipeline","data-pipeline",{"name":20,"slug":21,"type":15},"MySQL","mysql",{"name":23,"slug":24,"type":15},"Database","database",{"name":26,"slug":27,"type":15},"PostgreSQL","postgresql",3,"https:\u002F\u002Fgithub.com\u002Fcockroachdb\u002Fclaude-plugin","2026-07-25T05:31:19.31641",null,2,[34,35,8,36],"claude","cockroach-cloud","developer-tools",{"repoUrl":29,"stars":28,"forks":32,"topics":38,"description":39},[34,35,8,36],"CockroachDB development plugin for Claude","https:\u002F\u002Fgithub.com\u002Fcockroachdb\u002Fclaude-plugin\u002Ftree\u002FHEAD\u002Fskills\u002Fcockroachdb-onboarding-and-migrations\u002Fmolt-replicator","---\nname: molt-replicator\ndescription: Guide for using the CockroachDB replicator to continuously replicate changes from PostgreSQL, MySQL, or Oracle to CockroachDB after an initial molt fetch data load. Use when setting up CDC replication, configuring pglogical\u002Fmylogical\u002Foraclelogminer, or managing the fetch → replicator cutover workflow.\ncompatibility: Requires separate replicator binary (not part of molt). Staging CockroachDB database required. Source DB must support logical replication.\nmetadata:\n  author: cockroachdb\n  version: \"1.0\"\n---\n\n# molt replicator\n\nContinuous change-data-capture (CDC) replication from source databases to CockroachDB. Run **after** `molt fetch` completes the initial bulk load.\n\n> **Important**: replicator is a **separate binary** from `molt`. It is not invoked by `molt fetch`. The `data-load-and-replication` mode in molt fetch is deprecated — use replicator directly instead.\n\n## Architecture\n\n```\nSource DB ──► [replicator] ──► Staging DB (_replicator schema) ──► Target CockroachDB\n                  ▲\n            Publication\u002F\n            Slot\u002FBinLog\u002F\n            LogMiner\n```\n\nReplicator reads changes from the source, buffers them in a staging schema on the target CRDB cluster, and applies them to the target tables.\n\n## Subcommands by Source\n\n| Source | Command |\n|--------|---------|\n| PostgreSQL | `replicator pglogical` |\n| MySQL | `replicator mylogical` |\n| Oracle | `replicator oraclelogminer` |\n| Kafka | `replicator kafka` |\n| Cloud storage | `replicator objstore` |\n| CockroachDB CDC | `replicator start` |\n\n## Full Fetch → Replicator Workflow\n\n### Step 1: Initial bulk load with molt fetch\n\n`drop-on-target-and-recreate` drops any existing target tables first; run this only against a fresh or empty target.\n\n```bash\nmolt fetch \\\n  --source \"postgresql:\u002F\u002F\u003Cuser>:\u003Cpassword>@source:5432\u002Fdb\" \\\n  --target \"postgresql:\u002F\u002Froot@crdb:26257\u002Fdb\" \\\n  --bucket-path \"s3:\u002F\u002Fmybucket\u002Fmigration\" \\\n  --table-handling drop-on-target-and-recreate\n```\n\n### Step 2: Create publication on source (PostgreSQL)\n\n```sql\n-- Run on source PostgreSQL:\nCREATE PUBLICATION molt_fetch FOR ALL TABLES;\n-- (molt fetch may have already created this; check first)\n```\n\n### Step 3: Create staging database on target\n\n```sql\n-- Run on target CockroachDB:\nCREATE DATABASE _replicator;\n```\n\n### Step 4: Test connectivity\n\n```bash\n# preflight only takes --stagingConn and --targetConn (always required for the\n# target; stagingConn required if the target is not CRDB)\nreplicator preflight \\\n  --stagingConn \"postgresql:\u002F\u002Froot@crdb:26257\u002F_replicator\" \\\n  --targetConn \"postgresql:\u002F\u002Froot@crdb:26257\u002Fdb\"\n```\n\n### Step 5: Start replicator\n\n```bash\nreplicator pglogical \\\n  --publicationName \"molt_fetch\" \\\n  --sourceConn \"postgresql:\u002F\u002F\u003Cuser>:\u003Cpassword>@source:5432\u002Fdb\" \\\n  --stagingConn \"postgresql:\u002F\u002Froot@crdb:26257\u002F_replicator\" \\\n  --stagingSchema \"_replicator.public\" \\\n  --targetConn \"postgresql:\u002F\u002Froot@crdb:26257\u002Fdb\" \\\n  --targetSchema \"public\" \\\n  --metricsAddr \"0.0.0.0:8080\"\n```\n\n### Step 6: Monitor lag\n\n```bash\ncurl http:\u002F\u002Flocalhost:8080\u002Fmetrics | grep replicator_\n# Watch for: mutations applied, unapplied mutations, lag\n```\n\n### Step 7: Cutover\n\n1. When lag reaches ~0, redirect app writes to CockroachDB\n2. Let replicator drain remaining changes\n3. Confirm no new writes on source\n4. Stop replicator\n5. Decommission the source only after `molt verify` passes and a source backup is confirmed\n\n## Source-Specific Setup\n\n### PostgreSQL (pglogical)\n\n**Source prerequisites:**\n- User with `REPLICATION` privilege\n- Logical replication enabled (`wal_level = logical`)\n- Publication exists (created by `molt fetch` or manually)\n\n```bash\nreplicator pglogical \\\n  --publicationName \"molt_fetch\" \\\n  --slotName \"replicator\" \\\n  --sourceConn \"postgresql:\u002F\u002F...\" \\\n  --stagingConn \"postgresql:\u002F\u002Froot@crdb:26257\u002F_replicator\" \\\n  --stagingSchema \"_replicator.public\" \\\n  --targetConn \"postgresql:\u002F\u002Froot@crdb:26257\u002Fdb\" \\\n  --targetSchema \"public\"\n```\n\n### MySQL (mylogical)\n\n**Source prerequisites:**\n- Binary logging enabled (`binlog_format = ROW`)\n- GTID mode on (`gtid_mode=ON`, `enforce_gtid_consistency=ON`)\n- User with `REPLICATION CLIENT` privilege\n\n```bash\nreplicator mylogical \\\n  --sourceConn \"mysql:\u002F\u002F\u003Cuser>:\u003Cpassword>@source:3306\u002Fdb\" \\\n  --stagingConn \"postgresql:\u002F\u002Froot@crdb:26257\u002F_replicator\" \\\n  --stagingSchema \"_replicator.public\" \\\n  --targetConn \"postgresql:\u002F\u002Froot@crdb:26257\u002Fdb\" \\\n  --targetSchema \"public\"\n```\n\n### Oracle (oraclelogminer)\n\n**Source prerequisites:**\n- Archive log mode enabled\n- Supplemental logging enabled\n- LogMiner permissions granted\n\n```bash\nreplicator oraclelogminer \\\n  --sourceConn \"oracle:\u002F\u002F\u003Cuser>:\u003Cpassword>@oracle:1521\u002Fdb\" \\\n  --stagingConn \"postgresql:\u002F\u002Froot@crdb:26257\u002F_replicator\" \\\n  --stagingSchema \"_replicator.public\" \\\n  --targetConn \"postgresql:\u002F\u002Froot@crdb:26257\u002Fdb\" \\\n  --targetSchema \"public\"\n```\n\n## Key Flags\n\n```bash\n# Performance\n--parallelism 16          # concurrent DB transactions (default: 16)\n--flushSize 1000          # rows per batch (default: 1000)\n--flushPeriod 1s          # flush interval (default: 1s)\n\n# Staging connection pool\n--stagingMaxPoolSize 128\n--stagingIdleTime 1m\n--stagingMaxLifetime 5m\n\n# Target connection pool\n--targetMaxPoolSize 128\n--targetStatementCacheSize 128\n\n# Retry\n--maxRetries 10\n--retryInitialBackoff 25ms\n--retryMaxBackoff 2s\n\n# Monitoring\n--metricsAddr \"0.0.0.0:8080\"    # Prometheus metrics endpoint\n--schemaRefresh 1m               # refresh schema cache (0 = disabled)\n\n# Dead letter queue (failed rows instead of stopping)\n--dlqTableName \"replicator_dlq\"\n\n# Logging\n-v                               # debug\n-vv                              # trace\n--logFormat fluent                # for log aggregators\n--logDestination \"\u002Fvar\u002Flog\u002Freplicator.log\"\n```\n\n## Gotchas\n\n- Staging schema (`_replicator.public`) is auto-created by replicator, but the **database** (`_replicator`) must exist first\n- `--publicationName` and `--slotName` must match what `molt fetch` created. `molt fetch`'s `--pglogical-publication-name` defaults to `molt_fetch` and its `--pglogical-replication-slot-name` has no default; on the replicator side, `--publicationName` has no default and `--slotName` defaults to `replicator`. If the names don't line up, set both explicitly on both sides.\n- DLQ table grows over time — monitor and purge failed rows periodically\n- Replicator holds an open replication slot on the source — this blocks WAL cleanup; monitor source disk usage\n- Graceful shutdown respects `--gracePeriod` (default: 30s); don't SIGKILL without it\n- No built-in alerting — set up external alerts on the Prometheus metrics endpoint\n- Long cutover windows increase replication lag — plan for a maintenance window if needed\n\nSee [flags reference](references\u002Fflags.md) for the full flag list.\n",{"data":43,"body":47},{"name":4,"description":6,"compatibility":44,"metadata":45},"Requires separate replicator binary (not part of molt). Staging CockroachDB database required. Source DB must support logical replication.",{"author":8,"version":46},"1.0",{"type":48,"children":49},"root",[50,58,81,125,132,144,149,155,283,289,296,307,432,438,471,477,500,506,593,599,791,797,840,846,884,890,896,904,946,1127,1133,1140,1186,1321,1327,1334,1352,1487,1493,1909,1915,2053,2067],{"type":51,"tag":52,"props":53,"children":54},"element","h1",{"id":4},[55],{"type":56,"value":57},"text","molt replicator",{"type":51,"tag":59,"props":60,"children":61},"p",{},[62,64,70,72,79],{"type":56,"value":63},"Continuous change-data-capture (CDC) replication from source databases to CockroachDB. Run ",{"type":51,"tag":65,"props":66,"children":67},"strong",{},[68],{"type":56,"value":69},"after",{"type":56,"value":71}," ",{"type":51,"tag":73,"props":74,"children":76},"code",{"className":75},[],[77],{"type":56,"value":78},"molt fetch",{"type":56,"value":80}," completes the initial bulk load.",{"type":51,"tag":82,"props":83,"children":84},"blockquote",{},[85],{"type":51,"tag":59,"props":86,"children":87},{},[88,93,95,100,102,108,110,115,117,123],{"type":51,"tag":65,"props":89,"children":90},{},[91],{"type":56,"value":92},"Important",{"type":56,"value":94},": replicator is a ",{"type":51,"tag":65,"props":96,"children":97},{},[98],{"type":56,"value":99},"separate binary",{"type":56,"value":101}," from ",{"type":51,"tag":73,"props":103,"children":105},{"className":104},[],[106],{"type":56,"value":107},"molt",{"type":56,"value":109},". It is not invoked by ",{"type":51,"tag":73,"props":111,"children":113},{"className":112},[],[114],{"type":56,"value":78},{"type":56,"value":116},". The ",{"type":51,"tag":73,"props":118,"children":120},{"className":119},[],[121],{"type":56,"value":122},"data-load-and-replication",{"type":56,"value":124}," mode in molt fetch is deprecated — use replicator directly instead.",{"type":51,"tag":126,"props":127,"children":129},"h2",{"id":128},"architecture",[130],{"type":56,"value":131},"Architecture",{"type":51,"tag":133,"props":134,"children":138},"pre",{"className":135,"code":137,"language":56},[136],"language-text","Source DB ──► [replicator] ──► Staging DB (_replicator schema) ──► Target CockroachDB\n                  ▲\n            Publication\u002F\n            Slot\u002FBinLog\u002F\n            LogMiner\n",[139],{"type":51,"tag":73,"props":140,"children":142},{"__ignoreMap":141},"",[143],{"type":56,"value":137},{"type":51,"tag":59,"props":145,"children":146},{},[147],{"type":56,"value":148},"Replicator reads changes from the source, buffers them in a staging schema on the target CRDB cluster, and applies them to the target tables.",{"type":51,"tag":126,"props":150,"children":152},{"id":151},"subcommands-by-source",[153],{"type":56,"value":154},"Subcommands by Source",{"type":51,"tag":156,"props":157,"children":158},"table",{},[159,178],{"type":51,"tag":160,"props":161,"children":162},"thead",{},[163],{"type":51,"tag":164,"props":165,"children":166},"tr",{},[167,173],{"type":51,"tag":168,"props":169,"children":170},"th",{},[171],{"type":56,"value":172},"Source",{"type":51,"tag":168,"props":174,"children":175},{},[176],{"type":56,"value":177},"Command",{"type":51,"tag":179,"props":180,"children":181},"tbody",{},[182,199,215,232,249,266],{"type":51,"tag":164,"props":183,"children":184},{},[185,190],{"type":51,"tag":186,"props":187,"children":188},"td",{},[189],{"type":56,"value":26},{"type":51,"tag":186,"props":191,"children":192},{},[193],{"type":51,"tag":73,"props":194,"children":196},{"className":195},[],[197],{"type":56,"value":198},"replicator pglogical",{"type":51,"tag":164,"props":200,"children":201},{},[202,206],{"type":51,"tag":186,"props":203,"children":204},{},[205],{"type":56,"value":20},{"type":51,"tag":186,"props":207,"children":208},{},[209],{"type":51,"tag":73,"props":210,"children":212},{"className":211},[],[213],{"type":56,"value":214},"replicator mylogical",{"type":51,"tag":164,"props":216,"children":217},{},[218,223],{"type":51,"tag":186,"props":219,"children":220},{},[221],{"type":56,"value":222},"Oracle",{"type":51,"tag":186,"props":224,"children":225},{},[226],{"type":51,"tag":73,"props":227,"children":229},{"className":228},[],[230],{"type":56,"value":231},"replicator oraclelogminer",{"type":51,"tag":164,"props":233,"children":234},{},[235,240],{"type":51,"tag":186,"props":236,"children":237},{},[238],{"type":56,"value":239},"Kafka",{"type":51,"tag":186,"props":241,"children":242},{},[243],{"type":51,"tag":73,"props":244,"children":246},{"className":245},[],[247],{"type":56,"value":248},"replicator kafka",{"type":51,"tag":164,"props":250,"children":251},{},[252,257],{"type":51,"tag":186,"props":253,"children":254},{},[255],{"type":56,"value":256},"Cloud storage",{"type":51,"tag":186,"props":258,"children":259},{},[260],{"type":51,"tag":73,"props":261,"children":263},{"className":262},[],[264],{"type":56,"value":265},"replicator objstore",{"type":51,"tag":164,"props":267,"children":268},{},[269,274],{"type":51,"tag":186,"props":270,"children":271},{},[272],{"type":56,"value":273},"CockroachDB CDC",{"type":51,"tag":186,"props":275,"children":276},{},[277],{"type":51,"tag":73,"props":278,"children":280},{"className":279},[],[281],{"type":56,"value":282},"replicator start",{"type":51,"tag":126,"props":284,"children":286},{"id":285},"full-fetch-replicator-workflow",[287],{"type":56,"value":288},"Full Fetch → Replicator Workflow",{"type":51,"tag":290,"props":291,"children":293},"h3",{"id":292},"step-1-initial-bulk-load-with-molt-fetch",[294],{"type":56,"value":295},"Step 1: Initial bulk load with molt fetch",{"type":51,"tag":59,"props":297,"children":298},{},[299,305],{"type":51,"tag":73,"props":300,"children":302},{"className":301},[],[303],{"type":56,"value":304},"drop-on-target-and-recreate",{"type":56,"value":306}," drops any existing target tables first; run this only against a fresh or empty target.",{"type":51,"tag":133,"props":308,"children":312},{"className":309,"code":310,"language":311,"meta":141,"style":141},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","molt fetch \\\n  --source \"postgresql:\u002F\u002F\u003Cuser>:\u003Cpassword>@source:5432\u002Fdb\" \\\n  --target \"postgresql:\u002F\u002Froot@crdb:26257\u002Fdb\" \\\n  --bucket-path \"s3:\u002F\u002Fmybucket\u002Fmigration\" \\\n  --table-handling drop-on-target-and-recreate\n","bash",[313],{"type":51,"tag":73,"props":314,"children":315},{"__ignoreMap":141},[316,339,367,392,418],{"type":51,"tag":317,"props":318,"children":321},"span",{"class":319,"line":320},"line",1,[322,327,333],{"type":51,"tag":317,"props":323,"children":325},{"style":324},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[326],{"type":56,"value":107},{"type":51,"tag":317,"props":328,"children":330},{"style":329},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[331],{"type":56,"value":332}," fetch",{"type":51,"tag":317,"props":334,"children":336},{"style":335},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[337],{"type":56,"value":338}," \\\n",{"type":51,"tag":317,"props":340,"children":341},{"class":319,"line":32},[342,347,353,358,363],{"type":51,"tag":317,"props":343,"children":344},{"style":329},[345],{"type":56,"value":346},"  --source",{"type":51,"tag":317,"props":348,"children":350},{"style":349},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[351],{"type":56,"value":352}," \"",{"type":51,"tag":317,"props":354,"children":355},{"style":329},[356],{"type":56,"value":357},"postgresql:\u002F\u002F\u003Cuser>:\u003Cpassword>@source:5432\u002Fdb",{"type":51,"tag":317,"props":359,"children":360},{"style":349},[361],{"type":56,"value":362},"\"",{"type":51,"tag":317,"props":364,"children":365},{"style":335},[366],{"type":56,"value":338},{"type":51,"tag":317,"props":368,"children":369},{"class":319,"line":28},[370,375,379,384,388],{"type":51,"tag":317,"props":371,"children":372},{"style":329},[373],{"type":56,"value":374},"  --target",{"type":51,"tag":317,"props":376,"children":377},{"style":349},[378],{"type":56,"value":352},{"type":51,"tag":317,"props":380,"children":381},{"style":329},[382],{"type":56,"value":383},"postgresql:\u002F\u002Froot@crdb:26257\u002Fdb",{"type":51,"tag":317,"props":385,"children":386},{"style":349},[387],{"type":56,"value":362},{"type":51,"tag":317,"props":389,"children":390},{"style":335},[391],{"type":56,"value":338},{"type":51,"tag":317,"props":393,"children":395},{"class":319,"line":394},4,[396,401,405,410,414],{"type":51,"tag":317,"props":397,"children":398},{"style":329},[399],{"type":56,"value":400},"  --bucket-path",{"type":51,"tag":317,"props":402,"children":403},{"style":349},[404],{"type":56,"value":352},{"type":51,"tag":317,"props":406,"children":407},{"style":329},[408],{"type":56,"value":409},"s3:\u002F\u002Fmybucket\u002Fmigration",{"type":51,"tag":317,"props":411,"children":412},{"style":349},[413],{"type":56,"value":362},{"type":51,"tag":317,"props":415,"children":416},{"style":335},[417],{"type":56,"value":338},{"type":51,"tag":317,"props":419,"children":421},{"class":319,"line":420},5,[422,427],{"type":51,"tag":317,"props":423,"children":424},{"style":329},[425],{"type":56,"value":426},"  --table-handling",{"type":51,"tag":317,"props":428,"children":429},{"style":329},[430],{"type":56,"value":431}," drop-on-target-and-recreate\n",{"type":51,"tag":290,"props":433,"children":435},{"id":434},"step-2-create-publication-on-source-postgresql",[436],{"type":56,"value":437},"Step 2: Create publication on source (PostgreSQL)",{"type":51,"tag":133,"props":439,"children":443},{"className":440,"code":441,"language":442,"meta":141,"style":141},"language-sql shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","-- Run on source PostgreSQL:\nCREATE PUBLICATION molt_fetch FOR ALL TABLES;\n-- (molt fetch may have already created this; check first)\n","sql",[444],{"type":51,"tag":73,"props":445,"children":446},{"__ignoreMap":141},[447,455,463],{"type":51,"tag":317,"props":448,"children":449},{"class":319,"line":320},[450],{"type":51,"tag":317,"props":451,"children":452},{},[453],{"type":56,"value":454},"-- Run on source PostgreSQL:\n",{"type":51,"tag":317,"props":456,"children":457},{"class":319,"line":32},[458],{"type":51,"tag":317,"props":459,"children":460},{},[461],{"type":56,"value":462},"CREATE PUBLICATION molt_fetch FOR ALL TABLES;\n",{"type":51,"tag":317,"props":464,"children":465},{"class":319,"line":28},[466],{"type":51,"tag":317,"props":467,"children":468},{},[469],{"type":56,"value":470},"-- (molt fetch may have already created this; check first)\n",{"type":51,"tag":290,"props":472,"children":474},{"id":473},"step-3-create-staging-database-on-target",[475],{"type":56,"value":476},"Step 3: Create staging database on target",{"type":51,"tag":133,"props":478,"children":480},{"className":440,"code":479,"language":442,"meta":141,"style":141},"-- Run on target CockroachDB:\nCREATE DATABASE _replicator;\n",[481],{"type":51,"tag":73,"props":482,"children":483},{"__ignoreMap":141},[484,492],{"type":51,"tag":317,"props":485,"children":486},{"class":319,"line":320},[487],{"type":51,"tag":317,"props":488,"children":489},{},[490],{"type":56,"value":491},"-- Run on target CockroachDB:\n",{"type":51,"tag":317,"props":493,"children":494},{"class":319,"line":32},[495],{"type":51,"tag":317,"props":496,"children":497},{},[498],{"type":56,"value":499},"CREATE DATABASE _replicator;\n",{"type":51,"tag":290,"props":501,"children":503},{"id":502},"step-4-test-connectivity",[504],{"type":56,"value":505},"Step 4: Test connectivity",{"type":51,"tag":133,"props":507,"children":509},{"className":309,"code":508,"language":311,"meta":141,"style":141},"# preflight only takes --stagingConn and --targetConn (always required for the\n# target; stagingConn required if the target is not CRDB)\nreplicator preflight \\\n  --stagingConn \"postgresql:\u002F\u002Froot@crdb:26257\u002F_replicator\" \\\n  --targetConn \"postgresql:\u002F\u002Froot@crdb:26257\u002Fdb\"\n",[510],{"type":51,"tag":73,"props":511,"children":512},{"__ignoreMap":141},[513,522,530,547,572],{"type":51,"tag":317,"props":514,"children":515},{"class":319,"line":320},[516],{"type":51,"tag":317,"props":517,"children":519},{"style":518},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[520],{"type":56,"value":521},"# preflight only takes --stagingConn and --targetConn (always required for the\n",{"type":51,"tag":317,"props":523,"children":524},{"class":319,"line":32},[525],{"type":51,"tag":317,"props":526,"children":527},{"style":518},[528],{"type":56,"value":529},"# target; stagingConn required if the target is not CRDB)\n",{"type":51,"tag":317,"props":531,"children":532},{"class":319,"line":28},[533,538,543],{"type":51,"tag":317,"props":534,"children":535},{"style":324},[536],{"type":56,"value":537},"replicator",{"type":51,"tag":317,"props":539,"children":540},{"style":329},[541],{"type":56,"value":542}," preflight",{"type":51,"tag":317,"props":544,"children":545},{"style":335},[546],{"type":56,"value":338},{"type":51,"tag":317,"props":548,"children":549},{"class":319,"line":394},[550,555,559,564,568],{"type":51,"tag":317,"props":551,"children":552},{"style":329},[553],{"type":56,"value":554},"  --stagingConn",{"type":51,"tag":317,"props":556,"children":557},{"style":349},[558],{"type":56,"value":352},{"type":51,"tag":317,"props":560,"children":561},{"style":329},[562],{"type":56,"value":563},"postgresql:\u002F\u002Froot@crdb:26257\u002F_replicator",{"type":51,"tag":317,"props":565,"children":566},{"style":349},[567],{"type":56,"value":362},{"type":51,"tag":317,"props":569,"children":570},{"style":335},[571],{"type":56,"value":338},{"type":51,"tag":317,"props":573,"children":574},{"class":319,"line":420},[575,580,584,588],{"type":51,"tag":317,"props":576,"children":577},{"style":329},[578],{"type":56,"value":579},"  --targetConn",{"type":51,"tag":317,"props":581,"children":582},{"style":349},[583],{"type":56,"value":352},{"type":51,"tag":317,"props":585,"children":586},{"style":329},[587],{"type":56,"value":383},{"type":51,"tag":317,"props":589,"children":590},{"style":349},[591],{"type":56,"value":592},"\"\n",{"type":51,"tag":290,"props":594,"children":596},{"id":595},"step-5-start-replicator",[597],{"type":56,"value":598},"Step 5: Start replicator",{"type":51,"tag":133,"props":600,"children":602},{"className":309,"code":601,"language":311,"meta":141,"style":141},"replicator pglogical \\\n  --publicationName \"molt_fetch\" \\\n  --sourceConn \"postgresql:\u002F\u002F\u003Cuser>:\u003Cpassword>@source:5432\u002Fdb\" \\\n  --stagingConn \"postgresql:\u002F\u002Froot@crdb:26257\u002F_replicator\" \\\n  --stagingSchema \"_replicator.public\" \\\n  --targetConn \"postgresql:\u002F\u002Froot@crdb:26257\u002Fdb\" \\\n  --targetSchema \"public\" \\\n  --metricsAddr \"0.0.0.0:8080\"\n",[603],{"type":51,"tag":73,"props":604,"children":605},{"__ignoreMap":141},[606,622,647,671,694,719,743,769],{"type":51,"tag":317,"props":607,"children":608},{"class":319,"line":320},[609,613,618],{"type":51,"tag":317,"props":610,"children":611},{"style":324},[612],{"type":56,"value":537},{"type":51,"tag":317,"props":614,"children":615},{"style":329},[616],{"type":56,"value":617}," pglogical",{"type":51,"tag":317,"props":619,"children":620},{"style":335},[621],{"type":56,"value":338},{"type":51,"tag":317,"props":623,"children":624},{"class":319,"line":32},[625,630,634,639,643],{"type":51,"tag":317,"props":626,"children":627},{"style":329},[628],{"type":56,"value":629},"  --publicationName",{"type":51,"tag":317,"props":631,"children":632},{"style":349},[633],{"type":56,"value":352},{"type":51,"tag":317,"props":635,"children":636},{"style":329},[637],{"type":56,"value":638},"molt_fetch",{"type":51,"tag":317,"props":640,"children":641},{"style":349},[642],{"type":56,"value":362},{"type":51,"tag":317,"props":644,"children":645},{"style":335},[646],{"type":56,"value":338},{"type":51,"tag":317,"props":648,"children":649},{"class":319,"line":28},[650,655,659,663,667],{"type":51,"tag":317,"props":651,"children":652},{"style":329},[653],{"type":56,"value":654},"  --sourceConn",{"type":51,"tag":317,"props":656,"children":657},{"style":349},[658],{"type":56,"value":352},{"type":51,"tag":317,"props":660,"children":661},{"style":329},[662],{"type":56,"value":357},{"type":51,"tag":317,"props":664,"children":665},{"style":349},[666],{"type":56,"value":362},{"type":51,"tag":317,"props":668,"children":669},{"style":335},[670],{"type":56,"value":338},{"type":51,"tag":317,"props":672,"children":673},{"class":319,"line":394},[674,678,682,686,690],{"type":51,"tag":317,"props":675,"children":676},{"style":329},[677],{"type":56,"value":554},{"type":51,"tag":317,"props":679,"children":680},{"style":349},[681],{"type":56,"value":352},{"type":51,"tag":317,"props":683,"children":684},{"style":329},[685],{"type":56,"value":563},{"type":51,"tag":317,"props":687,"children":688},{"style":349},[689],{"type":56,"value":362},{"type":51,"tag":317,"props":691,"children":692},{"style":335},[693],{"type":56,"value":338},{"type":51,"tag":317,"props":695,"children":696},{"class":319,"line":420},[697,702,706,711,715],{"type":51,"tag":317,"props":698,"children":699},{"style":329},[700],{"type":56,"value":701},"  --stagingSchema",{"type":51,"tag":317,"props":703,"children":704},{"style":349},[705],{"type":56,"value":352},{"type":51,"tag":317,"props":707,"children":708},{"style":329},[709],{"type":56,"value":710},"_replicator.public",{"type":51,"tag":317,"props":712,"children":713},{"style":349},[714],{"type":56,"value":362},{"type":51,"tag":317,"props":716,"children":717},{"style":335},[718],{"type":56,"value":338},{"type":51,"tag":317,"props":720,"children":722},{"class":319,"line":721},6,[723,727,731,735,739],{"type":51,"tag":317,"props":724,"children":725},{"style":329},[726],{"type":56,"value":579},{"type":51,"tag":317,"props":728,"children":729},{"style":349},[730],{"type":56,"value":352},{"type":51,"tag":317,"props":732,"children":733},{"style":329},[734],{"type":56,"value":383},{"type":51,"tag":317,"props":736,"children":737},{"style":349},[738],{"type":56,"value":362},{"type":51,"tag":317,"props":740,"children":741},{"style":335},[742],{"type":56,"value":338},{"type":51,"tag":317,"props":744,"children":746},{"class":319,"line":745},7,[747,752,756,761,765],{"type":51,"tag":317,"props":748,"children":749},{"style":329},[750],{"type":56,"value":751},"  --targetSchema",{"type":51,"tag":317,"props":753,"children":754},{"style":349},[755],{"type":56,"value":352},{"type":51,"tag":317,"props":757,"children":758},{"style":329},[759],{"type":56,"value":760},"public",{"type":51,"tag":317,"props":762,"children":763},{"style":349},[764],{"type":56,"value":362},{"type":51,"tag":317,"props":766,"children":767},{"style":335},[768],{"type":56,"value":338},{"type":51,"tag":317,"props":770,"children":772},{"class":319,"line":771},8,[773,778,782,787],{"type":51,"tag":317,"props":774,"children":775},{"style":329},[776],{"type":56,"value":777},"  --metricsAddr",{"type":51,"tag":317,"props":779,"children":780},{"style":349},[781],{"type":56,"value":352},{"type":51,"tag":317,"props":783,"children":784},{"style":329},[785],{"type":56,"value":786},"0.0.0.0:8080",{"type":51,"tag":317,"props":788,"children":789},{"style":349},[790],{"type":56,"value":592},{"type":51,"tag":290,"props":792,"children":794},{"id":793},"step-6-monitor-lag",[795],{"type":56,"value":796},"Step 6: Monitor lag",{"type":51,"tag":133,"props":798,"children":800},{"className":309,"code":799,"language":311,"meta":141,"style":141},"curl http:\u002F\u002Flocalhost:8080\u002Fmetrics | grep replicator_\n# Watch for: mutations applied, unapplied mutations, lag\n",[801],{"type":51,"tag":73,"props":802,"children":803},{"__ignoreMap":141},[804,832],{"type":51,"tag":317,"props":805,"children":806},{"class":319,"line":320},[807,812,817,822,827],{"type":51,"tag":317,"props":808,"children":809},{"style":324},[810],{"type":56,"value":811},"curl",{"type":51,"tag":317,"props":813,"children":814},{"style":329},[815],{"type":56,"value":816}," http:\u002F\u002Flocalhost:8080\u002Fmetrics",{"type":51,"tag":317,"props":818,"children":819},{"style":349},[820],{"type":56,"value":821}," |",{"type":51,"tag":317,"props":823,"children":824},{"style":324},[825],{"type":56,"value":826}," grep",{"type":51,"tag":317,"props":828,"children":829},{"style":329},[830],{"type":56,"value":831}," replicator_\n",{"type":51,"tag":317,"props":833,"children":834},{"class":319,"line":32},[835],{"type":51,"tag":317,"props":836,"children":837},{"style":518},[838],{"type":56,"value":839},"# Watch for: mutations applied, unapplied mutations, lag\n",{"type":51,"tag":290,"props":841,"children":843},{"id":842},"step-7-cutover",[844],{"type":56,"value":845},"Step 7: Cutover",{"type":51,"tag":847,"props":848,"children":849},"ol",{},[850,856,861,866,871],{"type":51,"tag":851,"props":852,"children":853},"li",{},[854],{"type":56,"value":855},"When lag reaches ~0, redirect app writes to CockroachDB",{"type":51,"tag":851,"props":857,"children":858},{},[859],{"type":56,"value":860},"Let replicator drain remaining changes",{"type":51,"tag":851,"props":862,"children":863},{},[864],{"type":56,"value":865},"Confirm no new writes on source",{"type":51,"tag":851,"props":867,"children":868},{},[869],{"type":56,"value":870},"Stop replicator",{"type":51,"tag":851,"props":872,"children":873},{},[874,876,882],{"type":56,"value":875},"Decommission the source only after ",{"type":51,"tag":73,"props":877,"children":879},{"className":878},[],[880],{"type":56,"value":881},"molt verify",{"type":56,"value":883}," passes and a source backup is confirmed",{"type":51,"tag":126,"props":885,"children":887},{"id":886},"source-specific-setup",[888],{"type":56,"value":889},"Source-Specific Setup",{"type":51,"tag":290,"props":891,"children":893},{"id":892},"postgresql-pglogical",[894],{"type":56,"value":895},"PostgreSQL (pglogical)",{"type":51,"tag":59,"props":897,"children":898},{},[899],{"type":51,"tag":65,"props":900,"children":901},{},[902],{"type":56,"value":903},"Source prerequisites:",{"type":51,"tag":905,"props":906,"children":907},"ul",{},[908,921,934],{"type":51,"tag":851,"props":909,"children":910},{},[911,913,919],{"type":56,"value":912},"User with ",{"type":51,"tag":73,"props":914,"children":916},{"className":915},[],[917],{"type":56,"value":918},"REPLICATION",{"type":56,"value":920}," privilege",{"type":51,"tag":851,"props":922,"children":923},{},[924,926,932],{"type":56,"value":925},"Logical replication enabled (",{"type":51,"tag":73,"props":927,"children":929},{"className":928},[],[930],{"type":56,"value":931},"wal_level = logical",{"type":56,"value":933},")",{"type":51,"tag":851,"props":935,"children":936},{},[937,939,944],{"type":56,"value":938},"Publication exists (created by ",{"type":51,"tag":73,"props":940,"children":942},{"className":941},[],[943],{"type":56,"value":78},{"type":56,"value":945}," or manually)",{"type":51,"tag":133,"props":947,"children":949},{"className":309,"code":948,"language":311,"meta":141,"style":141},"replicator pglogical \\\n  --publicationName \"molt_fetch\" \\\n  --slotName \"replicator\" \\\n  --sourceConn \"postgresql:\u002F\u002F...\" \\\n  --stagingConn \"postgresql:\u002F\u002Froot@crdb:26257\u002F_replicator\" \\\n  --stagingSchema \"_replicator.public\" \\\n  --targetConn \"postgresql:\u002F\u002Froot@crdb:26257\u002Fdb\" \\\n  --targetSchema \"public\"\n",[950],{"type":51,"tag":73,"props":951,"children":952},{"__ignoreMap":141},[953,968,991,1015,1039,1062,1085,1108],{"type":51,"tag":317,"props":954,"children":955},{"class":319,"line":320},[956,960,964],{"type":51,"tag":317,"props":957,"children":958},{"style":324},[959],{"type":56,"value":537},{"type":51,"tag":317,"props":961,"children":962},{"style":329},[963],{"type":56,"value":617},{"type":51,"tag":317,"props":965,"children":966},{"style":335},[967],{"type":56,"value":338},{"type":51,"tag":317,"props":969,"children":970},{"class":319,"line":32},[971,975,979,983,987],{"type":51,"tag":317,"props":972,"children":973},{"style":329},[974],{"type":56,"value":629},{"type":51,"tag":317,"props":976,"children":977},{"style":349},[978],{"type":56,"value":352},{"type":51,"tag":317,"props":980,"children":981},{"style":329},[982],{"type":56,"value":638},{"type":51,"tag":317,"props":984,"children":985},{"style":349},[986],{"type":56,"value":362},{"type":51,"tag":317,"props":988,"children":989},{"style":335},[990],{"type":56,"value":338},{"type":51,"tag":317,"props":992,"children":993},{"class":319,"line":28},[994,999,1003,1007,1011],{"type":51,"tag":317,"props":995,"children":996},{"style":329},[997],{"type":56,"value":998},"  --slotName",{"type":51,"tag":317,"props":1000,"children":1001},{"style":349},[1002],{"type":56,"value":352},{"type":51,"tag":317,"props":1004,"children":1005},{"style":329},[1006],{"type":56,"value":537},{"type":51,"tag":317,"props":1008,"children":1009},{"style":349},[1010],{"type":56,"value":362},{"type":51,"tag":317,"props":1012,"children":1013},{"style":335},[1014],{"type":56,"value":338},{"type":51,"tag":317,"props":1016,"children":1017},{"class":319,"line":394},[1018,1022,1026,1031,1035],{"type":51,"tag":317,"props":1019,"children":1020},{"style":329},[1021],{"type":56,"value":654},{"type":51,"tag":317,"props":1023,"children":1024},{"style":349},[1025],{"type":56,"value":352},{"type":51,"tag":317,"props":1027,"children":1028},{"style":329},[1029],{"type":56,"value":1030},"postgresql:\u002F\u002F...",{"type":51,"tag":317,"props":1032,"children":1033},{"style":349},[1034],{"type":56,"value":362},{"type":51,"tag":317,"props":1036,"children":1037},{"style":335},[1038],{"type":56,"value":338},{"type":51,"tag":317,"props":1040,"children":1041},{"class":319,"line":420},[1042,1046,1050,1054,1058],{"type":51,"tag":317,"props":1043,"children":1044},{"style":329},[1045],{"type":56,"value":554},{"type":51,"tag":317,"props":1047,"children":1048},{"style":349},[1049],{"type":56,"value":352},{"type":51,"tag":317,"props":1051,"children":1052},{"style":329},[1053],{"type":56,"value":563},{"type":51,"tag":317,"props":1055,"children":1056},{"style":349},[1057],{"type":56,"value":362},{"type":51,"tag":317,"props":1059,"children":1060},{"style":335},[1061],{"type":56,"value":338},{"type":51,"tag":317,"props":1063,"children":1064},{"class":319,"line":721},[1065,1069,1073,1077,1081],{"type":51,"tag":317,"props":1066,"children":1067},{"style":329},[1068],{"type":56,"value":701},{"type":51,"tag":317,"props":1070,"children":1071},{"style":349},[1072],{"type":56,"value":352},{"type":51,"tag":317,"props":1074,"children":1075},{"style":329},[1076],{"type":56,"value":710},{"type":51,"tag":317,"props":1078,"children":1079},{"style":349},[1080],{"type":56,"value":362},{"type":51,"tag":317,"props":1082,"children":1083},{"style":335},[1084],{"type":56,"value":338},{"type":51,"tag":317,"props":1086,"children":1087},{"class":319,"line":745},[1088,1092,1096,1100,1104],{"type":51,"tag":317,"props":1089,"children":1090},{"style":329},[1091],{"type":56,"value":579},{"type":51,"tag":317,"props":1093,"children":1094},{"style":349},[1095],{"type":56,"value":352},{"type":51,"tag":317,"props":1097,"children":1098},{"style":329},[1099],{"type":56,"value":383},{"type":51,"tag":317,"props":1101,"children":1102},{"style":349},[1103],{"type":56,"value":362},{"type":51,"tag":317,"props":1105,"children":1106},{"style":335},[1107],{"type":56,"value":338},{"type":51,"tag":317,"props":1109,"children":1110},{"class":319,"line":771},[1111,1115,1119,1123],{"type":51,"tag":317,"props":1112,"children":1113},{"style":329},[1114],{"type":56,"value":751},{"type":51,"tag":317,"props":1116,"children":1117},{"style":349},[1118],{"type":56,"value":352},{"type":51,"tag":317,"props":1120,"children":1121},{"style":329},[1122],{"type":56,"value":760},{"type":51,"tag":317,"props":1124,"children":1125},{"style":349},[1126],{"type":56,"value":592},{"type":51,"tag":290,"props":1128,"children":1130},{"id":1129},"mysql-mylogical",[1131],{"type":56,"value":1132},"MySQL (mylogical)",{"type":51,"tag":59,"props":1134,"children":1135},{},[1136],{"type":51,"tag":65,"props":1137,"children":1138},{},[1139],{"type":56,"value":903},{"type":51,"tag":905,"props":1141,"children":1142},{},[1143,1155,1175],{"type":51,"tag":851,"props":1144,"children":1145},{},[1146,1148,1154],{"type":56,"value":1147},"Binary logging enabled (",{"type":51,"tag":73,"props":1149,"children":1151},{"className":1150},[],[1152],{"type":56,"value":1153},"binlog_format = ROW",{"type":56,"value":933},{"type":51,"tag":851,"props":1156,"children":1157},{},[1158,1160,1166,1168,1174],{"type":56,"value":1159},"GTID mode on (",{"type":51,"tag":73,"props":1161,"children":1163},{"className":1162},[],[1164],{"type":56,"value":1165},"gtid_mode=ON",{"type":56,"value":1167},", ",{"type":51,"tag":73,"props":1169,"children":1171},{"className":1170},[],[1172],{"type":56,"value":1173},"enforce_gtid_consistency=ON",{"type":56,"value":933},{"type":51,"tag":851,"props":1176,"children":1177},{},[1178,1179,1185],{"type":56,"value":912},{"type":51,"tag":73,"props":1180,"children":1182},{"className":1181},[],[1183],{"type":56,"value":1184},"REPLICATION CLIENT",{"type":56,"value":920},{"type":51,"tag":133,"props":1187,"children":1189},{"className":309,"code":1188,"language":311,"meta":141,"style":141},"replicator mylogical \\\n  --sourceConn \"mysql:\u002F\u002F\u003Cuser>:\u003Cpassword>@source:3306\u002Fdb\" \\\n  --stagingConn \"postgresql:\u002F\u002Froot@crdb:26257\u002F_replicator\" \\\n  --stagingSchema \"_replicator.public\" \\\n  --targetConn \"postgresql:\u002F\u002Froot@crdb:26257\u002Fdb\" \\\n  --targetSchema \"public\"\n",[1190],{"type":51,"tag":73,"props":1191,"children":1192},{"__ignoreMap":141},[1193,1209,1233,1256,1279,1302],{"type":51,"tag":317,"props":1194,"children":1195},{"class":319,"line":320},[1196,1200,1205],{"type":51,"tag":317,"props":1197,"children":1198},{"style":324},[1199],{"type":56,"value":537},{"type":51,"tag":317,"props":1201,"children":1202},{"style":329},[1203],{"type":56,"value":1204}," mylogical",{"type":51,"tag":317,"props":1206,"children":1207},{"style":335},[1208],{"type":56,"value":338},{"type":51,"tag":317,"props":1210,"children":1211},{"class":319,"line":32},[1212,1216,1220,1225,1229],{"type":51,"tag":317,"props":1213,"children":1214},{"style":329},[1215],{"type":56,"value":654},{"type":51,"tag":317,"props":1217,"children":1218},{"style":349},[1219],{"type":56,"value":352},{"type":51,"tag":317,"props":1221,"children":1222},{"style":329},[1223],{"type":56,"value":1224},"mysql:\u002F\u002F\u003Cuser>:\u003Cpassword>@source:3306\u002Fdb",{"type":51,"tag":317,"props":1226,"children":1227},{"style":349},[1228],{"type":56,"value":362},{"type":51,"tag":317,"props":1230,"children":1231},{"style":335},[1232],{"type":56,"value":338},{"type":51,"tag":317,"props":1234,"children":1235},{"class":319,"line":28},[1236,1240,1244,1248,1252],{"type":51,"tag":317,"props":1237,"children":1238},{"style":329},[1239],{"type":56,"value":554},{"type":51,"tag":317,"props":1241,"children":1242},{"style":349},[1243],{"type":56,"value":352},{"type":51,"tag":317,"props":1245,"children":1246},{"style":329},[1247],{"type":56,"value":563},{"type":51,"tag":317,"props":1249,"children":1250},{"style":349},[1251],{"type":56,"value":362},{"type":51,"tag":317,"props":1253,"children":1254},{"style":335},[1255],{"type":56,"value":338},{"type":51,"tag":317,"props":1257,"children":1258},{"class":319,"line":394},[1259,1263,1267,1271,1275],{"type":51,"tag":317,"props":1260,"children":1261},{"style":329},[1262],{"type":56,"value":701},{"type":51,"tag":317,"props":1264,"children":1265},{"style":349},[1266],{"type":56,"value":352},{"type":51,"tag":317,"props":1268,"children":1269},{"style":329},[1270],{"type":56,"value":710},{"type":51,"tag":317,"props":1272,"children":1273},{"style":349},[1274],{"type":56,"value":362},{"type":51,"tag":317,"props":1276,"children":1277},{"style":335},[1278],{"type":56,"value":338},{"type":51,"tag":317,"props":1280,"children":1281},{"class":319,"line":420},[1282,1286,1290,1294,1298],{"type":51,"tag":317,"props":1283,"children":1284},{"style":329},[1285],{"type":56,"value":579},{"type":51,"tag":317,"props":1287,"children":1288},{"style":349},[1289],{"type":56,"value":352},{"type":51,"tag":317,"props":1291,"children":1292},{"style":329},[1293],{"type":56,"value":383},{"type":51,"tag":317,"props":1295,"children":1296},{"style":349},[1297],{"type":56,"value":362},{"type":51,"tag":317,"props":1299,"children":1300},{"style":335},[1301],{"type":56,"value":338},{"type":51,"tag":317,"props":1303,"children":1304},{"class":319,"line":721},[1305,1309,1313,1317],{"type":51,"tag":317,"props":1306,"children":1307},{"style":329},[1308],{"type":56,"value":751},{"type":51,"tag":317,"props":1310,"children":1311},{"style":349},[1312],{"type":56,"value":352},{"type":51,"tag":317,"props":1314,"children":1315},{"style":329},[1316],{"type":56,"value":760},{"type":51,"tag":317,"props":1318,"children":1319},{"style":349},[1320],{"type":56,"value":592},{"type":51,"tag":290,"props":1322,"children":1324},{"id":1323},"oracle-oraclelogminer",[1325],{"type":56,"value":1326},"Oracle (oraclelogminer)",{"type":51,"tag":59,"props":1328,"children":1329},{},[1330],{"type":51,"tag":65,"props":1331,"children":1332},{},[1333],{"type":56,"value":903},{"type":51,"tag":905,"props":1335,"children":1336},{},[1337,1342,1347],{"type":51,"tag":851,"props":1338,"children":1339},{},[1340],{"type":56,"value":1341},"Archive log mode enabled",{"type":51,"tag":851,"props":1343,"children":1344},{},[1345],{"type":56,"value":1346},"Supplemental logging enabled",{"type":51,"tag":851,"props":1348,"children":1349},{},[1350],{"type":56,"value":1351},"LogMiner permissions granted",{"type":51,"tag":133,"props":1353,"children":1355},{"className":309,"code":1354,"language":311,"meta":141,"style":141},"replicator oraclelogminer \\\n  --sourceConn \"oracle:\u002F\u002F\u003Cuser>:\u003Cpassword>@oracle:1521\u002Fdb\" \\\n  --stagingConn \"postgresql:\u002F\u002Froot@crdb:26257\u002F_replicator\" \\\n  --stagingSchema \"_replicator.public\" \\\n  --targetConn \"postgresql:\u002F\u002Froot@crdb:26257\u002Fdb\" \\\n  --targetSchema \"public\"\n",[1356],{"type":51,"tag":73,"props":1357,"children":1358},{"__ignoreMap":141},[1359,1375,1399,1422,1445,1468],{"type":51,"tag":317,"props":1360,"children":1361},{"class":319,"line":320},[1362,1366,1371],{"type":51,"tag":317,"props":1363,"children":1364},{"style":324},[1365],{"type":56,"value":537},{"type":51,"tag":317,"props":1367,"children":1368},{"style":329},[1369],{"type":56,"value":1370}," oraclelogminer",{"type":51,"tag":317,"props":1372,"children":1373},{"style":335},[1374],{"type":56,"value":338},{"type":51,"tag":317,"props":1376,"children":1377},{"class":319,"line":32},[1378,1382,1386,1391,1395],{"type":51,"tag":317,"props":1379,"children":1380},{"style":329},[1381],{"type":56,"value":654},{"type":51,"tag":317,"props":1383,"children":1384},{"style":349},[1385],{"type":56,"value":352},{"type":51,"tag":317,"props":1387,"children":1388},{"style":329},[1389],{"type":56,"value":1390},"oracle:\u002F\u002F\u003Cuser>:\u003Cpassword>@oracle:1521\u002Fdb",{"type":51,"tag":317,"props":1392,"children":1393},{"style":349},[1394],{"type":56,"value":362},{"type":51,"tag":317,"props":1396,"children":1397},{"style":335},[1398],{"type":56,"value":338},{"type":51,"tag":317,"props":1400,"children":1401},{"class":319,"line":28},[1402,1406,1410,1414,1418],{"type":51,"tag":317,"props":1403,"children":1404},{"style":329},[1405],{"type":56,"value":554},{"type":51,"tag":317,"props":1407,"children":1408},{"style":349},[1409],{"type":56,"value":352},{"type":51,"tag":317,"props":1411,"children":1412},{"style":329},[1413],{"type":56,"value":563},{"type":51,"tag":317,"props":1415,"children":1416},{"style":349},[1417],{"type":56,"value":362},{"type":51,"tag":317,"props":1419,"children":1420},{"style":335},[1421],{"type":56,"value":338},{"type":51,"tag":317,"props":1423,"children":1424},{"class":319,"line":394},[1425,1429,1433,1437,1441],{"type":51,"tag":317,"props":1426,"children":1427},{"style":329},[1428],{"type":56,"value":701},{"type":51,"tag":317,"props":1430,"children":1431},{"style":349},[1432],{"type":56,"value":352},{"type":51,"tag":317,"props":1434,"children":1435},{"style":329},[1436],{"type":56,"value":710},{"type":51,"tag":317,"props":1438,"children":1439},{"style":349},[1440],{"type":56,"value":362},{"type":51,"tag":317,"props":1442,"children":1443},{"style":335},[1444],{"type":56,"value":338},{"type":51,"tag":317,"props":1446,"children":1447},{"class":319,"line":420},[1448,1452,1456,1460,1464],{"type":51,"tag":317,"props":1449,"children":1450},{"style":329},[1451],{"type":56,"value":579},{"type":51,"tag":317,"props":1453,"children":1454},{"style":349},[1455],{"type":56,"value":352},{"type":51,"tag":317,"props":1457,"children":1458},{"style":329},[1459],{"type":56,"value":383},{"type":51,"tag":317,"props":1461,"children":1462},{"style":349},[1463],{"type":56,"value":362},{"type":51,"tag":317,"props":1465,"children":1466},{"style":335},[1467],{"type":56,"value":338},{"type":51,"tag":317,"props":1469,"children":1470},{"class":319,"line":721},[1471,1475,1479,1483],{"type":51,"tag":317,"props":1472,"children":1473},{"style":329},[1474],{"type":56,"value":751},{"type":51,"tag":317,"props":1476,"children":1477},{"style":349},[1478],{"type":56,"value":352},{"type":51,"tag":317,"props":1480,"children":1481},{"style":329},[1482],{"type":56,"value":760},{"type":51,"tag":317,"props":1484,"children":1485},{"style":349},[1486],{"type":56,"value":592},{"type":51,"tag":126,"props":1488,"children":1490},{"id":1489},"key-flags",[1491],{"type":56,"value":1492},"Key Flags",{"type":51,"tag":133,"props":1494,"children":1496},{"className":309,"code":1495,"language":311,"meta":141,"style":141},"# Performance\n--parallelism 16          # concurrent DB transactions (default: 16)\n--flushSize 1000          # rows per batch (default: 1000)\n--flushPeriod 1s          # flush interval (default: 1s)\n\n# Staging connection pool\n--stagingMaxPoolSize 128\n--stagingIdleTime 1m\n--stagingMaxLifetime 5m\n\n# Target connection pool\n--targetMaxPoolSize 128\n--targetStatementCacheSize 128\n\n# Retry\n--maxRetries 10\n--retryInitialBackoff 25ms\n--retryMaxBackoff 2s\n\n# Monitoring\n--metricsAddr \"0.0.0.0:8080\"    # Prometheus metrics endpoint\n--schemaRefresh 1m               # refresh schema cache (0 = disabled)\n\n# Dead letter queue (failed rows instead of stopping)\n--dlqTableName \"replicator_dlq\"\n\n# Logging\n-v                               # debug\n-vv                              # trace\n--logFormat fluent                # for log aggregators\n--logDestination \"\u002Fvar\u002Flog\u002Freplicator.log\"\n",[1497],{"type":51,"tag":73,"props":1498,"children":1499},{"__ignoreMap":141},[1500,1508,1527,1545,1563,1572,1580,1593,1606,1620,1628,1637,1650,1663,1671,1680,1694,1708,1722,1730,1739,1765,1784,1792,1801,1823,1831,1840,1854,1868,1887],{"type":51,"tag":317,"props":1501,"children":1502},{"class":319,"line":320},[1503],{"type":51,"tag":317,"props":1504,"children":1505},{"style":518},[1506],{"type":56,"value":1507},"# Performance\n",{"type":51,"tag":317,"props":1509,"children":1510},{"class":319,"line":32},[1511,1516,1522],{"type":51,"tag":317,"props":1512,"children":1513},{"style":324},[1514],{"type":56,"value":1515},"--parallelism",{"type":51,"tag":317,"props":1517,"children":1519},{"style":1518},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1520],{"type":56,"value":1521}," 16",{"type":51,"tag":317,"props":1523,"children":1524},{"style":518},[1525],{"type":56,"value":1526},"          # concurrent DB transactions (default: 16)\n",{"type":51,"tag":317,"props":1528,"children":1529},{"class":319,"line":28},[1530,1535,1540],{"type":51,"tag":317,"props":1531,"children":1532},{"style":324},[1533],{"type":56,"value":1534},"--flushSize",{"type":51,"tag":317,"props":1536,"children":1537},{"style":1518},[1538],{"type":56,"value":1539}," 1000",{"type":51,"tag":317,"props":1541,"children":1542},{"style":518},[1543],{"type":56,"value":1544},"          # rows per batch (default: 1000)\n",{"type":51,"tag":317,"props":1546,"children":1547},{"class":319,"line":394},[1548,1553,1558],{"type":51,"tag":317,"props":1549,"children":1550},{"style":324},[1551],{"type":56,"value":1552},"--flushPeriod",{"type":51,"tag":317,"props":1554,"children":1555},{"style":329},[1556],{"type":56,"value":1557}," 1s",{"type":51,"tag":317,"props":1559,"children":1560},{"style":518},[1561],{"type":56,"value":1562},"          # flush interval (default: 1s)\n",{"type":51,"tag":317,"props":1564,"children":1565},{"class":319,"line":420},[1566],{"type":51,"tag":317,"props":1567,"children":1569},{"emptyLinePlaceholder":1568},true,[1570],{"type":56,"value":1571},"\n",{"type":51,"tag":317,"props":1573,"children":1574},{"class":319,"line":721},[1575],{"type":51,"tag":317,"props":1576,"children":1577},{"style":518},[1578],{"type":56,"value":1579},"# Staging connection pool\n",{"type":51,"tag":317,"props":1581,"children":1582},{"class":319,"line":745},[1583,1588],{"type":51,"tag":317,"props":1584,"children":1585},{"style":324},[1586],{"type":56,"value":1587},"--stagingMaxPoolSize",{"type":51,"tag":317,"props":1589,"children":1590},{"style":1518},[1591],{"type":56,"value":1592}," 128\n",{"type":51,"tag":317,"props":1594,"children":1595},{"class":319,"line":771},[1596,1601],{"type":51,"tag":317,"props":1597,"children":1598},{"style":324},[1599],{"type":56,"value":1600},"--stagingIdleTime",{"type":51,"tag":317,"props":1602,"children":1603},{"style":329},[1604],{"type":56,"value":1605}," 1m\n",{"type":51,"tag":317,"props":1607,"children":1609},{"class":319,"line":1608},9,[1610,1615],{"type":51,"tag":317,"props":1611,"children":1612},{"style":324},[1613],{"type":56,"value":1614},"--stagingMaxLifetime",{"type":51,"tag":317,"props":1616,"children":1617},{"style":329},[1618],{"type":56,"value":1619}," 5m\n",{"type":51,"tag":317,"props":1621,"children":1623},{"class":319,"line":1622},10,[1624],{"type":51,"tag":317,"props":1625,"children":1626},{"emptyLinePlaceholder":1568},[1627],{"type":56,"value":1571},{"type":51,"tag":317,"props":1629,"children":1631},{"class":319,"line":1630},11,[1632],{"type":51,"tag":317,"props":1633,"children":1634},{"style":518},[1635],{"type":56,"value":1636},"# Target connection pool\n",{"type":51,"tag":317,"props":1638,"children":1640},{"class":319,"line":1639},12,[1641,1646],{"type":51,"tag":317,"props":1642,"children":1643},{"style":324},[1644],{"type":56,"value":1645},"--targetMaxPoolSize",{"type":51,"tag":317,"props":1647,"children":1648},{"style":1518},[1649],{"type":56,"value":1592},{"type":51,"tag":317,"props":1651,"children":1653},{"class":319,"line":1652},13,[1654,1659],{"type":51,"tag":317,"props":1655,"children":1656},{"style":324},[1657],{"type":56,"value":1658},"--targetStatementCacheSize",{"type":51,"tag":317,"props":1660,"children":1661},{"style":1518},[1662],{"type":56,"value":1592},{"type":51,"tag":317,"props":1664,"children":1666},{"class":319,"line":1665},14,[1667],{"type":51,"tag":317,"props":1668,"children":1669},{"emptyLinePlaceholder":1568},[1670],{"type":56,"value":1571},{"type":51,"tag":317,"props":1672,"children":1674},{"class":319,"line":1673},15,[1675],{"type":51,"tag":317,"props":1676,"children":1677},{"style":518},[1678],{"type":56,"value":1679},"# Retry\n",{"type":51,"tag":317,"props":1681,"children":1683},{"class":319,"line":1682},16,[1684,1689],{"type":51,"tag":317,"props":1685,"children":1686},{"style":324},[1687],{"type":56,"value":1688},"--maxRetries",{"type":51,"tag":317,"props":1690,"children":1691},{"style":1518},[1692],{"type":56,"value":1693}," 10\n",{"type":51,"tag":317,"props":1695,"children":1697},{"class":319,"line":1696},17,[1698,1703],{"type":51,"tag":317,"props":1699,"children":1700},{"style":324},[1701],{"type":56,"value":1702},"--retryInitialBackoff",{"type":51,"tag":317,"props":1704,"children":1705},{"style":329},[1706],{"type":56,"value":1707}," 25ms\n",{"type":51,"tag":317,"props":1709,"children":1711},{"class":319,"line":1710},18,[1712,1717],{"type":51,"tag":317,"props":1713,"children":1714},{"style":324},[1715],{"type":56,"value":1716},"--retryMaxBackoff",{"type":51,"tag":317,"props":1718,"children":1719},{"style":329},[1720],{"type":56,"value":1721}," 2s\n",{"type":51,"tag":317,"props":1723,"children":1725},{"class":319,"line":1724},19,[1726],{"type":51,"tag":317,"props":1727,"children":1728},{"emptyLinePlaceholder":1568},[1729],{"type":56,"value":1571},{"type":51,"tag":317,"props":1731,"children":1733},{"class":319,"line":1732},20,[1734],{"type":51,"tag":317,"props":1735,"children":1736},{"style":518},[1737],{"type":56,"value":1738},"# Monitoring\n",{"type":51,"tag":317,"props":1740,"children":1742},{"class":319,"line":1741},21,[1743,1748,1752,1756,1760],{"type":51,"tag":317,"props":1744,"children":1745},{"style":324},[1746],{"type":56,"value":1747},"--metricsAddr",{"type":51,"tag":317,"props":1749,"children":1750},{"style":349},[1751],{"type":56,"value":352},{"type":51,"tag":317,"props":1753,"children":1754},{"style":329},[1755],{"type":56,"value":786},{"type":51,"tag":317,"props":1757,"children":1758},{"style":349},[1759],{"type":56,"value":362},{"type":51,"tag":317,"props":1761,"children":1762},{"style":518},[1763],{"type":56,"value":1764},"    # Prometheus metrics endpoint\n",{"type":51,"tag":317,"props":1766,"children":1768},{"class":319,"line":1767},22,[1769,1774,1779],{"type":51,"tag":317,"props":1770,"children":1771},{"style":324},[1772],{"type":56,"value":1773},"--schemaRefresh",{"type":51,"tag":317,"props":1775,"children":1776},{"style":329},[1777],{"type":56,"value":1778}," 1m",{"type":51,"tag":317,"props":1780,"children":1781},{"style":518},[1782],{"type":56,"value":1783},"               # refresh schema cache (0 = disabled)\n",{"type":51,"tag":317,"props":1785,"children":1787},{"class":319,"line":1786},23,[1788],{"type":51,"tag":317,"props":1789,"children":1790},{"emptyLinePlaceholder":1568},[1791],{"type":56,"value":1571},{"type":51,"tag":317,"props":1793,"children":1795},{"class":319,"line":1794},24,[1796],{"type":51,"tag":317,"props":1797,"children":1798},{"style":518},[1799],{"type":56,"value":1800},"# Dead letter queue (failed rows instead of stopping)\n",{"type":51,"tag":317,"props":1802,"children":1804},{"class":319,"line":1803},25,[1805,1810,1814,1819],{"type":51,"tag":317,"props":1806,"children":1807},{"style":324},[1808],{"type":56,"value":1809},"--dlqTableName",{"type":51,"tag":317,"props":1811,"children":1812},{"style":349},[1813],{"type":56,"value":352},{"type":51,"tag":317,"props":1815,"children":1816},{"style":329},[1817],{"type":56,"value":1818},"replicator_dlq",{"type":51,"tag":317,"props":1820,"children":1821},{"style":349},[1822],{"type":56,"value":592},{"type":51,"tag":317,"props":1824,"children":1826},{"class":319,"line":1825},26,[1827],{"type":51,"tag":317,"props":1828,"children":1829},{"emptyLinePlaceholder":1568},[1830],{"type":56,"value":1571},{"type":51,"tag":317,"props":1832,"children":1834},{"class":319,"line":1833},27,[1835],{"type":51,"tag":317,"props":1836,"children":1837},{"style":518},[1838],{"type":56,"value":1839},"# Logging\n",{"type":51,"tag":317,"props":1841,"children":1843},{"class":319,"line":1842},28,[1844,1849],{"type":51,"tag":317,"props":1845,"children":1846},{"style":324},[1847],{"type":56,"value":1848},"-v",{"type":51,"tag":317,"props":1850,"children":1851},{"style":518},[1852],{"type":56,"value":1853},"                               # debug\n",{"type":51,"tag":317,"props":1855,"children":1857},{"class":319,"line":1856},29,[1858,1863],{"type":51,"tag":317,"props":1859,"children":1860},{"style":324},[1861],{"type":56,"value":1862},"-vv",{"type":51,"tag":317,"props":1864,"children":1865},{"style":518},[1866],{"type":56,"value":1867},"                              # trace\n",{"type":51,"tag":317,"props":1869,"children":1871},{"class":319,"line":1870},30,[1872,1877,1882],{"type":51,"tag":317,"props":1873,"children":1874},{"style":324},[1875],{"type":56,"value":1876},"--logFormat",{"type":51,"tag":317,"props":1878,"children":1879},{"style":329},[1880],{"type":56,"value":1881}," fluent",{"type":51,"tag":317,"props":1883,"children":1884},{"style":518},[1885],{"type":56,"value":1886},"                # for log aggregators\n",{"type":51,"tag":317,"props":1888,"children":1890},{"class":319,"line":1889},31,[1891,1896,1900,1905],{"type":51,"tag":317,"props":1892,"children":1893},{"style":324},[1894],{"type":56,"value":1895},"--logDestination",{"type":51,"tag":317,"props":1897,"children":1898},{"style":349},[1899],{"type":56,"value":352},{"type":51,"tag":317,"props":1901,"children":1902},{"style":329},[1903],{"type":56,"value":1904},"\u002Fvar\u002Flog\u002Freplicator.log",{"type":51,"tag":317,"props":1906,"children":1907},{"style":349},[1908],{"type":56,"value":592},{"type":51,"tag":126,"props":1910,"children":1912},{"id":1911},"gotchas",[1913],{"type":56,"value":1914},"Gotchas",{"type":51,"tag":905,"props":1916,"children":1917},{},[1918,1944,2020,2025,2030,2043,2048],{"type":51,"tag":851,"props":1919,"children":1920},{},[1921,1923,1928,1930,1934,1936,1942],{"type":56,"value":1922},"Staging schema (",{"type":51,"tag":73,"props":1924,"children":1926},{"className":1925},[],[1927],{"type":56,"value":710},{"type":56,"value":1929},") is auto-created by replicator, but the ",{"type":51,"tag":65,"props":1931,"children":1932},{},[1933],{"type":56,"value":24},{"type":56,"value":1935}," (",{"type":51,"tag":73,"props":1937,"children":1939},{"className":1938},[],[1940],{"type":56,"value":1941},"_replicator",{"type":56,"value":1943},") must exist first",{"type":51,"tag":851,"props":1945,"children":1946},{},[1947,1953,1955,1961,1963,1968,1970,1975,1977,1983,1985,1990,1992,1998,2000,2005,2007,2012,2013,2018],{"type":51,"tag":73,"props":1948,"children":1950},{"className":1949},[],[1951],{"type":56,"value":1952},"--publicationName",{"type":56,"value":1954}," and ",{"type":51,"tag":73,"props":1956,"children":1958},{"className":1957},[],[1959],{"type":56,"value":1960},"--slotName",{"type":56,"value":1962}," must match what ",{"type":51,"tag":73,"props":1964,"children":1966},{"className":1965},[],[1967],{"type":56,"value":78},{"type":56,"value":1969}," created. ",{"type":51,"tag":73,"props":1971,"children":1973},{"className":1972},[],[1974],{"type":56,"value":78},{"type":56,"value":1976},"'s ",{"type":51,"tag":73,"props":1978,"children":1980},{"className":1979},[],[1981],{"type":56,"value":1982},"--pglogical-publication-name",{"type":56,"value":1984}," defaults to ",{"type":51,"tag":73,"props":1986,"children":1988},{"className":1987},[],[1989],{"type":56,"value":638},{"type":56,"value":1991}," and its ",{"type":51,"tag":73,"props":1993,"children":1995},{"className":1994},[],[1996],{"type":56,"value":1997},"--pglogical-replication-slot-name",{"type":56,"value":1999}," has no default; on the replicator side, ",{"type":51,"tag":73,"props":2001,"children":2003},{"className":2002},[],[2004],{"type":56,"value":1952},{"type":56,"value":2006}," has no default and ",{"type":51,"tag":73,"props":2008,"children":2010},{"className":2009},[],[2011],{"type":56,"value":1960},{"type":56,"value":1984},{"type":51,"tag":73,"props":2014,"children":2016},{"className":2015},[],[2017],{"type":56,"value":537},{"type":56,"value":2019},". If the names don't line up, set both explicitly on both sides.",{"type":51,"tag":851,"props":2021,"children":2022},{},[2023],{"type":56,"value":2024},"DLQ table grows over time — monitor and purge failed rows periodically",{"type":51,"tag":851,"props":2026,"children":2027},{},[2028],{"type":56,"value":2029},"Replicator holds an open replication slot on the source — this blocks WAL cleanup; monitor source disk usage",{"type":51,"tag":851,"props":2031,"children":2032},{},[2033,2035,2041],{"type":56,"value":2034},"Graceful shutdown respects ",{"type":51,"tag":73,"props":2036,"children":2038},{"className":2037},[],[2039],{"type":56,"value":2040},"--gracePeriod",{"type":56,"value":2042}," (default: 30s); don't SIGKILL without it",{"type":51,"tag":851,"props":2044,"children":2045},{},[2046],{"type":56,"value":2047},"No built-in alerting — set up external alerts on the Prometheus metrics endpoint",{"type":51,"tag":851,"props":2049,"children":2050},{},[2051],{"type":56,"value":2052},"Long cutover windows increase replication lag — plan for a maintenance window if needed",{"type":51,"tag":59,"props":2054,"children":2055},{},[2056,2058,2065],{"type":56,"value":2057},"See ",{"type":51,"tag":2059,"props":2060,"children":2062},"a",{"href":2061},"references\u002Fflags.md",[2063],{"type":56,"value":2064},"flags reference",{"type":56,"value":2066}," for the full flag list.",{"type":51,"tag":2068,"props":2069,"children":2070},"style",{},[2071],{"type":56,"value":2072},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2074,"total":2237},[2075,2094,2110,2125,2136,2146,2159,2171,2185,2200,2211,2224],{"slug":2076,"name":2076,"fn":2077,"description":2078,"org":2079,"tags":2080,"stars":2091,"repoUrl":2092,"updatedAt":2093},"collecting-cockroachdb-operator-escalation-packet","collect CockroachDB operator escalation packets","Collects a complete CockroachDB Operator escalation packet for TSC\u002FTSE or operator-team handoff, including Helm state, Kubernetes resources, logs, operation-specific evidence, pprof goroutine dumps, metrics, and a customer action timeline. Use when general diagnosis cannot resolve an operator-managed CockroachDB Helm issue or before restarting a stuck operator.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2081,2082,2085,2088],{"name":23,"slug":24,"type":15},{"name":2083,"slug":2084,"type":15},"Incident Response","incident-response",{"name":2086,"slug":2087,"type":15},"Kubernetes","kubernetes",{"name":2089,"slug":2090,"type":15},"Monitoring","monitoring",105,"https:\u002F\u002Fgithub.com\u002Fcockroachdb\u002Fhelm-charts","2026-07-12T07:57:25.288146",{"slug":2095,"name":2095,"fn":2096,"description":2097,"org":2098,"tags":2099,"stars":2091,"repoUrl":2092,"updatedAt":2109},"configuring-cockroachdb-helm-tls","configure TLS for CockroachDB Helm charts","Selects and validates TLS settings for CockroachDB Helm chart deployments, including self-signer, cert-manager, and external certificate modes. Use when a customer needs secure CockroachDB Helm values, certificate secret mapping, cert-manager integration, or TLS install troubleshooting before deploying the chart.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2100,2103,2106],{"name":2101,"slug":2102,"type":15},"Deployment","deployment",{"name":2104,"slug":2105,"type":15},"Encryption","encryption",{"name":2107,"slug":2108,"type":15},"Security","security","2026-07-12T07:56:37.675396",{"slug":2111,"name":2111,"fn":2112,"description":2113,"org":2114,"tags":2115,"stars":2091,"repoUrl":2092,"updatedAt":2124},"debugging-cockroachdb-operator-migrations","debug CockroachDB Operator migration scenarios","Debugs CockroachDB Operator migration scenarios, including Helm StatefulSet to v1beta1 CrdbNode migration and public operator v1alpha1 to v1beta1 migration. Use when migration labels, migration phases, source StatefulSet ownership, converted CRDs, PVC ownership, or post-migration reconciliation are unclear or stuck.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2116,2117,2120,2121],{"name":23,"slug":24,"type":15},{"name":2118,"slug":2119,"type":15},"Debugging","debugging",{"name":2086,"slug":2087,"type":15},{"name":2122,"slug":2123,"type":15},"Migration","migration","2026-07-12T07:56:48.360871",{"slug":2126,"name":2126,"fn":2127,"description":2128,"org":2129,"tags":2130,"stars":2091,"repoUrl":2092,"updatedAt":2135},"diagnosing-cockroachdb-helm-deployments","diagnose CockroachDB Helm chart deployments","Diagnoses failed or unhealthy CockroachDB Helm chart deployments by checking Helm release state, operator health, CrdbCluster and CrdbNode status, pod readiness, RBAC, webhooks, TLS, upgrades, scaling, PVCs, DNS, and multi-region assumptions. Use when Helm install or upgrade fails, pods are not Ready, or the operator is not reconciling.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2131,2132,2133,2134],{"name":23,"slug":24,"type":15},{"name":2118,"slug":2119,"type":15},{"name":2101,"slug":2102,"type":15},{"name":2086,"slug":2087,"type":15},"2026-07-12T07:57:24.018818",{"slug":2137,"name":2137,"fn":2138,"description":2139,"org":2140,"tags":2141,"stars":2091,"repoUrl":2092,"updatedAt":2145},"installing-cockroachdb-with-helm","install CockroachDB using Helm","Guides customer-facing installation of CockroachDB on Kubernetes using the CockroachDB split Helm charts and operator-managed v1beta1 resources. Use when installing CockroachDB with Helm, choosing between published and local split charts, verifying a new install, or helping an agent complete first-time Kubernetes onboarding.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2142,2143,2144],{"name":23,"slug":24,"type":15},{"name":2101,"slug":2102,"type":15},{"name":2086,"slug":2087,"type":15},"2026-07-12T07:56:45.777567",{"slug":2147,"name":2147,"fn":2148,"description":2149,"org":2150,"tags":2151,"stars":2091,"repoUrl":2092,"updatedAt":2158},"validating-cockroachdb-helm-multiregion","validate CockroachDB multi-region Helm deployments","Validates CockroachDB Helm chart values and Kubernetes prerequisites for operator-managed multi-region deployments. Use before adding a region, deploying CockroachDB across multiple Kubernetes clusters, checking region DNS domains, or confirming that all regions share certificate and networking assumptions.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2152,2153,2154,2155],{"name":23,"slug":24,"type":15},{"name":2101,"slug":2102,"type":15},{"name":2086,"slug":2087,"type":15},{"name":2156,"slug":2157,"type":15},"Operations","operations","2026-07-12T07:56:47.082609",{"slug":2160,"name":2160,"fn":2161,"description":2162,"org":2163,"tags":2164,"stars":28,"repoUrl":29,"updatedAt":2170},"analyzing-range-distribution","analyze CockroachDB range distribution and health","Analyzes CockroachDB range distribution across tables and indexes using SHOW RANGES to identify range count, size patterns, leaseholder placement, and replication health. Use when investigating hotspots, uneven data distribution, range fragmentation, or validating zone configuration effects without DB Console access.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2165,2166,2167],{"name":23,"slug":24,"type":15},{"name":2089,"slug":2090,"type":15},{"name":2168,"slug":2169,"type":15},"Performance","performance","2026-07-12T07:57:18.753533",{"slug":2172,"name":2172,"fn":2173,"description":2174,"org":2175,"tags":2176,"stars":28,"repoUrl":29,"updatedAt":2184},"analyzing-schema-change-storage-risk","analyze schema change storage requirements","Estimates storage requirements for CockroachDB online schema change backfills using SHOW RANGES WITH DETAILS, KEYS, INDEXES. Use before CREATE INDEX, ADD COLUMN with INDEX\u002FUNIQUE, 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.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2177,2180,2181,2182],{"name":2178,"slug":2179,"type":15},"Data Modeling","data-modeling",{"name":23,"slug":24,"type":15},{"name":2168,"slug":2169,"type":15},{"name":2183,"slug":442,"type":15},"SQL","2026-07-12T07:57:22.763788",{"slug":2186,"name":2186,"fn":2187,"description":2188,"org":2189,"tags":2190,"stars":28,"repoUrl":29,"updatedAt":2199},"auditing-cis-benchmark","audit CockroachDB clusters against CIS benchmarks","Audits a self-hosted CockroachDB cluster against the CIS CockroachDB Benchmark v1.0.0 Level 1 controls. Supports two audit depths — quick automated scans and full CIS audit procedures. Produces a structured PASS\u002FFAIL\u002FMANUAL report covering installation, system hardening, logging, user access, data protection, and CockroachDB settings. Use when preparing for CIS compliance assessments, hardening self-hosted deployments, or validating security posture against industry benchmarks.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2191,2194,2197,2198],{"name":2192,"slug":2193,"type":15},"Audit","audit",{"name":2195,"slug":2196,"type":15},"Compliance","compliance",{"name":23,"slug":24,"type":15},{"name":2107,"slug":2108,"type":15},"2026-07-18T05:48:00.862384",{"slug":2201,"name":2201,"fn":2202,"description":2203,"org":2204,"tags":2205,"stars":28,"repoUrl":29,"updatedAt":2210},"auditing-cloud-cluster-security","audit CockroachDB cluster security posture","Audits the security posture of a CockroachDB cluster (Cloud or self-hosted) across network, authentication, authorization, encryption, audit logging, and backup dimensions. Use when assessing cluster security readiness, preparing for compliance reviews, or investigating security configuration gaps.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2206,2207,2208,2209],{"name":2192,"slug":2193,"type":15},{"name":23,"slug":24,"type":15},{"name":2156,"slug":2157,"type":15},{"name":2107,"slug":2108,"type":15},"2026-07-12T07:57:01.506735",{"slug":2212,"name":2212,"fn":2213,"description":2214,"org":2215,"tags":2216,"stars":28,"repoUrl":29,"updatedAt":2223},"auditing-table-statistics","audit optimizer table statistics","Audits optimizer table statistics for staleness, missing coverage, and data quality issues using SHOW STATISTICS. Use when diagnosing poor query performance, unexpected plan changes, or after bulk data changes to identify stale statistics requiring refresh via CREATE STATISTICS.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2217,2218,2221,2222],{"name":2192,"slug":2193,"type":15},{"name":2219,"slug":2220,"type":15},"Data Analysis","data-analysis",{"name":23,"slug":24,"type":15},{"name":2168,"slug":2169,"type":15},"2026-07-12T07:57:16.190081",{"slug":2225,"name":2225,"fn":2226,"description":2227,"org":2228,"tags":2229,"stars":28,"repoUrl":29,"updatedAt":2236},"benchmarking-transaction-patterns","benchmark CockroachDB transaction patterns","Guides benchmarking and comparing explicit multi-statement transactions versus single-statement CTE transactions in CockroachDB, with fair test methodology, contention analysis, and performance interpretation. Use when comparing transaction formulations, benchmarking CockroachDB workloads under contention, investigating retry pressure, or deciding whether to rewrite multi-step application flows into single SQL statements.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2230,2231,2234,2235],{"name":23,"slug":24,"type":15},{"name":2232,"slug":2233,"type":15},"Engineering","engineering",{"name":2168,"slug":2169,"type":15},{"name":2183,"slug":442,"type":15},"2026-07-12T07:57:26.543278",40,{"items":2239,"total":2291},[2240,2246,2253,2260,2267,2274,2281],{"slug":2160,"name":2160,"fn":2161,"description":2162,"org":2241,"tags":2242,"stars":28,"repoUrl":29,"updatedAt":2170},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2243,2244,2245],{"name":23,"slug":24,"type":15},{"name":2089,"slug":2090,"type":15},{"name":2168,"slug":2169,"type":15},{"slug":2172,"name":2172,"fn":2173,"description":2174,"org":2247,"tags":2248,"stars":28,"repoUrl":29,"updatedAt":2184},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2249,2250,2251,2252],{"name":2178,"slug":2179,"type":15},{"name":23,"slug":24,"type":15},{"name":2168,"slug":2169,"type":15},{"name":2183,"slug":442,"type":15},{"slug":2186,"name":2186,"fn":2187,"description":2188,"org":2254,"tags":2255,"stars":28,"repoUrl":29,"updatedAt":2199},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2256,2257,2258,2259],{"name":2192,"slug":2193,"type":15},{"name":2195,"slug":2196,"type":15},{"name":23,"slug":24,"type":15},{"name":2107,"slug":2108,"type":15},{"slug":2201,"name":2201,"fn":2202,"description":2203,"org":2261,"tags":2262,"stars":28,"repoUrl":29,"updatedAt":2210},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2263,2264,2265,2266],{"name":2192,"slug":2193,"type":15},{"name":23,"slug":24,"type":15},{"name":2156,"slug":2157,"type":15},{"name":2107,"slug":2108,"type":15},{"slug":2212,"name":2212,"fn":2213,"description":2214,"org":2268,"tags":2269,"stars":28,"repoUrl":29,"updatedAt":2223},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2270,2271,2272,2273],{"name":2192,"slug":2193,"type":15},{"name":2219,"slug":2220,"type":15},{"name":23,"slug":24,"type":15},{"name":2168,"slug":2169,"type":15},{"slug":2225,"name":2225,"fn":2226,"description":2227,"org":2275,"tags":2276,"stars":28,"repoUrl":29,"updatedAt":2236},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2277,2278,2279,2280],{"name":23,"slug":24,"type":15},{"name":2232,"slug":2233,"type":15},{"name":2168,"slug":2169,"type":15},{"name":2183,"slug":442,"type":15},{"slug":2282,"name":2282,"fn":2283,"description":2284,"org":2285,"tags":2286,"stars":28,"repoUrl":29,"updatedAt":2290},"cockroachdb-sql","write and optimize CockroachDB SQL","Use when writing, generating, or optimizing SQL for CockroachDB, designing CockroachDB schemas, or when the user asks about CockroachDB-specific SQL patterns, type mappings, and distributed database best practices. Also use when encountering CockroachDB anti-patterns like missing primary keys, sequential ID hotspots, or incorrect type usage.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2287,2288,2289],{"name":23,"slug":24,"type":15},{"name":2168,"slug":2169,"type":15},{"name":2183,"slug":442,"type":15},"2026-07-25T05:31:22.562808",34]