Skip to content

Commit 5c49c7d

Browse files
made changes based on Ryan's feedback
1 parent c6bd5a5 commit 5c49c7d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/current/_includes/molt/migration-schema-design-practices.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ Convert the source schema into a CockroachDB-compatible schema. CockroachDB supp
3232

3333
- Every table **must** have an explicit primary key. For more information, refer to [Primary key best practices]({% link {{ site.current_cloud_version }}/schema-design-table.md %}#primary-key-best-practices).
3434

35-
{{site.data.alerts.callout_danger}}
36-
Avoid using sequential keys. To learn more about the performance issues that can result from their use, read [our advice on indexing with sequential keys]({% link {{site.current_cloud_version}}/sql-faqs.md %}#how-do-i-generate-unique-slowly-increasing-sequential-numbers-in-cockroachdb). If a sequential key is necessary in your CockroachDB table, you will need to create it manually, after using [MOLT Fetch]({% link molt/molt-fetch.md %}).
37-
{{site.data.alerts.end}}
35+
{{site.data.alerts.callout_danger}}
36+
Avoid using sequential keys. To learn more about the performance issues that can result from their use, refer to the [guidance on indexing with sequential keys]({% link {{site.current_cloud_version}}/sql-faqs.md %}#how-do-i-generate-unique-slowly-increasing-sequential-numbers-in-cockroachdb). If a sequential key is necessary in your CockroachDB table, you must create it manually, after using [MOLT Fetch]({% link molt/molt-fetch.md %}) to load and replicate the data.
37+
{{site.data.alerts.end}}
3838

3939
- Review [Transformations]({% link molt/molt-fetch.md %}#transformations) to understand how computed columns and partitioned tables can be mapped to the target, and how target tables can be renamed.
4040

src/current/molt/molt-fetch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ To verify that your connections and configuration work properly, run MOLT Fetch
125125

126126
- {% include molt/molt-drop-constraints-indexes.md %}
127127

128-
- MOLT Fetch does not support migrating sequences. If your source database contains sequences, read [our advice on indexing with sequential keys]({% link {{site.current_cloud_version}}/sql-faqs.md %}#how-do-i-generate-unique-slowly-increasing-sequential-numbers-in-cockroachdb). If a sequential key is necessary in your CockroachDB table, you will need to create it manually. After using MOLT Fetch to load and replicate the data onto the target, but before cutover, make sure to update each sequence's current value using [`setval()`]({% link {{site.current_cloud_version}}/functions-and-operators.md %}#sequence-functions) so that new inserts continue from the correct point.
128+
- MOLT Fetch does not support migrating sequences. If your source database contains sequences, refer to the [guidance on indexing with sequential keys]({% link {{site.current_cloud_version}}/sql-faqs.md %}#how-do-i-generate-unique-slowly-increasing-sequential-numbers-in-cockroachdb). If a sequential key is necessary in your CockroachDB table, you must create it manually. After using MOLT Fetch to load and replicate the data onto the target, but before cutover, make sure to update each sequence's current value using [`setval()`]({% link {{site.current_cloud_version}}/functions-and-operators.md %}#sequence-functions) so that new inserts continue from the correct point.
129129

130130
## Security recommendations
131131

0 commit comments

Comments
 (0)