Hannu Krosing <[EMAIL PROTECTED]> writes: > On K, 2005-08-31 at 16:50 +0900, Satoshi Nagayasu wrote: >> VACUUM generates a huge load because it repaires all pages >> on the table file. >> >> I think (more light-weight) repairing on a single page >> is needed to maintain free space in the specific page.
> There have been plans floating around for adding a more lightweight > vacuum, which uses something similar to FSM to keep track of pages which > need vacuuming. And possibly integreated with background writer to make > effective use of I/O resources. > I guess it could be used for this case of "cheap page cleanups" as well. Pretty much all of these ideas fall down when you remember that you have to fix indexes too. There's no such thing as a "cheap page cleanup", except maybe in a table with no indexes. Cleaning out the indexes efficiently requires a certain amount of batch processing, which leads straight back to VACUUM. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly