Skip to content

Commit d134e61

Browse files
committed
clarify schema-filter; fix links
1 parent c9c3705 commit d134e61

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

src/current/_includes/molt/replicator-flags-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Configure the following [MOLT Replicator]({% link molt/replicator-flags.md %}) flags for continuous replication. For details on all available flags, refer to the [MOLT Replicator documentation]({% link molt/replicator-flags.md %}#flags).
1+
Configure the following [MOLT Replicator]({% link molt/replicator-flags.md %}) flags for continuous replication. For details on all available flags, refer to [Replicator Flags]({% link molt/replicator-flags.md %}).
22

33
{% if page.name == "migrate-load-replicate.md" %}
44
<section class="filter-content" markdown="1" data-scope="postgres">

src/current/molt/molt-fetch.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ MOLT Fetch loads the exported data into the target CockroachDB database. The pro
126126
| `--pglogical-publication-and-slot-drop-and-recreate` | tk |
127127
| `--pprof-listen-addr` | Address of the pprof endpoint.<br><br>**Default:** `'127.0.0.1:3031'` |
128128
| `--row-batch-size` | Number of rows per shard to export at a time. For details on sharding, refer to [Table sharding](#table-sharding). See also [Best practices](#best-practices).<br><br>**Default:** `100000` |
129-
| `--schema-filter` | Move schemas that match a specified [regular expression](https://wikipedia.org/wiki/Regular_expression). Not used with MySQL sources.<br><br>**Default:** `'.*'` |
129+
| `--schema-filter` | Move schemas that match a specified [regular expression](https://wikipedia.org/wiki/Regular_expression). Not used with MySQL sources. For Oracle sources, this filter is case-insensitive.<br><br>**Default:** `'.*'` |
130130
| `--skip-pk-check` | Skip primary-key matching to allow data load when source or target tables have missing or mismatched primary keys. Disables sharding and bypasses `--export-concurrency` and `--row-batch-size` settings. Refer to [Skip primary key matching](#skip-primary-key-matching).<br><br>**Default:** `false` |
131131
| `--table-concurrency` | Number of tables to export at a time. The number of concurrent threads is the product of `--export-concurrency` and `--table-concurrency`.<br><br>**Default:** `4` |
132132
| `--table-exclusion-filter` | Exclude tables that match a specified [POSIX regular expression](https://wikipedia.org/wiki/Regular_expression).<br><br>This value **cannot** be set to `'.*'`, which would cause every table to be excluded. <br><br>**Default:** Empty string |
@@ -882,7 +882,17 @@ Alternatively, use [direct copy](#direct-copy) to move data directly without int
882882

883883
Optionally, filter the source data to migrate. By default, all schemas and tables are migrated. For details, refer to [Schema and table selection](#schema-and-table-selection).
884884

885-
<section class="filter-content" markdown="1" data-scope="postgres oracle">
885+
<section class="filter-content" markdown="1" data-scope="postgres">
886+
{% include_cached copy-clipboard.html %}
887+
~~~
888+
--schema-filter 'migration_schema'
889+
--table-filter '.*user.*'
890+
~~~
891+
</section>
892+
893+
<section class="filter-content" markdown="1" data-scope="oracle">
894+
For Oracle sources, `--schema-filter` is case-insensitive. You can use either lowercase or uppercase:
895+
886896
{% include_cached copy-clipboard.html %}
887897
~~~
888898
--schema-filter 'migration_schema'

src/current/releases/molt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ MOLT Fetch/Verify 1.2.1 is [available](#installation).
148148
- MySQL columns of type `BIGINT UNSIGNED` or `SERIAL` are now auto-mapped to [`DECIMAL`]({% link {{ site.current_cloud_version }}/decimal.md %}) type in CockroachDB. MySQL regular `BIGINT` types are mapped to [`INT`]({% link {{ site.current_cloud_version }}/int.md %}) type in CockroachDB.
149149
- The `pglogical` replication workflow was modified in order to enforce safer and simpler defaults for the [`data-load`]({% link molt/molt-fetch.md %}#fetch-mode), `data-load-and-replication`, and `replication-only` workflows for PostgreSQL sources. Fetch now ensures that the publication is created before the slot, and that `replication-only` defaults to using publications and slots created either in previous Fetch runs or manually.
150150
- Fixed scan iterator query ordering for `BINARY` and `TEXT` (of same collation) PKs so that they lead to the correct queries and ordering.
151-
- For a MySQL source in `replication-only` mode, the [`--stagingSchema` replicator flag]({% link molt/molt-replicator.md %}#flags) can now be used to resume streaming replication after being interrupted. Otherwise, the [`--defaultGTIDSet` replicator flag]({% link molt/molt-replicator.md %}#mylogical-replication-flags) is used to start initial replication after a previous Fetch run in [`data-load`]({% link molt/molt-fetch.md %}#fetch-mode) mode, or as an override to the current replication stream.
151+
- For a MySQL source in `replication-only` mode, the [`--stagingSchema` replicator flag]({% link molt/replicator-flags.md %}#staging-schema) can now be used to resume streaming replication after being interrupted. Otherwise, the [`--defaultGTIDSet` replicator flag]({% link molt/replicator-flags.md %}#default-gtid-set) is used to start initial replication after a previous Fetch run in [`data-load`]({% link molt/molt-fetch.md %}#fetch-mode) mode, or as an override to the current replication stream.
152152

153153
## October 29, 2024
154154

0 commit comments

Comments
 (0)