Re: How to configure a read-only database server?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: How to configure a read-only database server?
Дата
Msg-id 0B4657E5-134C-409B-B0CC-A801F4299D7E@gmail.com
обсуждение исходный текст
Ответ на How to configure a read-only database server?  (Stefan Keller <sfkeller@gmail.com>)
Ответы Re: How to configure a read-only database server?  (Stefan Keller <sfkeller@gmail.com>)
Список pgsql-performance
On Apr 18, 2011, at 6:08 PM, Stefan Keller <sfkeller@gmail.com> wrote:
> I browsed the faq and looked at PostgreSQL performance books but I
> could not find the obvious:
> How to configure a read-only database server?
>
> I have a single-disk virtual Linux system and a read-only dataset
> which is exposed to internet and completely replaced from time to
> time.
>
> This is what I found so far:
>
> * Disabling autovacuum daemon.
> * Setting postgresql.conf parameters:
>   fsync=off
>   synchronous_commit=off
>   full_page_writes=off

All of those speed up writes. I don't know that they will make any difference at all on a read-only workload.

> * What about wal_level and archive_mode?

Same with these.

>

...Robert

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

Предыдущее
От: Henry
Дата:
Сообщение: Re: not using partial index
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Shouldn't we have a way to avoid "risky" plans?