Skip to content

go: Optimize some SELECTs against dolt_log for some types of databases.#10592

Merged
reltuk merged 2 commits intomainfrom
aaron/optimize-dolt_log
Feb 27, 2026
Merged

go: Optimize some SELECTs against dolt_log for some types of databases.#10592
reltuk merged 2 commits intomainfrom
aaron/optimize-dolt_log

Conversation

@reltuk
Copy link
Copy Markdown
Contributor

@reltuk reltuk commented Feb 27, 2026

Databases with lots of tags will see a performance improvement on analyzing queries which use dolt_log.

An internal cache has been increased in size. Database servers which regularly run queries against dolt_log which visit more than 10,000 commits will be able to take advantage of the larger cache and will see the performance of those queries improve.

Copy link
Copy Markdown
Contributor

@bheni bheni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@coffeegoddd
Copy link
Copy Markdown
Contributor

@reltuk DOLT

comparing_percentages
100.000000 to 100.000000
version result total
f9b4739 ok 5937471
version total_tests
f9b4739 5937471
correctness_percentage
100.0

@coffeegoddd
Copy link
Copy Markdown
Contributor

@reltuk DOLT

test_name from_latency_p95 to_latency_p95 percent_change
tpcc-scale-factor-1 62.19 61.08 -1.78
test_name from_server_name from_server_version from_tps to_server_name to_server_version to_tps percent_change
tpcc-scale-factor-1 dolt e330cdd 36.91 dolt f9b4739 37.37 1.25

@reltuk reltuk merged commit ad73d05 into main Feb 27, 2026
39 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants