Skip to content

Commit

Permalink
Docs: vtctldclient ExecuteMultiFetchAsDBA (#1709)
Browse files Browse the repository at this point in the history
Signed-off-by: Shlomi Noach <[email protected]>
  • Loading branch information
shlomi-noach authored Mar 19, 2024
1 parent 3073202 commit 405a3dc
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: vtctldclient
series: vtctldclient
commit: 3b906cf6a3cedd9d216eaee4e162025d408beee9
commit: fdabcfb130ec3ca15b23c278a0f20802bcd05756
---
## vtctldclient

Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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 <max-rows>] [--json|-j] [--disable-binlogs] [--reload-schema] <tablet alias> <sql>
```

### 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.

0 comments on commit 405a3dc

Please sign in to comment.