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

feat: add heaviest chain materialized view #97

Merged
merged 5 commits into from
Oct 14, 2020

Conversation

iand
Copy link
Contributor

@iand iand commented Oct 13, 2020

This is the basic view against which we will write grafana queries. The view can be altered as we optimize it but its interface (i.e. columns) should remain the same.

Schema number may need adjusting depending on sequence of commits

@iand iand requested a review from placer14 October 13, 2020 16:21
b.miner,
b.timestamp,
b.parent_state_root,
b.win_count
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the b.win_count field?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, @placer14 wrote this originally

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because we want all of our data in our derived view without needing to join on write-heavy DBs.

@iand iand self-assigned this Oct 14, 2020
iand and others added 4 commits October 14, 2020 14:01
…-view

* origin/master:
  feat: Add miner_sector_posts tracking of window posts (#74)
  feat: Add historical indexer metrics (#92)
  fix(lens): Include dependencies needed for Repo Lens (#90)
  Move migration to schema version 10
  fix(migrations): migrations require version 0
  feat: add message gas economy processing
  perf(db): reduce batch size for chain history indexer (#105)
  fix: use hash index type for visor_processing_actors_code_idx (#106)
  feat: set application name in postgres connection (#104)
  feat: add visor processing stats table (#96)
  feat(task): add chain economics processing (#94)
  get actor name for both versions of specs-actors (#101)
  fix: remove errgrp from UnindexedBlockData persist
@placer14 placer14 merged commit 6aa5107 into master Oct 14, 2020
@placer14 placer14 deleted the iand/heaviest-chain-view branch October 14, 2020 19:50
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.

3 participants