Conversation
08b065a to
04cc152
Compare
04cc152 to
afe120e
Compare
27d3824 to
22accc3
Compare
c6f5a98 to
22accc3
Compare
|
CI failling on auditlog module but don't see any relation with this PR: |
22accc3 to
3e9cffc
Compare
3e9cffc to
d20f0cd
Compare
database_autovacuum_tuning/models/database_autovacuum_tuning.py
Outdated
Show resolved
Hide resolved
database_autovacuum_tuning/models/database_autovacuum_tuning.py
Outdated
Show resolved
Hide resolved
database_autovacuum_tuning/models/database_autovacuum_tuning.py
Outdated
Show resolved
Hide resolved
database_autovacuum_tuning/models/database_autovacuum_tuning.py
Outdated
Show resolved
Hide resolved
database_autovacuum_tuning/models/database_autovacuum_tuning.py
Outdated
Show resolved
Hide resolved
database_autovacuum_tuning/tests/test_database_autovacuum_tunning.py
Outdated
Show resolved
Hide resolved
database_autovacuum_tuning/tests/test_database_autovacuum_tunning.py
Outdated
Show resolved
Hide resolved
database_autovacuum_tuning/tests/test_database_autovacuum_tunning.py
Outdated
Show resolved
Hide resolved
9c69e00 to
772221f
Compare
database_autovacuum_tuning/models/database_autovacuum_tuning.py
Outdated
Show resolved
Hide resolved
| @@ -0,0 +1,13 @@ | |||
| <?xml version="1.0" encoding="utf-8" ?> | |||
| <odoo> | |||
| <record id="cron_database_autovacuum_tuning" model="ir.cron"> | |||
There was a problem hiding this comment.
can't we simply use the @autovacuum decorator?
There was a problem hiding this comment.
We could but we probably will be mixing 2 goals:
- @autovacuum removing obsolete or temporary data
- cron_database_autovacuum_tuning tune vacuum config parameter on tables
There was a problem hiding this comment.
I agree with @santostelmo this would be confusing the purpose of both are totally different.
|
This PR has the |
7ade591 to
8b8f86f
Compare
8b8f86f to
ecb4fe8
Compare
Database Autovacuum Tuning helps administrators keep PostgreSQL healthy by
exposing recommended autovacuum settings in Odoo. It provides guidance for sizing thresholds and scale factors so large, busy databases
avoid table bloat and excessive vacuum lag. Use it to standardize autovacuum
configuration across environments and speed up maintenance operations without
manual tuning.