QueryStats: {
    attempts: number;
    compute_ops: number;
    contention_retries: number;
    query_time_ms: number;
    rate_limits_hit?: ("read" | "write" | "compute")[];
    read_ops: number;
    storage_bytes_read: number;
    storage_bytes_write: number;
    write_ops: number;
}

Type declaration

  • attempts: number

    The number query attempts made due to retryable errors.

  • compute_ops: number

    The amount of Transactional Compute Ops consumed by the query.

  • contention_retries: number

    The number of times the transaction was retried due to write contention.

  • query_time_ms: number

    The query run time in milliseconds.

  • Optionalrate_limits_hit?: ("read" | "write" | "compute")[]

    A list of rate limits hit. Included with QueryFailure responses when the query is rate limited.

  • read_ops: number

    The amount of Transactional Read Ops consumed by the query.

  • storage_bytes_read: number

    The amount of data read from storage, in bytes.

  • storage_bytes_write: number

    The amount of data written to storage, in bytes.

  • write_ops: number

    The amount of Transactional Write Ops consumed by the query.