Re: select count() out of memory

Поиск
Список
Период
Сортировка
От Thomas Finneid
Тема Re: select count() out of memory
Дата
Msg-id 4724E387.30101@ifi.uio.no
обсуждение исходный текст
Ответ на Re: select count() out of memory  (aklaver@comcast.net (Adrian Klaver))
Список pgsql-general

Adrian Klaver wrote:
> I'm thinking do a COPY to one large table.  If the cost of indexing is relatively fixed as
> you indicated in your previous post then you reduce the indexing overhead to each
> COPY operation instead of each insert.

No, what I meant whas that creating an index on a table with data after
the data has been COPYed, is faster than having one large table with an
existing index where data is added all the time and the index is
updatesd along with that.

I did do a performance test some time ago on that or something similar,
I dont remember the exact details, but what ever I tested it was slower.
But I will try exactly what you suggested tomorrow, when at the test
machine. The issue is it has to runn for some time before it is possible
to see any lasting degradation in performance.


thomas

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: pg_restore
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: createdb argument question