Skip to content

Commit

Permalink
fix direct copy guidance (#18589)
Browse files Browse the repository at this point in the history
* fix direct copy guidance
  • Loading branch information
taroface committed May 31, 2024
1 parent e905382 commit b02550a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/current/v23.2/molt-fetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,12 @@ A local file server can be used with either the [`IMPORT INTO` or `COPY FROM` mo

`--direct-copy` specifies that MOLT Fetch should use `COPY FROM` to move the source data directly to CockroachDB without an intermediate store:

- Because the data is held in memory, the machine must have sufficient RAM for the amount of data being moved.
- Because the data is held in memory, the machine must have sufficient RAM for the data currently in flight:

~~~
average size of each row * --row-batch-size * --export-concurrency * --table-concurrency
~~~

- Direct copy mode does not support compression or [continuation](#fetch-continuation).
- The [`--use-copy`](#fetch-mode) flag is redundant with `--direct-copy`.

Expand Down
7 changes: 6 additions & 1 deletion src/current/v24.1/molt-fetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,12 @@ A local file server can be used with either the [`IMPORT INTO` or `COPY FROM` mo

`--direct-copy` specifies that MOLT Fetch should use `COPY FROM` to move the source data directly to CockroachDB without an intermediate store:

- Because the data is held in memory, the machine must have sufficient RAM for the amount of data being moved.
- Because the data is held in memory, the machine must have sufficient RAM for the data currently in flight:

~~~
average size of each row * --row-batch-size * --export-concurrency * --table-concurrency
~~~

- Direct copy mode does not support compression or [continuation](#fetch-continuation).
- The [`--use-copy`](#fetch-mode) flag is redundant with `--direct-copy`.

Expand Down

0 comments on commit b02550a

Please sign in to comment.