From 0174013b376e81a46ec036d2f8a28e5f8b6f6504 Mon Sep 17 00:00:00 2001 From: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Date: Tue, 19 Mar 2024 10:02:02 +0200 Subject: [PATCH] Docs: vtctldclient ExecuteMultiFetchAsDBA Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> --- .../reference/programs/vtctldclient/_index.md | 3 +- .../vtctldclient_ExecuteMultiFetchAsDBA.md | 38 +++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 content/en/docs/20.0/reference/programs/vtctldclient/vtctldclient_ExecuteMultiFetchAsDBA.md diff --git a/content/en/docs/20.0/reference/programs/vtctldclient/_index.md b/content/en/docs/20.0/reference/programs/vtctldclient/_index.md index e7468992a..78f548358 100644 --- a/content/en/docs/20.0/reference/programs/vtctldclient/_index.md +++ b/content/en/docs/20.0/reference/programs/vtctldclient/_index.md @@ -1,7 +1,7 @@ --- title: vtctldclient series: vtctldclient -commit: 3b906cf6a3cedd9d216eaee4e162025d408beee9 +commit: fdabcfb130ec3ca15b23c278a0f20802bcd05756 --- ## vtctldclient @@ -54,6 +54,7 @@ vtctldclient [flags] * [vtctldclient ExecuteFetchAsApp](./vtctldclient_executefetchasapp/) - Executes the given query as the App user on the remote tablet. * [vtctldclient ExecuteFetchAsDBA](./vtctldclient_executefetchasdba/) - Executes the given query as the DBA user on the remote tablet. * [vtctldclient ExecuteHook](./vtctldclient_executehook/) - Runs the specified hook on the given tablet. +* [vtctldclient ExecuteMultiFetchAsDBA](./vtctldclient_executemultifetchasdba/) - Executes given multiple queries as the DBA user on the remote tablet. * [vtctldclient FindAllShardsInKeyspace](./vtctldclient_findallshardsinkeyspace/) - Returns a map of shard names to shard references for a given keyspace. * [vtctldclient GenerateShardRanges](./vtctldclient_generateshardranges/) - Print a set of shard ranges assuming a keyspace with N shards. * [vtctldclient GetBackups](./vtctldclient_getbackups/) - Lists backups for the given shard. diff --git a/content/en/docs/20.0/reference/programs/vtctldclient/vtctldclient_ExecuteMultiFetchAsDBA.md b/content/en/docs/20.0/reference/programs/vtctldclient/vtctldclient_ExecuteMultiFetchAsDBA.md new file mode 100644 index 000000000..8c0c5836a --- /dev/null +++ b/content/en/docs/20.0/reference/programs/vtctldclient/vtctldclient_ExecuteMultiFetchAsDBA.md @@ -0,0 +1,38 @@ +--- +title: ExecuteMultiFetchAsDBA +series: vtctldclient +commit: fdabcfb130ec3ca15b23c278a0f20802bcd05756 +--- +## vtctldclient ExecuteMultiFetchAsDBA + +Executes given multiple queries as the DBA user on the remote tablet. + +``` +vtctldclient ExecuteMultiFetchAsDBA [--max-rows ] [--json|-j] [--disable-binlogs] [--reload-schema] +``` + +### Options + +``` + --disable-binlogs Disables binary logging during the query. + -h, --help help for ExecuteMultiFetchAsDBA + -j, --json Output the results in JSON instead of a human-readable table. + --max-rows int The maximum number of rows to fetch from the remote tablet. (default 10000) + --reload-schema Instructs the tablet to reload its schema after executing the query. +``` + +### Options inherited from parent commands + +``` + --action_timeout duration timeout to use for the command (default 1h0m0s) + --compact use compact format for otherwise verbose outputs + --server string server to use for the connection (required) + --topo-global-root string the path of the global topology data in the global topology server (default "/vitess/global") + --topo-global-server-address strings the address of the global topology server(s) (default [localhost:2379]) + --topo-implementation string the topology implementation to use (default "etcd2") +``` + +### SEE ALSO + +* [vtctldclient](../) - Executes a cluster management command on the remote vtctld server. +