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

Add clustering to BigQuery tables where appropriate #28

Open
medvedev1088 opened this issue Nov 1, 2019 · 2 comments
Open

Add clustering to BigQuery tables where appropriate #28

medvedev1088 opened this issue Nov 1, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@medvedev1088
Copy link
Member

medvedev1088 commented Nov 1, 2019

https://cloud.google.com/bigquery/docs/clustered-tables. It can make some queries cheaper and faster.

@allenday
Copy link
Member

I was thinking of this when reading @askeluv 's blog post:
https://towardsdatascience.com/how-to-get-any-ethereum-smart-contract-into-bigquery-in-8-mins-bab5db1fdeee
If we implement clustering/partitioning, it should be possible to reduce the query cost of using the logs table directly, i.e. no need to create contract-specific tables.

However, there is some active work being done for streaming into partitions, see:
https://issuetracker.google.com/issues/35905817#comment89

@allenday allenday added the enhancement New feature or request label May 18, 2020
@medvedev1088
Copy link
Member Author

That's a good idea.

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

No branches or pull requests

2 participants