Re: LDC - Load Distributed Checkpoints with PG8.3b2 on Solaris

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: LDC - Load Distributed Checkpoints with PG8.3b2 on Solaris
Дата
Msg-id 20071115152439.GF19014@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: LDC - Load Distributed Checkpoints with PG8.3b2 on Solaris  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> > Tom Lane wrote:
> >> it seems like a serious omission that this gives you no hint how many
> >> pages were scanned.
> 
> Too complex for my taste, anyway.  I would be satisfied if the log
> entries just indicated how big the table and indexes were.  Heikki
> pointed out that the message does tell you how many heap pages there
> were, if you know to add removed + remain; but unless I'm still missing
> something there's no way to tell how many index pages.

Maybe we can save RelationGetNumberOfBlocks() at the start of vacuum for
heap and indexes, and report it as two numbers (total heap pages: X,
total index pages: Y).

We would still be missing the TOAST rel and index ...

-- 
Alvaro Herrera                          Developer, http://www.PostgreSQL.org/
"Cuando miro a alguien, más me atrae cómo cambia que quién es" (J. Binoche)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Simplifying Text Search
Следующее
От: Tom Lane
Дата:
Сообщение: Re: psql -f doesn't complain about directories