readysettech / readyset

Readyset is a MySQL and Postgres wire-compatible caching layer that sits in front of existing databases to speed up queries and horizontally scale read throughput. Under the hood, ReadySet caches the results of cached select statements and incrementally updates these results over time as the underlying data changes.
https://readyset.io
Other
4.54k stars 125 forks source link

Improve MySQL Snapshot #1303

Closed altmannmarcelo closed 4 months ago

altmannmarcelo commented 4 months ago

Description

Currently we run a SELECT * FROM table to do snapshot. This works fine for small tables, but we should adjust it to take advantage of PK/UK and fetch data in batches.

Change in user-visible behavior

Requires documentation change