Skip to content

Commit d187b9b

Browse files
committed
add molt-verify flags reference
1 parent 6c47a8d commit d187b9b

File tree

1 file changed

+57
-0
lines changed
  • skills/onboarding-and-migrations/molt-verify/references

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# molt verify: Full Flag Reference
2+
3+
## Required
4+
5+
| Flag | Description |
6+
|------|-------------|
7+
| `--source` | Source DB connection string |
8+
| `--target` | Target CockroachDB connection string |
9+
10+
## Connection
11+
12+
| Flag | Default | Description |
13+
|------|---------|-------------|
14+
| `--source-cdb` | - | Oracle CDB connection string (multi-tenant setups) |
15+
| `--allow-tls-mode-disable` | false | Allow insecure connections without TLS |
16+
17+
## Verification Scope
18+
19+
| Flag | Default | Description |
20+
|------|---------|-------------|
21+
| `--rows` | true | Verify row data in addition to schema. Set `false` for schema-only |
22+
| `--table-filter` | - | POSIX regex to include only matching tables |
23+
| `--transformations-file` | - | JSON file with column exclusions and table aliases |
24+
| `--filter-path` | - | JSON file with per-table WHERE clauses (not supported for Oracle) |
25+
| `--case-sensitive` | false | Case-sensitive name comparison |
26+
27+
## Performance & Concurrency
28+
29+
| Flag | Default | Description |
30+
|------|---------|-------------|
31+
| `--concurrency` | 0 (= CPU count) | Number of tables to verify in parallel |
32+
| `--concurrency-per-table` | 1 | Number of PK-range shards per table |
33+
| `--row-batch-size` | 20000 | Rows fetched per shard iteration |
34+
| `--rows-per-second` | 0 (unlimited) | Rate limit per shard (rows/sec) |
35+
| `--verify-statement-timeout` | `1h` | SQL query timeout per statement |
36+
37+
## Logging & Output
38+
39+
| Flag | Default | Description |
40+
|------|---------|-------------|
41+
| `--log-file` | `verify-{datetime}.log` | Log file path or `stdout` |
42+
| `--log-level` | `info` | `debug`, `info`, `warn`, `error` |
43+
| `--metrics-listen-addr` | `localhost:8888` | Prometheus metrics scrape endpoint |
44+
45+
## Automation
46+
47+
| Flag | Default | Description |
48+
|------|---------|-------------|
49+
| `--non-interactive` | false | Skip confirmation prompts (for CI/automation) |
50+
| `--compile-only` | false | Validate flags without connecting to DBs |
51+
52+
## Hidden / Internal
53+
54+
| Flag | Default | Description |
55+
|------|---------|-------------|
56+
| `--show-connection-logging` | false | Log full connection strings (sensitive — avoid in production) |
57+
| `--test-only` | false | Deterministic timing for test output |

0 commit comments

Comments
 (0)