sql: turning off DistSQL gives 7.5% qps boost on oltp_read_only (conjecture: 3.5% cpu on oltp_read_write) #135898
Labels
branch-master
Failures and bugs on the master branch.
C-performance
Perf of queries or internals. Solution not expected to change functional behavior.
o-perf-efficiency
Related to performance efficiency
P-2
Issues/test failures with a fix SLA of 3 months
T-sql-queries
SQL Queries Team
In an ad-hoc experiment, changing
sql.defaults.distsql
tooff
resulted in a 7.5 improvement in qps, from around 40k to around 43k.1DistSQL is likely used for the sysbench "range" queries, which scan 100 consecutive keys. It likely makes no sense to use DistSQL here, as the overhead does not get amortized. There are no unbounded scans here either.
Epic: CRDB-42584
Jira issue: CRDB-44780
Footnotes
https://cockroachlabs.slack.com/archives/C07P0CNLP51/p1732192681032459?thread_ts=1732092976.359539&cid=C07P0CNLP51 ↩
The text was updated successfully, but these errors were encountered: