Re: 10GbE / iSCSI storage for postgresql. - Mailing list pgsql-general

From Craig Ringer
Subject Re: 10GbE / iSCSI storage for postgresql.
Date
Msg-id 4E7AB61A.70804@ringerc.id.au
Whole thread Raw
In response to 10GbE / iSCSI storage for postgresql.  (Rajesh Kumar Mallah <mallah.rajesh@gmail.com>)
Responses Re: 10GbE / iSCSI storage for postgresql.
List pgsql-general
On 09/22/2011 03:49 AM, Rajesh Kumar Mallah wrote:
> Hi ,
>
> Can PostgreSQL run fast ( within 80% of DAS) with iSCSI sotrage
> connected via 10GbE ?

"Maybe".

What's that 80% of? Sequential read throughput? Random IOPS? Individual
read latency?

What's the expected workload? Read-heavy, write-heavy, or middle-ground?
Data warehouse/OLAP or OLTP? Lots of small simple transactions, or fewer
big complex transactions?

Does the system on the other end of the iSCSI link have battery-backed
write caching, flash-logged write cache, or some other way to guarantee
writes are persistent without having to wait for data to flush out to
spinning disks?  You'll need something like this for decent write
performance especially if you're doing lots of small transactions. If
the SAN doesn't have a safe way to cache writes you can partly work
around the issue by doing fewer bigger transactions and/or by using a
commit_delay.

What kind of read cache does the SAN have? How much contention with
other users will there be? How big is its write-back cache (if it has
one)? Does it have any kind of QoS to prevent something like someone
disk-imaging a server from starving your Pg instance of read bandwidth?

--
Craig Ringer

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Materialized views in Oracle
Next
From: Craig Ringer
Date:
Subject: Re: create extension failed