COCKROACH-GEN-EXAMPLE-DATA-TTLLOGGER(1)

NAME

cockroach-gen-example-data-ttllogger - Generates a simple log table with rows expiring after the given TTL.

SYNOPSIS

cockroach gen example-data ttllogger [flags]

DESCRIPTION

Generates a simple log table with rows expiring after the given TTL.

OPTIONS

--concurrency=40
    Number of concurrent workers

--conn-healthcheck-period=30s
    Interval that health checks are run on connections

--conn-vars=[]
    Session variables to configure on database connections

--db=""
    Override for the SQL database to use. If empty, defaults to the generator name

--dns-refresh=30s
    Interval used to refresh cached DNS entries ( disables)

-h, --help[=false]
    help for ttllogger

--isolation-level=""
    Isolation level to run workload transactions under [serializable, snapshot, read_committed]. If unset, the workload will run with the default isolation level of the database.

--max-conn-idle-time=2m30s
    Max time an idle connection will be kept around

--max-conn-lifetime=5m0s
    Max connection lifetime

--max-conn-lifetime-jitter=2m30s
    Jitter max connection lifetime by this amount

--max-rows-per-insert=100
    Maximum rows per insert per query.

--method="cache_statement"
    SQL issue method (cache_statement, cache_describe, describe_exec, exec, simple_protocol)

--min-conns=0
    Minimum number of connections to attempt to keep in the pool

--min-rows-per-insert=1
    Minimum rows per insert per query.

--seed=1
    Seed for randomization operations.

--ts-as-primary-key[=true]
    Whether timestamp column for the table should be part of the primary key.

--ttl=1m0s
    Duration for the TTL to expire.

--warmup-conns=0
    Number of connections to warmup in each connection pool

OPTIONS INHERITED FROM PARENT COMMANDS

--enterprise-require-fips-ready[=false]
    abort if FIPS readiness checks fail

--log=

Logging configuration, expressed using YAML syntax. For example, you can
 change the default logging directory with: --log='file-defaults: {dir: ...}'.
 See the documentation for more options and details. To preview how the log
 configuration is applied, or preview the default configuration, you can use
 the 'cockroach debug check-log-config' sub-command.

--log-config-file=

File name to read the logging configuration from. This has the same effect as
 passing the content of the file via the --log flag.

--log-config-vars=[]

Environment variables that will be expanded if present in the body of the
 logging configuration.

--log-dir=

--log-dir=XXX is an alias for --log='file-defaults: {dir: XXX}'.

--logtostderr[=UNKNOWN]

--logtostderr=XXX is an alias for --log='sinks: {stderr: {filter: XXX}}'. If
 no value is specified, the default value for the command is inferred: INFO for
 server commands, WARNING for client commands.

--redactable-logs=false

--redactable-logs=XXX is an alias for --log='file-defaults: {redactable:
 XXX}}'.

--vmodule=
    comma-separated list of pattern=N settings for file-filtered logging (significantly hurts performance)

SEE ALSO

cockroach-gen-example-data(1)

HISTORY

13-May-2026 Auto generated by spf13/cobra