mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 02:25:19 +00:00
gcloud: Wed Jan 31 10:36:17 UTC 2024
This commit is contained in:
parent
7a546ffea4
commit
fa6c1dc7ec
142 changed files with 1981 additions and 793 deletions
|
|
@ -5,7 +5,8 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud alpha sql export sql INSTANCE URI [--async]
|
||||
[--database=DATABASE,[DATABASE,...], -d DATABASE,[DATABASE,...]]
|
||||
[--offload] [--table=TABLE,[TABLE,...], -t TABLE,[TABLE,...]]
|
||||
[--offload] [--parallel]
|
||||
[--table=TABLE,[TABLE,...], -t TABLE,[TABLE,...]] [--threads=THREADS]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -42,11 +43,20 @@ 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,
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha sql import sql INSTANCE URI [--async]
|
||||
[--database=DATABASE, -d DATABASE] [--user=USER] [GCLOUD_WIDE_FLAG ...]
|
||||
[--database=DATABASE, -d DATABASE] [--parallel] [--threads=THREADS]
|
||||
[--user=USER] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha sql import sql imports data into a Cloud SQL instance
|
||||
|
|
@ -45,6 +46,15 @@ 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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue