Re: [HACKERS] SELECT * FROM LIMIT 1; is really slow

Wed, 26 May 2004 18:36:03 -0700

It wouldn't; you'd need vacuum full to collapse out the dead space.
You could also try CLUSTER which is faster than VACUUM FULL when most
of the data has to be moved anyway.  (Some days I think we should dump
VACUUM FULL, because it's optimized for a case that's no longer very
interesting...)

Out of interest, is CLUSTER another fast way of truly removing OIDs from a table, after going SET WITHOUT OIDS?


Chris


---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to