Re: ubuntu swap space

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: ubuntu swap space
Дата
Msg-id BANLkTikXNGXGD1CaRnSH2OGxTng7JUQZdw@mail.gmail.com
обсуждение исходный текст
Ответ на ubuntu swap space  (Kasia Tuszynska <ktuszynska@esri.com>)
Список pgsql-admin
On Tue, Apr 5, 2011 at 5:34 PM, Kasia Tuszynska <ktuszynska@esri.com> wrote:
> Hello Admin Group:
>
> We are configuring Postgres on Ubuntu (LLynx) and trying to figure out what
> is the best way of dealing with swap since, Ubuntu does not automatically
> come with swap storage assigned.
>
> Nothing but Postgres will be running on the machine.
>
> I have read that we should assign twice the available RAM to swap, that
> seems like a lot.
>
> Would Postgres ever use so much space? I understand if I were to load
> records that were gigs in size but that is very rare or at least I do not
> expect it in my case.
>
>
>
> Any recommendations or best practices?

We have two machines each with 128G, and we had to turn off swap due
to the kswapd going crazy and constantly trying to use swap it didn't
need.  Brought our production dbs to a crawl.  My recommendation is to
have enough memory to not ever need swap space if you can afford it.

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

Предыдущее
От: "Donald Fraser"
Дата:
Сообщение: Re: Missing documentation for error code: 80S01
Следующее
От: "David Roland"
Дата:
Сообщение: Re: pg_start_backup - backups