-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Deliverable] PostgreSQL Maintenance #119
Comments
Add to scope: waku-org/nwaku#1885, legacy from 2023 milestone. |
Note that waku-org/nwaku#1885 may not make sense to do, which is the whole point of this milestone. |
Sorry, I'm a bit puzzled now. I think is important to allow the size constraint. Regarding scope, this falls under |
@chair28980 @fryorcraken - this can be closed as per the work made in waku-org/nwaku#2506 |
We need some dogfooding to happen. Has it happen? Can we make it happen in our fleets? |
Yes, I agree with that. That already happened in The "size" retention policy is properly working, freeing disk space when applied, from version On the other hand, we completed the "time" retention policy in Components running
We are aiming to update the |
We should do |
Yes, you are right! I didn't mention it properly. |
This is done. |
Work on how to best handle PostgreSQL database growth and pruning is in progress and must completed to enable node operators to handle database growth in an easy and non-disruptive manner. Also, the PostgreSQL should bring an acceptable QoS from the Status PoV.
Milestone:
Summary
Provide clear strategy and tooling on how a node operator should prune/reduce the PostgreSQL DB size while minimizing service disruption.
Perform the required optimizations so that the PostgreSQL works smoothly and without blocking. The optimization is related to analyzing the `EXPLAIN PLAN' of the most usual queries and adding required indexes or prepared statements to enhance those queries.
We need to perform this optimization in StoreV3.
We will consider this as completed after one week of intense QA performed around Status with no new Postgres-related issues.
Justification
Store database grows linearly with the number of messages on the network. Regular deletion is needed, deletion should be done on older messages.
Operators need to keep Postgres database size controlled and it to support standard queries in the most possible performant way.
Epics
The text was updated successfully, but these errors were encountered: