-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document when to use GLOBAL tables vs. REGIONAL plus Follower Reads #9870
Comments
@andreimatei or @nvanbenschoten - would one of you mind adding more detail re: when it might be better to use (Some things were just said about this in a meeting but I didn't fully catch what was said) |
This is a very important topic, but it's also quite subtle, so we'll need to be careful about how we present this. The way I would talk about this is to start by saying that users can perform low-latency, stale reads using There are two reasons why a user might want to upgrade a table to The first is that they want low-latency consistent (non-stale) read access to the table in multiple regions from read-write transactions. So they want to be able to read the same data in the table (i.e. it can't be partitioned) consistently while performing writes. One very interesting case where this is important is if the table is referenced by a foreign key from a The second reason is less strong, but may be a practical reality. We've tried to make follower reads as accessible as possible and even have new ways of using them, like #10242. But there are bound to be cases where an ORM or application-level tool gets in the way and makes follower reads too hard to use. In these cases, So to summarize, I think the way we should frame this is "use follower reads whenever you can, only use GLOBAL tables when you can't". |
Vy Ton (vy-ton) commented: |
Stephanie Bodoff (stbof) commented: |
Richard Loveland (rmloveland) commented: |
Stephanie Bodoff (stbof) commented: |
Richard Loveland (rmloveland) commented:
We should document when to use
GLOBAL
tables vs. when to useREGIONAL
tables plus Follower Reads.Jira Issue: DOC-1001
The text was updated successfully, but these errors were encountered: