ExecuteFetchAsDBA

vtctldclient ExecuteFetchAsDBA

Executes the given query as the DBA user on the remote tablet.

1. vtctldclient ExecuteFetchAsDBA [--max-rows <max-rows>] [--json|-j] [--disable-binlogs] [--reload-schema] <tablet alias> <query>

Options

1. --disable-binlogs   Disables binary logging during the query.
2. -h, --help              help for ExecuteFetchAsDBA
3. -j, --json              Output the results in JSON instead of a human-readable table.
4. --max-rows int      The maximum number of rows to fetch from the remote tablet. (default 10000)
5. --reload-schema     Instructs the tablet to reload its schema after executing the query.

Options inherited from parent commands

1. --action_timeout duration   timeout to use for the command (default 1h0m0s)
2. --compact                   use compact format for otherwise verbose outputs
3. --server string             server to use for the connection (required)

SEE ALSO

  • vtctldclient - Executes a cluster management command on the remote vtctld server.