From: | Sebastiaan Mannem <sebastiaan(dot)mannem(at)enterprisedb(dot)com> |
---|---|
To: | Nicolas PARIS <nicolas(dot)paris(at)riseup(dot)net> |
Cc: | "pgsql-performance(at)lists(dot)postgresql(dot)org" <pgsql-performance(at)lists(dot)postgresql(dot)org> |
Subject: | Re: tablespace to benefit from ssd ? |
Date: | 2020-02-19 08:02:08 |
Message-ID: | CAASsAGat61spZCkAVtYy5eNdm0W2=UGpdx0y64-21bhSkoJWbw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Unless this is about reads exclusively I would start with putting wal on
ssd.
What you might also do, is create separate filesystems (lvm). You can then
keep track of io with iostat per filesystem and see what would benefit
most. And see storage size usage also.
And you could use lvm to move filesystems to and from ssd hot. So just
downtime once.
Please share your end findings in this thread too.
Op wo 19 feb. 2020 om 04:42 schreef Nicolas PARIS <nicolas(dot)paris(at)riseup(dot)net>
> Hi
>
> I have both hdd and ssd disk on the postgres server. The cluster is
> right now created on the hdd only. I am considering using a tablespace
> to put some highly used postgres object on the ssd disk. Of course the
> ssd is small compared to the hdd, and I need to choose carefully what
> objects are stored on that side.
>
> I am wondering what kind of object (indexes, data) would benefit from
> ssd. The database primary/foreign keys are highly used and there is
> almost no sequencial scan. However the server has a large amount of ram
> memory and I suspect all of those indexes are already cached in ram.
>
> I have read that tablespaces introduce overhead of maintenance and
> introduce complication for replication. But on the other hand I have
> this ssd disk ready for something.
>
> Any recommandation ?
>
> --
> nicolas paris
>
>
> --
[image: EDB Postgres] <http://www.enterprisedb.com/>
Sebastiaan Alexander Mannem
Product Manager
Anthony Fokkerweg 1
1059 CM Amsterdam, The Netherlands
<http://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&q=Anthony+Fokkerweg+1+1059+CM+Amsterdam%2C+The+Netherlands&ie=UTF8&hq=&hnear=Anthony+Fokkerweg+1+1059+CM+Amsterdam%2C+The+Netherlands&iwloc=near>
T: +31 6 82521560 <+31682521560>
www.edbpostgres.com
[image: Blog Feed] <http://blogs.enterprisedb.com/> [image: Facebook]
<https://www.facebook.com/EnterpriseDB> [image: Twitter]
<https://twitter.com/EDBPostgres> [image: LinkedIn]
<https://www.linkedin.com/company/14958?trk=tyah> [image: Google+]
<https://plus.google.com/108046988421677398468>
From | Date | Subject | |
---|---|---|---|
Next Message | Laurenz Albe | 2020-02-19 10:48:38 | Re: tablespace to benefit from ssd ? |
Previous Message | Nicolas PARIS | 2020-02-19 04:42:41 | tablespace to benefit from ssd ? |