Re: new to postgres (and db management) and performance already a problem :-(

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

 



Antoine <melser.anton@xxxxxxxxx> writes:
> So... seeing as I didn't really do any investigation as to setting 
> default sizes for storage and the like - I am wondering whether our 
> performance problems (a programme running 1.5x slower than two weeks 
> ago) might not be coming from the db (or rather, my maintaining of it). 

That does sound like a lack-of-vacuuming problem.  If the performance
goes back where it was after VACUUM FULL, then you can be pretty sure
of it.  Note that autovacuum is not designed to fix this for you: it
only ever issues regular vacuum not vacuum full.

> I couldn't find an easy way to check for disk accessings.

Watch the output of "vmstat 1" or "iostat 1" for info about that.

			regards, tom lane


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

  Powered by Linux