vitess.io/vitess@v0.16.2/go/flags/endtoend/vtexplain.txt (about)

     1  Usage of vtexplain:
     2        --alsologtostderr                             log to standard error as well as files
     3        --batch-interval duration                     Interval between logical time slots. (default 10ms)
     4        --dbname string                               Optional database target to override normal routing
     5        --default_tablet_type topodatapb.TabletType   The default tablet type to set for queries, when one is not explicitly selected. (default PRIMARY)
     6        --execution-mode string                       The execution mode to simulate -- must be set to multi, legacy-autocommit, or twopc (default "multi")
     7    -h, --help                                        display usage and exit
     8        --keep_logs duration                          keep logs for this long (using ctime) (zero to keep forever)
     9        --keep_logs_by_mtime duration                 keep logs for this long (using mtime) (zero to keep forever)
    10        --ks-shard-map string                         JSON map of keyspace name -> shard name -> ShardReference object. The inner map is the same as the output of FindAllShardsInKeyspace
    11        --ks-shard-map-file string                    File containing json blob of keyspace name -> shard name -> ShardReference object
    12        --log_backtrace_at traceLocation              when logging hits line file:N, emit a stack trace (default :0)
    13        --log_dir string                              If non-empty, write log files in this directory
    14        --log_err_stacks                              log stack traces for errors
    15        --log_rotate_max_size uint                    size in bytes at which logs are rotated (glog.MaxSize) (default 1887436800)
    16        --logtostderr                                 log to standard error instead of files
    17        --mysql_server_version string                 MySQL server version to advertise. (default "8.0.30-Vitess")
    18        --normalize                                   Whether to enable vtgate normalization
    19        --output-mode string                          Output in human-friendly text or json (default "text")
    20        --planner-version string                      Sets the query planner version to use when generating the explain output. Valid values are V3 and Gen4. An empty value will use VTGate's default planner
    21        --pprof strings                               enable profiling
    22        --purge_logs_interval duration                how often try to remove old logs (default 1h0m0s)
    23        --replication-mode string                     The replication mode to simulate -- must be set to either ROW or STATEMENT (default "ROW")
    24        --schema string                               The SQL table schema
    25        --schema-file string                          Identifies the file that contains the SQL table schema
    26        --security_policy string                      the name of a registered security policy to use for controlling access to URLs - empty means allow all for anyone (built-in policies: deny-all, read-only)
    27        --shards int                                  Number of shards per keyspace. Passing --ks-shard-map/--ks-shard-map-file causes this flag to be ignored. (default 2)
    28        --sql string                                  A list of semicolon-delimited SQL commands to analyze
    29        --sql-file string                             Identifies the file that contains the SQL commands to analyze
    30        --sql-max-length-errors int                   truncate queries in error logs to the given length (default unlimited)
    31        --sql-max-length-ui int                       truncate queries in debug UIs to the given length (default 512) (default 512)
    32        --stderrthreshold severity                    logs at or above this threshold go to stderr (default 1)
    33        --v Level                                     log level for V logs
    34    -v, --version                                     print binary version
    35        --vmodule moduleSpec                          comma-separated list of pattern=N settings for file-filtered logging
    36        --vschema string                              Identifies the VTGate routing schema
    37        --vschema-file string                         Identifies the VTGate routing schema file