Re: DB on mSATA SSD

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: DB on mSATA SSD
Date: 2015-04-23 13:21:53
Message-ID: 5538F1F1.90909@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 23/04/2015 15:28, Vick Khera wrote:
>
> On Thu, Apr 23, 2015 at 7:07 AM, Job <Job(at)colliniconsulting(dot)it <mailto:Job(at)colliniconsulting(dot)it>> wrote:
>
> Are there some suggestions with SSD drives?
> Putting the DB into RAM and backing up periodically to disk is a valid solutions?
>
>
> I have some very busy databases on SSD-only systems. I think you're using SSDs that are not rated for server use.
>
> Your strategy of using in-ram disk and backing up to the SSD is sensible, depending on what guarantees you need for the data to survive an unclean system shutdown. You will want to use a file system
> that allows you to snapshot and backup or logical DB backups. Postgres 9.4 has some features that will make taking the backup from the file system much easier and cleaner, too.
>

FS Snapshots are an option but one should make sure that all file systems are snapshot atomically, which is not very common unless you use ZFS or similarly high-end FS.
Regarding file filesys based backups, apart from pg_basebackup which is a nice utility but built on top of the existing "Continuous Archiving" philosophy, the very feature was already implemented
since 8.*

--
Achilleas Mantzios
Head of IT DEV
IT DEPT
Dynacom Tankers Mgmt

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tomas Vondra 2015-04-23 13:24:18 Re: DB on mSATA SSD
Previous Message Tomas Vondra 2015-04-23 13:13:24 Re: DB on mSATA SSD