Skip to content

Slow metrics calucation on production #26

@peterdudfield

Description

@peterdudfield

Currently production database takes ~4 hours to run calculating ME, comapred to 30 mins on dev. This could be for a number of reasons.

Useful postgres tools

SELECT relname, n_dead_tup FROM pg_stat_user_tables;
SELECT relname, last_vacuum, last_autovacuum FROM pg_stat_user_tables;
SELECT reloptions FROM pg_class;
SELECT * from pg_settings where category like 'Autovacuum';

although there is nothing obvious from this

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions