Search Postgresql Archives

Re: Query hitting empty tables taking 48 minutes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 8, 2018 at 9:17 AM, Robert Creager <robertc@xxxxxxxxxxxxxxxx> wrote:
A nightly VACUUM FULL which ran based on heuristics resolved the problem.  This would seem to point to a db problem more than an app problem?  I’m unsure how the app could have an affect of this magnitude on the database, although I’d love to be told otherwise.

​Not sure what the right answer is but its seems your database (those tables at least) are mis-configured for the workload being ​executed against them.  Significantly increasing the aggressiveness of the auto-vacuum process and/or inserting manual vacuum analyze commands into your application at appropriate times are probably necessary.

David J.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux