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

DB denormalization: block consensus and timestamp in transaction table #5322

Closed
wants to merge 6 commits into from

Conversation

vbaranov
Copy link
Member

@vbaranov vbaranov commented Mar 15, 2022

Motivation

Denormalization of DB for the sake of increasing performance of multiple queries in order to eliminate excessive joins with blocks table.

Changelog

Store block's consensus and timestamp in transactions table in order to speedup multiple queries.

Checklist for your Pull Request (PR)

@vbaranov vbaranov force-pushed the vb-consensus-timestamp-in-transaction branch 13 times, most recently from c6762f3 to 75c632e Compare March 16, 2022 13:06
@nikitosing nikitosing force-pushed the vb-consensus-timestamp-in-transaction branch 2 times, most recently from 7cc5921 to eee32f4 Compare March 21, 2022 19:17
@vbaranov vbaranov changed the title Block consensus and timestamp in transaction table DB denormalization: block consensus and timestamp in transaction table Mar 23, 2022
@vbaranov vbaranov force-pushed the vb-consensus-timestamp-in-transaction branch from 441830e to db33402 Compare March 23, 2022 11:57
@vbaranov vbaranov force-pushed the vb-consensus-timestamp-in-transaction branch 4 times, most recently from 2cfd9a7 to 7d2b25f Compare August 26, 2022 19:51
@vbaranov vbaranov force-pushed the vb-consensus-timestamp-in-transaction branch from 7d2b25f to 258586f Compare August 27, 2022 08:04
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.

None yet

3 participants