Search Postgresql Archives

Re: problems with large table

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

 



"Phoenix Kiula" <phoenix.kiula@xxxxxxxxx> writes:
> Apart from creating a new table, indexing it, then renaming it to
> original table -- is there an alternative to CLUSTER that doesn't
> impose a painful ACCESS EXCLUSIVE lock on the table? We are on
> Postgres 8.2.3 and have a heavy duty table that starts showing its
> limits after a week or so. Autovacuum is on and working. FSM etc is
> fine, maintenance_work_mem is 256MB. But cluster still takes upwards
> of 30 minutes, which is unacceptable downtime for our web service.
> Thanks for any tips!

If you're seeing steady bloat then FSM isn't as fine as you think.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[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