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

Store table information in memory #142

Merged
merged 3 commits into from
Jul 30, 2020
Merged

Store table information in memory #142

merged 3 commits into from
Jul 30, 2020

Conversation

asdine
Copy link
Collaborator

@asdine asdine commented Jul 25, 2020

This PR makes tableInfoStore keep table information in memory. Table information is loaded at database startup and kept up to date every time a table is created, altered or dropped.
This change allows us to have access to table information without the need for a transaction, which is handy if we need to use this during parsing time.

It also fixes a bug where duplicate generated store id was overwritten.

Base automatically changed from remove-bytesutil to master July 27, 2020 19:52
database/config.go Outdated Show resolved Hide resolved
database/config.go Outdated Show resolved Hide resolved
Co-authored-by: Yassine Ennebati <4570448+yaziine@users.noreply.github.com>
@asdine asdine merged commit 533916e into master Jul 30, 2020
@asdine asdine deleted the load-table-info branch July 30, 2020 08:02
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

Successfully merging this pull request may close these issues.

2 participants