Skip to content

Commit

Permalink
cockroach import deprecation notice (#17586)
Browse files Browse the repository at this point in the history
  • Loading branch information
taroface authored Aug 8, 2023
1 parent 1dcd574 commit 9e3b26f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/current/v22.2/cockroach-import.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ toc: true
docs_area: reference.cli
---

The `cockroach import` [command](cockroach-commands.html) imports a database or table from a local dump file into a running cluster. This command [uploads a userfile](cockroach-userfile-upload.html), imports its data, then [deletes the userfile](cockroach-userfile-delete.html). `PGDUMP` and `MYSQLDUMP` file formats are currently supported.

{{site.data.alerts.callout_info}}
We recommend using `cockroach import` for quick imports from your client (about 15MB or smaller). For larger imports, use the [IMPORT](import.html) statement.
{{site.data.alerts.callout_danger}}
The statements on this page are **deprecated** as of v23.1 and will be removed in a future release. To move data into CockroachDB, use [`IMPORT INTO`](import-into.html) or [`COPY FROM`](copy-from.html).
{{site.data.alerts.end}}

The `cockroach import` [command](cockroach-commands.html) imports a database or table from a local dump file into a running cluster. This command [uploads a userfile](cockroach-userfile-upload.html), imports its data, then [deletes the userfile](cockroach-userfile-delete.html). `PGDUMP` and `MYSQLDUMP` file formats are currently supported.

## Required privileges

The user must have `CREATE` [privileges](security-reference/authorization.html#managing-privileges) on `defaultdb`.
Expand Down
8 changes: 4 additions & 4 deletions src/current/v23.1/cockroach-import.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ toc: true
docs_area: reference.cli
---

The `cockroach import` [command](cockroach-commands.html) imports a database or table from a local dump file into a running cluster. This command [uploads a userfile](cockroach-userfile-upload.html), imports its data, then [deletes the userfile](cockroach-userfile-delete.html). `PGDUMP` and `MYSQLDUMP` file formats are currently supported.

{{site.data.alerts.callout_info}}
We recommend using `cockroach import` for quick imports from your client (about 15MB or smaller). For larger imports, use the [IMPORT](import.html) statement.
{{site.data.alerts.callout_danger}}
The statements on this page are **deprecated** as of v23.1 and will be removed in a future release. To move data into CockroachDB, use [`IMPORT INTO`](import-into.html) or [`COPY FROM`](copy-from.html).
{{site.data.alerts.end}}

The `cockroach import` [command](cockroach-commands.html) imports a database or table from a local dump file into a running cluster. This command [uploads a userfile](cockroach-userfile-upload.html), imports its data, then [deletes the userfile](cockroach-userfile-delete.html). `PGDUMP` and `MYSQLDUMP` file formats are currently supported.

## Required privileges

The user must have `CREATE` [privileges](security-reference/authorization.html#managing-privileges) on `defaultdb`.
Expand Down

0 comments on commit 9e3b26f

Please sign in to comment.