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

Schema cache #20

Closed
erikgrinaker opened this issue Apr 12, 2020 · 1 comment
Closed

Schema cache #20

erikgrinaker opened this issue Apr 12, 2020 · 1 comment

Comments

@erikgrinaker
Copy link
Owner

erikgrinaker commented Apr 12, 2020

The KV SQL engine should cache schema lookups.

This needs to be implemented at the MVCC level, so that versioning works - probably by specifying prefixes that should be cached. The downside of this is that it needs to go through serialization.

@erikgrinaker
Copy link
Owner Author

Will drop this. The primary SQL engine is in-memory anyway, so a cache would only save the deserialization cost, which we may not be able to avoid anyway due to MVCC versioning.

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

No branches or pull requests

1 participant