Re: remove flatfiles.c

Поиск
Список
Период
Сортировка
Искать
От
Joshua D. Drake
Тема
Re: remove flatfiles.c
Дата
Msg-id
1251913619.8406.37.camel@jd-desktop.iso-8859-1.charter.com
Ответ на
Список
Дерево обсуждения
remove flatfiles.c Alvaro Herrera <alvherre@commandprompt.com>
Re: remove flatfiles.c Simon Riggs <simon@2ndQuadrant.com>
Re: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: remove flatfiles.c Simon Riggs <simon@2ndQuadrant.com>
Re: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: remove flatfiles.c Greg Stark <gsstark@mit.edu>
Re: remove flatfiles.c Alvaro Herrera <alvherre@commandprompt.com>
Re: remove flatfiles.c Greg Stark <gsstark@mit.edu>
Re: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: remove flatfiles.c daveg <daveg@sonic.net>
Re: remove flatfiles.c Andrew Dunstan <andrew@dunslane.net>
Re: remove flatfiles.c daveg <daveg@sonic.net>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Josh Berkus <josh@agliodbs.com>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Boszormenyi Zoltan <zb@cybertec.at>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Robert Haas <robertmhaas@gmail.com>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c "Joshua D. Drake" <jd@commandprompt.com>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c "Joshua D. Drake" <jd@commandprompt.com>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Alvaro Herrera <alvherre@commandprompt.com>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Robert Haas <robertmhaas@gmail.com>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Robert Haas <robertmhaas@gmail.com>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Robert Haas <robertmhaas@gmail.com>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Dimitri Fontaine <dfontaine@hi-media.com>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Alvaro Herrera <alvherre@commandprompt.com>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Dimitri Fontaine <dfontaine@hi-media.com>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Alvaro Herrera <alvherre@commandprompt.com>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Dimitri Fontaine <dfontaine@hi-media.com>
Re: Eliminating VACUUM FULL WAS: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: remove flatfiles.c Andrew McNamara <andrewm@object-craft.com.au>
Re: remove flatfiles.c Robert Haas <robertmhaas@gmail.com>
Re: remove flatfiles.c Alvaro Herrera <alvherre@commandprompt.com>
Re: remove flatfiles.c Robert Haas <robertmhaas@gmail.com>
Re: remove flatfiles.c Jaime Casanova <jcasanov@systemguards.com.ec>
Re: remove flatfiles.c Greg Stark <gsstark@mit.edu>
Re: remove flatfiles.c Josh Berkus <josh@agliodbs.com>
Re: remove flatfiles.c "Joshua D. Drake" <jd@commandprompt.com>
Re: remove flatfiles.c "Joshua D. Drake" <jd@commandprompt.com>
Re: remove flatfiles.c Greg Stark <gsstark@mit.edu>
Re: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: remove flatfiles.c Robert Haas <robertmhaas@gmail.com>
Re: remove flatfiles.c "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: remove flatfiles.c Greg Stark <gsstark@mit.edu>
Re: remove flatfiles.c Josh Berkus <josh@agliodbs.com>
Re: remove flatfiles.c "Joshua D. Drake" <jd@commandprompt.com>
Re: remove flatfiles.c "Joshua D. Drake" <jd@commandprompt.com>
Re: remove flatfiles.c Robert Haas <robertmhaas@gmail.com>
Re: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: remove flatfiles.c Robert Haas <robertmhaas@gmail.com>
Re: remove flatfiles.c Greg Stark <gsstark@mit.edu>
Re: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: remove flatfiles.c Greg Stark <gsstark@mit.edu>
Re: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: remove flatfiles.c Alvaro Herrera <alvherre@commandprompt.com>
Re: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: remove flatfiles.c Alvaro Herrera <alvherre@commandprompt.com>
Re: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: remove flatfiles.c Alvaro Herrera <alvherre@commandprompt.com>
Re: remove flatfiles.c Robert Haas <robertmhaas@gmail.com>
Re: remove flatfiles.c Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: remove flatfiles.c Alvaro Herrera <alvherre@commandprompt.com>
Re: remove flatfiles.c Robert Haas <robertmhaas@gmail.com>
Re: remove flatfiles.c Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: remove flatfiles.c Greg Stark <gsstark@mit.edu>
Re: remove flatfiles.c Rod Taylor <rod.taylor@gmail.com>
Re: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
Re: remove flatfiles.c Alvaro Herrera <alvherre@commandprompt.com>
Re: remove flatfiles.c Tom Lane <tgl@sss.pgh.pa.us>
On Wed, 2009-09-02 at 10:41 -0700, Josh Berkus wrote:
> All,
> 
> 
> > I'm having a hard time believing that VACUUM FULL really has any
> > interesting use-case anymore.
> 
> Basically, for:
> a) people who don't understand CLUSTER (easily fixed, simply create a
> VACUUM FULL command which just does CLUSTER on the primary key)
> 
> b) people who are completely out of space on disk and are trying to
> shrink the database to free up space.
> 
> For (b), I think it's OK to just tell those people that they need to
> move the database files or find something else to delete.  Most of the
> time, they have to do that *anyway* in order for VACUUM FULL to work,
> since the transaction log is on the same disk.  We just need a little
> more documentation, is all.

Right.

> 
> > The problem use cases we have today are only when you really do have
> > enough dead space to clean up that you want to compact the file -- but
> > not so much that it's worth rewriting the whole table using CLUSTER or
> > ALTER TABLE.
> 
> I haven't seen this use-case in the field.  I'm not sure that it
> actually exists.  Anyone run across a case where this made sense?
> 

No.

> Recently I actually had a client dump and reload their database rather
> than running VACUUM FULL; a reload took 4 hours but VACUUM FULL took
> more than 18.
> 

Exactly.

> > Perhaps we should go one version with a enable_legacy_full_vacuum
> > which defaults to off. That would at least let us hear about use cases
> > where people are unhappy with a replacement.
> 
> I think we do need to do this, just because people won't have changed
> their admin scripts.  But the goal should be to dump VACUUM FULL
> entirely by 8.6 if we *don't* get serious use-cases.
> 

Agreed, but I think we shouldn't even put it in the postgresql.conf by
default. Just document that it exists. Settings for the sake of settings
(even ones that may have a corner case) seem to confuse users.

Joshua D. Drake


-- 
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564
Consulting, Training, Support, Custom Development, Engineering



В списке pgsql-hackers по дате отправления
От: Greg Stark
Дата:
Сообщение: Re: remove flatfiles.c
От: Joshua D. Drake
Дата:
Сообщение: Re: remove flatfiles.c
FAQ