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

Support for materialized views #2951

Closed
Tracked by #2071
fredcarle opened this issue Aug 23, 2024 · 2 comments · Fixed by #3000
Closed
Tracked by #2071

Support for materialized views #2951

fredcarle opened this issue Aug 23, 2024 · 2 comments · Fixed by #3000
Assignees
Labels
feature New feature or request priority/high
Milestone

Comments

@fredcarle
Copy link
Collaborator

We currently have support for non-cached views. We should look into supporting materialized views (views that are static).

@fredcarle fredcarle added feature New feature or request priority/high labels Aug 23, 2024
@fredcarle fredcarle added this to the DefraDB v0.14 milestone Aug 23, 2024
@AndrewSisley
Copy link
Contributor

Note:

views that are static

This should not be a requirement, and is probably not desirable at all. Cache-backed views should be updating automatically as the data backing them (or the view definition) updates. The SIP goes into this a little bit: https://github.com/sourcenetwork/SIPs/blob/sisley/views/x-views/README.md

@jsimnz
Copy link
Member

jsimnz commented Aug 23, 2024

It's probably a good first step to just make the views "materialized" meaning static until manually trigger a rematerialization.

Then we can move onto "maintained" (real time) views.

The requirement from Dave/coax is only for materialized views, since that is what they used previously with postgres.

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

Successfully merging a pull request may close this issue.

3 participants