Skip to content

Releases: joshbrooks/django_viewedmodels

Set Statistics Command and Vacuum

09 Mar 02:34
Compare
Choose a tag to compare

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

07 Mar 08:33
Compare
Choose a tag to compare

Adds commands to vacuum materialized viewedmodels to prevent performance degradation on heavily refreshed models