"high CPU usage" It might very well be "high IO usage".

        Try this :

        Copy (using explorer, the shell, whatever) a huge file.
        This will create load similar to ALTER TABLE.
        Measure throughput, how much is it ?

If your server blows up just like it did on ALTER TABLE, you got a IO system problem.
        If everything is smooth, you can look into other things.

How's your fragmentation ? Did the disk ever get full ? What does the task manager say (swap in/out, disk queue lengthn etc)

        PS : try a separate tablespace on another disk.

--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

Reply via email to