Re: Curious about dead rows.

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: Curious about dead rows.
Дата
Msg-id 20071113152111.GG11563@crankycanuck.ca
обсуждение исходный текст
Ответ на Re: Curious about dead rows.  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Ответы Re: Curious about dead rows.  (Jean-David Beyer <jeandavid8@verizon.net>)
Список pgsql-performance
Please don't drop the list, as someone else may see something.

On Tue, Nov 13, 2007 at 10:06:13AM -0500, Jean-David Beyer wrote:
> OK. I turned logging from "none" to "mod" and got a gawdawful lot of stuff.

Yes.

> Then I ran it and got all the inserts. Using
> grep -i delete file
> grep -i update file
> grep -i rollback file

How about ERROR?

> 2007-11-13 08:11:20 EST DEBUG:  "vl_ranks": scanned 540 of 540 pages,
> containing 67945 live rows and 554 dead rows; 3000 rows in sample, 67945
> estimated total rows

If there are dead rows, something is producing them.  Either INSERT is
firing a trigger that is doing something there (you won't see an UPDATE in
that case), or else something else is causing INSERTs to fail.

A

--
Andrew Sullivan
Old sigs will return after re-constitution of blue smoke

В списке pgsql-performance по дате отправления:

Предыдущее
От: Stephane Bailliez
Дата:
Сообщение: Re: ERROR: "invalid memory alloc request size" or "unexpected end of data" on large table
Следующее
От: Alan Hodgson
Дата:
Сообщение: Re: dell versus hp