Re: why vacuum
От
Scott Marlowe
Тема
Re: why vacuum
Дата
Msg-id
1130337891.2872.8.camel@state.g2switchworks.com
Ответ на
why vacuum (Kenneth Gonsalves)
Список
Дерево обсуждения
why vacuum Kenneth Gonsalves <lawgon@thenilgiris.com>
Re: why vacuum Scott Marlowe <smarlowe@g2switchworks.com>
Re: why vacuum Igor Shevchenko <igor@carcass.ath.cx>
Re: why vacuum Scott Marlowe <smarlowe@g2switchworks.com>
Re: why vacuum Mario Splivalo <mario.splivalo@mobart.hr>
Re: why vacuum Andrew Sullivan <ajs@crankycanuck.ca>
Re: why vacuum Mario Splivalo <mario.splivalo@mobart.hr>
Re: why vacuum Andrew Sullivan <ajs@crankycanuck.ca>
Re: why vacuum Mario Splivalo <mario.splivalo@mobart.hr>
Re: why vacuum Andrew Sullivan <ajs@crankycanuck.ca>
Re: why vacuum Jan Wieck <JanWieck@Yahoo.com>
Re: why vacuum Jan Wieck <JanWieck@Yahoo.com>
Re: why vacuum Jan Wieck <JanWieck@Yahoo.com>
Re: why vacuum Scott Marlowe <smarlowe@g2switchworks.com>
Re: why vacuum Mario Splivalo <mario.splivalo@mobart.hr>
Re: why vacuum Richard Huxton <dev@archonet.com>
Re: why vacuum "Jim C. Nasby" <jnasby@pervasive.com>
Re: why vacuum Jan Wieck <JanWieck@Yahoo.com>
Re: why vacuum Tom Lane <tgl@sss.pgh.pa.us>
Re: why vacuum Scott Marlowe <smarlowe@g2switchworks.com>
Re: why vacuum Michael Fuhr <mike@fuhr.org>
Re: why vacuum Tom Lane <tgl@sss.pgh.pa.us>
Re: why vacuum "Bath, David" <dave.bath@unix.net>
Re: why vacuum Kenneth Gonsalves <lawgon@thenilgiris.com>
Re: why vacuum Tom Lane <tgl@sss.pgh.pa.us>
Yes, pg does triggers first before asserting check constraints! Was Re: why vacuum "Bath, David" <dave.bath@unix.net>
Re: Yes, pg does triggers first before asserting check constraints! Was Re: why vacuum Tom Lane <tgl@sss.pgh.pa.us>
On Tue, 2005-10-25 at 23:45, Kenneth Gonsalves wrote: > hi, > i was in a minor flame war with a mysql guy - his major grouse was that > 'I wouldnt commit mission critical data to a database that needs to be > vacuumed once a week'. So why does pg need vacuum? The absolutely funniest thing about what this guy is saying is that he seems rather ignorant of the behaviour of innodb tables. They have another name for the vacuum command there. It's: ALTER TABLE tbl_name ENGINE=INNODB Which rebuilds the whole fraggin's table, with an exclusive lock. and guess what innodb does if you don't run this command every so often? Can you guess yet? Yep, that's right, it just keeps growing and growing and growing. Hell, innodb isn't any better than the original mvcc implementation postgresql had when vacuums were all full and took exclusive locks. But at least with PostgreSQL it was a well documented issue, and was mentioned in the administrative section of the docs, so you knew you had to do it. It's kind of tucked away in the innodb section of the mysql docs, and most mysql folks don't even know they need to do it, since they almost all use myisam table types. If someone is more worried about postgresql's non-blocking, easily scheduled vacuuming, but is using myisam tables, and a database that by default allows numeric overflows to just insert the maximum possible value, I wouldn't trust them with handling my paycheck with their fan-boy database.
В списке pgsql-sql по дате отправления
От: Stephan Szabo
Дата: