Re: Best practice to get performance

Поиск
Список
Период
Сортировка
От Andy Colson
Тема Re: Best practice to get performance
Дата
Msg-id 4CE6F6DA.2030409@squeakycode.net
обсуждение исходный текст
Ответ на Re: Best practice to get performance  (Ivan Voras <ivoras@freebsd.org>)
Ответы Re: Best practice to get performance  (Ivan Voras <ivoras@freebsd.org>)
Список pgsql-general
On 11/19/2010 4:04 PM, Ivan Voras wrote:
> On 11/19/10 15:49, Andy Colson wrote:
>
>> unlogged will only help insert/update performance. Lookup tables sound
>> readonly for a majority of time. (I'm assuming lots of reads and every
>> once and a while updates). I doubt that unlogged tables would speed up
>> lookup tables.
>
> Are FreeBSD's temp tables still storage-backed? (i.e. are there
> memory-backed temp tables)?
>
>
>

Sorry, I'm not sure what you are asking.  Not sure what this has to do
with FreeBSD, or its temp tables.

Unless: s/freebsd/postgres/i

Ah, yes, Postgres temp tables still make it to disk eventually.  They
are not WAL logged (but if they get really big they spill to disk).
There are no memory only tables, no.  But PG will cache the heck out of
all tables, so you get the best of both worlds.

-Andy

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

Предыдущее
От: Ivan Voras
Дата:
Сообщение: Re: Best practice to get performance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n