Skip to content

Set Statistics Command and Vacuum

Latest
Compare
Choose a tag to compare
@joshbrooks joshbrooks released this 09 Mar 02:34

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