Skip to content

sql: lower defaults for sql.guardrails.max_row_size_log and sql.guardrails.max_row_size_err #160949

@michae2

Description

@michae2

The defaults of sql.guardrails.max_row_size_log and sql.guardrails.max_row_size_err are 64 MiB and 512 MiB, respectively, and have been since they were added in #67953. These default values were purposefully very conservative. What we've found, however, is that large rows tend to run into kv.raft.command.max_size first, which is confusing.

We should lower the defaults for sql.guardrails.max_row_size_log and sql.guardrails.max_row_size_err so that they come into effect before kv.raft.command.max_size.

Jira issue: CRDB-58626

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)O-supportWould prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docsP-2Issues/test failures with a fix SLA of 3 monthsT-sql-queriesSQL Queries Team

    Type

    No type

    Projects

    Status

    Short-term

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions