Skip to content

Commit

Permalink
add images, document session variable
Browse files Browse the repository at this point in the history
  • Loading branch information
taroface committed Dec 15, 2023
1 parent f7f050a commit 101dcef
Show file tree
Hide file tree
Showing 6 changed files with 178 additions and 176 deletions.
175 changes: 88 additions & 87 deletions src/current/_includes/v23.1/misc/session-vars.md

Large diffs are not rendered by default.

175 changes: 88 additions & 87 deletions src/current/_includes/v23.2/misc/session-vars.md

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/current/v23.1/aws-dms.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ The `BatchApplyEnabled` setting can improve replication performance and is recom

- An AWS DMS migration can fail if the target schema has hidden columns. This includes databases with [hash-sharded indexes]({% link {{ page.version.version }}/hash-sharded-indexes.md %}) and [multi-region clusters]({% link {{ page.version.version }}/multiregion-overview.md %}) with [regional by row tables]({% link {{ page.version.version }}/table-localities.md %}). This is because the `COPY` statement used by DMS is unable to process hidden columns.

To prevent this error, set the `expect_and_ignore_not_visible_columns_in_copy` [session variable]({% link {{ page.version.version }}/session-variables.md %}) in the DMS [target endpoint configuration](#step-1-create-a-target-endpoint-pointing-to-cockroachdb). Under **Endpoint settings**, add an **AfterConnectScript** setting with the value `SET expect_and_ignore_not_visible_columns_in_copy=on`.
To prevent this error, set the [`expect_and_ignore_not_visible_columns_in_copy` session variable]({% link {{ page.version.version }}/session-variables.md %}#expect-and-ignore-not-visible-columns-in-copy) in the DMS [target endpoint configuration](#step-1-create-a-target-endpoint-pointing-to-cockroachdb). Under **Endpoint settings**, add an **AfterConnectScript** setting with the value `SET expect_and_ignore_not_visible_columns_in_copy=on`.

<img src="{{ 'images/v23.1/aws-dms-endpoint-settings.png' | relative_url }}" alt="AWS-DMS-Endpoint-Settings" style="max-width:100%" />

Expand Down
2 changes: 1 addition & 1 deletion src/current/v23.2/aws-dms.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ The `BatchApplyEnabled` setting can improve replication performance and is recom

- An AWS DMS migration can fail if the target schema has hidden columns. This includes databases with [hash-sharded indexes]({% link {{ page.version.version }}/hash-sharded-indexes.md %}) and [multi-region clusters]({% link {{ page.version.version }}/multiregion-overview.md %}) with [regional by row tables]({% link {{ page.version.version }}/table-localities.md %}). This is because the `COPY` statement used by DMS is unable to process hidden columns.

To prevent this error, set the `expect_and_ignore_not_visible_columns_in_copy` [session variable]({% link {{ page.version.version }}/session-variables.md %}) in the DMS [target endpoint configuration](#step-1-create-a-target-endpoint-pointing-to-cockroachdb). Under **Endpoint settings**, add an **AfterConnectScript** setting with the value `SET expect_and_ignore_not_visible_columns_in_copy=on`.
To prevent this error, set the [`expect_and_ignore_not_visible_columns_in_copy` session variable]({% link {{ page.version.version }}/session-variables.md %}#expect-and-ignore-not-visible-columns-in-copy) in the DMS [target endpoint configuration](#step-1-create-a-target-endpoint-pointing-to-cockroachdb). Under **Endpoint settings**, add an **AfterConnectScript** setting with the value `SET expect_and_ignore_not_visible_columns_in_copy=on`.

<img src="{{ 'images/v23.2/aws-dms-endpoint-settings.png' | relative_url }}" alt="AWS-DMS-Endpoint-Settings" style="max-width:100%" />

Expand Down

0 comments on commit 101dcef

Please sign in to comment.