Skip to content
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

Feedback: AS OF SYSTEM TIME does not make relationship clear to enterprise-license-only follower reads #18521

Open
hand-crdb opened this issue May 6, 2024 · 0 comments
Assignees

Comments

@hand-crdb
Copy link

hand-crdb commented May 6, 2024

Steven Hand (hand-crdb) commented:

Page: https://cockroachlabs.com/docs/v23.2/as-of-system-time.html

What is the reason for your feedback?

[X] Missing the information I need

[ ] Too complicated

[ ] Out of date

[ ] Something is broken

[ ] Other

Additional details

Whether on this page, or on the page on follower reads, it would be good to discuss the fact that follower reads require an enterprise license and are NOT done without an enterprise license. The AS OF SYSTEM TIME syntax performs a historical read, which returns correct results in both cases. But CockroachDB has the option (not guaranteed) to implement that historical read as a follower read only if it has a license.

If the license is not present, then only the leaseholder will serve that read. In that case you will not get the following benefits:

  • (usually) reduced query latency
  • (usually) reduced contention

Jira Issue: DOC-10226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants