Re: Curious about dead rows.

Поиск
Список
Период
Сортировка
Искать
От
Erik Jones
Тема
Re: Curious about dead rows.
Дата
Msg-id
91BAAA02-1019-4FB1-AF2B-38BEDB32298C@myemma.com
Ответ на
Список
Дерево обсуждения
Curious about dead rows. Jean-David Beyer <jeandavid8@verizon.net>
Re: Curious about dead rows. Tom Lane <tgl@sss.pgh.pa.us>
Re: Curious about dead rows. Jean-David Beyer <jeandavid8@verizon.net>
Re: Curious about dead rows. "Joshua D. Drake" <jd@commandprompt.com>
Re: Curious about dead rows. Jean-David Beyer <jeandavid8@verizon.net>
Re: Curious about dead rows. "Scott Marlowe" <scott.marlowe@gmail.com>
Re: Curious about dead rows. Jean-David Beyer <jeandavid8@verizon.net>
Re: Curious about dead rows. Andrew Sullivan <ajs@crankycanuck.ca>
Re: Curious about dead rows. "Merlin Moncure" <mmoncure@gmail.com>
Re: Curious about dead rows. Jean-David Beyer <jeandavid8@verizon.net>
Re: Curious about dead rows. "Merlin Moncure" <mmoncure@gmail.com>
Re: Curious about dead rows. Jean-David Beyer <jeandavid8@verizon.net>
Re: Curious about dead rows. Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Curious about dead rows. Jean-David Beyer <jeandavid8@verizon.net>
Re: Curious about dead rows. Andrew Sullivan <ajs@crankycanuck.ca>
Re: Curious about dead rows. Jean-David Beyer <jeandavid8@verizon.net>
Re: Curious about dead rows. Andrew Sullivan <ajs@crankycanuck.ca>
Re: Curious about dead rows. Andrew Sullivan <ajs@crankycanuck.ca>
Re: Curious about dead rows. Jean-David Beyer <jeandavid8@verizon.net>
Re: Curious about dead rows. Russell Smith <mr-russ@pws.com.au>
Re: Curious about dead rows. Tom Lane <tgl@sss.pgh.pa.us>
Re: Curious about dead rows. Brad Nicholson <bnichols@ca.afilias.info>
Re: Curious about dead rows. "Merlin Moncure" <mmoncure@gmail.com>
Re: Curious about dead rows. "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Curious about dead rows. Jean-David Beyer <jeandavid8@verizon.net>
Re: Curious about dead rows. Erik Jones <erik@myemma.com>
Re: Curious about dead rows. Mario Weilguni <mweilguni@sime.com>
Re: Curious about dead rows. Jean-David Beyer <jeandavid8@verizon.net>
Re: Curious about dead rows. Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Curious about dead rows. Jean-David Beyer <jeandavid8@verizon.net>
Re: Curious about dead rows. Craig James <craig_james@emolecules.com>
Re: Curious about dead rows. Jean-David Beyer <jeandavid8@verizon.net>

On Nov 14, 2007, at 4:46 PM, Tom Lane wrote:

> Russell Smith  writes:
>> It is possible that analyze is not getting the number of dead rows  
>> right?
>
> Hah, I think you are on to something.  ANALYZE is telling the truth
> about how many "dead" rows it saw, but its notion of "dead" is "not  
> good
> according to SnapshotNow".  Thus, rows inserted by a not-yet-committed
> transaction would be counted as dead.  So if these are background
> auto-analyzes being done in parallel with inserting transactions that
> run for awhile, seeing a few not-yet-committed rows would be
> unsurprising.

Wouldn't this result in a variable number of dead rows being reported  
on separate runs including zero while no pending inserts are  
happening?  This may be a good way to verify that this is what is  
happening if he can quiet down his app long enough to run an ANALYZE  
in isolation.  Perhaps, if the ANALYZE runs fast enough he can just  
lock the table for the run.

Erik Jones

Software Developer | Emma®
erik@myemma.com
800.595.4401 or 615.292.5888
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com


В списке pgsql-performance по дате отправления
От: Jeff Trout
Дата:
Сообщение: Re: dell versus hp
От: Vivek Khera
Дата:
Сообщение: Re: dell versus hp
FAQ