Re: How to debug performance problems

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

 



Ray Stell wrote:
> I'd like to have a toolbox prepared for when performance goes south.
> I'm clueless.  Would someone mind providing some detail about how to
> measure these four items Craig listed:
> 
> 1. The first thing is to find out which query is taking a lot of time.
> 
> 2. A long-running transaction keeps vacuum from working.
> 
> 3. A table grows just enough to pass a threshold in the
>    planner and a drastically different plan is generated.

I just ran into a variation of this:

3.5 A table grows so large so that VACUUMING it takes extremely long,
interfering with the general performance of the system.

In our case, we think the table had about 36 million rows when it hit
that threshold.

I'm now working on a better solution for that table.

  Mark


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux