1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00

gcloud: Fri Feb 2 10:31:39 UTC 2024

This commit is contained in:
Automated 2024-02-02 10:31:39 +00:00
parent fa6c1dc7ec
commit 40bc27506b
7 changed files with 10 additions and 70 deletions

View file

@ -5,8 +5,7 @@ NAME
SYNOPSIS
gcloud sql export sql INSTANCE URI [--async]
[--database=DATABASE,[DATABASE,...], -d DATABASE,[DATABASE,...]]
[--offload] [--parallel]
[--table=TABLE,[TABLE,...], -t TABLE,[TABLE,...]] [--threads=THREADS]
[--offload] [--table=TABLE,[TABLE,...], -t TABLE,[TABLE,...]]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
@ -43,20 +42,11 @@ FLAGS
source instances and allows other operations to be performed while the
export is in progress.
--parallel
Perform a parallel export. This flag is only applicable to MySQL and
Postgres.
--table=TABLE,[TABLE,...], -t TABLE,[TABLE,...]
Tables to export from the specified database. If you specify tables,
specify one and only one database. For PostgreSQL instances, only one
table can be exported at a time.
--threads=THREADS
Specifies the number of threads to use for the parallel export. If
--parallel is specified and this flag is not provided, Cloud SQL uses a
default thread count to optimize performance.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,

View file

@ -4,8 +4,7 @@ NAME
SYNOPSIS
gcloud sql import sql INSTANCE URI [--async]
[--database=DATABASE, -d DATABASE] [--parallel] [--threads=THREADS]
[--user=USER] [GCLOUD_WIDE_FLAG ...]
[--database=DATABASE, -d DATABASE] [--user=USER] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
gcloud sql import sql imports data into a Cloud SQL instance from a SQL
@ -46,15 +45,6 @@ FLAGS
specified in the file to be imported. If your SQL dump file includes a
database statement, it will override the database set in this flag.
--parallel
Perform a parallel import. This flag is only applicable to MySQL and
Postgres.
--threads=THREADS
Specifies the number of threads to use for the parallel import. If
--parallel is specified and this flag is not provided, Cloud SQL uses a
default thread count to optimize performance.
--user=USER
PostgreSQL user for this import operation.