Re: First steps with 8.3 and autovacuum launcher

Поиск
Список
Период
Сортировка
Искать
От
Decibel!
Тема
Re: First steps with 8.3 and autovacuum launcher
Дата
Msg-id
83E05AF9-9085-477D-947A-EF23D89E183F@decibel.org
Ответ на
Список
Дерево обсуждения
First steps with 8.3 and autovacuum launcher "Guillaume Smet" <guillaume.smet@gmail.com>
Re: First steps with 8.3 and autovacuum launcher Decibel! <decibel@decibel.org>
Re: First steps with 8.3 and autovacuum launcher "Guillaume Smet" <guillaume.smet@gmail.com>
Re: First steps with 8.3 and autovacuum launcher Decibel! <decibel@decibel.org>
Re: First steps with 8.3 and autovacuum launcher "Guillaume Smet" <guillaume.smet@gmail.com>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher "Guillaume Smet" <guillaume.smet@gmail.com>
Re: First steps with 8.3 and autovacuum launcher "Guillaume Smet" <guillaume.smet@gmail.com>
Re: First steps with 8.3 and autovacuum launcher "Guillaume Smet" <guillaume.smet@gmail.com>
Re: First steps with 8.3 and autovacuum launcher Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Re: First steps with 8.3 and autovacuum launcher Gregory Stark <stark@enterprisedb.com>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Heikki Linnakangas <heikki@enterprisedb.com>
Re: First steps with 8.3 and autovacuum launcher Alvaro Herrera <alvherre@commandprompt.com>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher "Matthew T. O'Connor" <matthew@zeut.net>
Re: First steps with 8.3 and autovacuum launcher Alvaro Herrera <alvherre@commandprompt.com>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Alvaro Herrera <alvherre@commandprompt.com>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Michael Paesold <mpaesold@gmx.at>
Re: First steps with 8.3 and autovacuum launcher "Matthew T. O'Connor" <matthew@zeut.net>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Alvaro Herrera <alvherre@commandprompt.com>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Alvaro Herrera <alvherre@commandprompt.com>
Re: First steps with 8.3 and autovacuum launcher Alvaro Herrera <alvherre@commandprompt.com>
Re: First steps with 8.3 and autovacuum launcher Alvaro Herrera <alvherre@commandprompt.com>
Re: First steps with 8.3 and autovacuum launcher "Guillaume Smet" <guillaume.smet@gmail.com>
Re: First steps with 8.3 and autovacuum launcher Alvaro Herrera <alvherre@commandprompt.com>
Re: First steps with 8.3 and autovacuum launcher Gregory Stark <stark@enterprisedb.com>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Alvaro Herrera <alvherre@commandprompt.com>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Alvaro Herrera <alvherre@commandprompt.com>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Alvaro Herrera <alvherre@commandprompt.com>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Alvaro Herrera <alvherre@commandprompt.com>
Re: First steps with 8.3 and autovacuum launcher Michael Paesold <mpaesold@gmx.at>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher "Heikki Linnakangas" <heikki@enterprisedb.com>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Michael Paesold <mpaesold@gmx.at>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Alvaro Herrera <alvherre@commandprompt.com>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Deblauwe Gino <gino@useitgroup.com>
Re: First steps with 8.3 and autovacuum launcher Michael Paesold <mpaesold@gmx.at>
Re: First steps with 8.3 and autovacuum launcher Michael Paesold <mpaesold@gmx.at>
Re: First steps with 8.3 and autovacuum launcher Simon Riggs <simon@2ndquadrant.com>
Re: First steps with 8.3 and autovacuum launcher Deblauwe Gino <gino@useitgroup.com>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Heikki Linnakangas <heikki@enterprisedb.com>
Re: First steps with 8.3 and autovacuum launcher Gregory Stark <stark@enterprisedb.com>
Re: First steps with 8.3 and autovacuum launcher Heikki Linnakangas <heikki@enterprisedb.com>
Re: First steps with 8.3 and autovacuum launcher Alvaro Herrera <alvherre@commandprompt.com>
Re: First steps with 8.3 and autovacuum launcher Tom Lane <tgl@sss.pgh.pa.us>
Re: First steps with 8.3 and autovacuum launcher Michael Paesold <mpaesold@gmx.at>
Re: First steps with 8.3 and autovacuum launcher Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
On Sep 19, 2007, at 2:08 AM, Guillaume Smet wrote:
> On 9/19/07, Decibel!  wrote:
>> Odd... I'd expect it to actually be beneficial to run analyze on a  
>> table
>> at roughly the same time as PK building, because you'd make better  
>> use
>> of cache.
>
> Sure if your database fits entirely in RAM (otherwise if two big
> tables are analyzed while we create the primary key for a third one,

You missed my point... what we'd want to happen is for the analyze to  
take place while that table had a good chance of still being in memory.

> it won't help us at all). And even in this case, it's not sure the
> time lost by waiting the lock is worth it. It could for sure if the
> restore could create the other primary keys while waiting for the lock
> on the analyzed tables, which is obviously not the case.
> In my particular case, the restore stales a lot of times with status
> ALTER TABLE waiting.

It might be worth looking into creating a different lock for ALTERs  
that actually change database page layout vs ALTERs that don't, since  
there's no reason you couldn't run ANALYZE while adding a PK (for  
example).
-- 
Decibel!, aka Jim C. Nasby, Database Architect  decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828



В списке pgsql-hackers по дате отправления
От: Stefan Kaltenbrunner
Дата:
От: Decibel!
Дата:
Сообщение: Re: Open issues for HOT patch
FAQ