Releases: joshbrooks/django_viewedmodels
Releases · joshbrooks/django_viewedmodels
Set Statistics Command and Vacuum
Set Statistics
The 'set_statistics' command included in this release allows tweaking the STATISTICS for columns in materialized views. Increasing this number may help prevent problems where the query planned cannot handle frequent REFRESHes.
Vacuum
Materialized viewed models which are concurrently updated should also be vacuumed. This release includes a management command to vacuum viewed models.
./manage.py vacuum_viewed_models
Vacuum viewdemodels
Adds commands to vacuum materialized viewedmodels to prevent performance degradation on heavily refreshed models