Re: WAL directory size calculation

From: Andreas Kretschmer <andreas(at)a-kretschmer(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: WAL directory size calculation
Date: 2016-07-28 13:54:01
Message-ID: 6dac18df-2926-f030-fcd9-55d0178dcb2d@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Am 28.07.2016 um 15:25 schrieb Moreno Andreo:
> Hi folks! :-)
> I'm about to bring up my brand new production server and I was
> wondering if it's possible to calculate (approx.) the WAL directory size.
> I have to choose what's better in terms of cost vs. performance (we
> are on Google Cloud Platform) between a ramdisk or a separate
> persistent disk. Obviously ramdisk will be times faster disk, but
> having a, say, 512 GB ramdisk will be a little too expensive :-)
>

Don't use a RAM-Disk for WAL! DON'T! NEVER!

You really need only some GB, if you are using Replication. Without
Replication 1 GB would be fine, even with replication. But it must be
realible!

Andreas

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Anton Ananich 2016-07-28 13:57:23 Re: GIN Indexes: Extensibility
Previous Message James Keener 2016-07-28 13:45:19 Re: Uber migrated from Postgres to MySQL