Re: Unbounded (Possibly) Database Size Increase - Toasting

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unbounded (Possibly) Database Size Increase - Toasting
Дата
Msg-id 22174.1021903696@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Unbounded (Possibly) Database Size Increase - Toasting  (Hannu Krosing <hannu@tm.ee>)
Ответы Re: Unbounded (Possibly) Database Size Increase - Toasting
Список pgsql-hackers
Hannu Krosing <hannu@tm.ee> writes:
> On Sun, 2002-05-19 at 19:37, Tom Lane wrote:
>> I'd rather expect the toast indexes to grow given the lack-of-btree-
>> collapse-logic issue. 

> Why sould the toast indexes grow significantly more than the primary key
> of main table ?

Well, the toast indexes will grow because they're using an OID key,
and so the range of indexed values keeps increasing.  AFAIR Mark didn't
say whether he *had* a primary key, let alone what it was --- but it's
possible that he has one that has a range that's not changing over the
test.

In particular, if the test consists simply of updating the toasted
field, that will not change the primary keys at all ... but it will
change the toast table's key range, because each new value will get
a new toast OID.
        regards, tom lane


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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: More schema queries
Следующее
От: Tom Lane
Дата:
Сообщение: Re: More schema queries