Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZARud-0002t0-Em for pgsql-performance@arkaria.postgresql.org; Wed, 01 Jul 2015 23:59:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZARub-0007LO-Sa for pgsql-performance@arkaria.postgresql.org; Wed, 01 Jul 2015 23:59:29 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZARrm-0004U9-Jl for pgsql-performance@postgresql.org; Wed, 01 Jul 2015 23:56:34 +0000 Received: from post.visena.com ([46.226.10.50]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZARre-0007IA-Kp for pgsql-performance@postgresql.org; Wed, 01 Jul 2015 23:56:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=visena.com; s=20141101.wh; h=Content-Type:MIME-Version:Subject:In-Reply-To:Message-ID:To:From:Date; bh=nFkjw9a3AMeknwISYPGSxUJeZr7SXiFM67QXI+cACv4=; b=qBD4RduV6FNVHmi4+dMpGEwV/zGrXYh+AZAEbCETdFHtfBY94rcLlFgMwDRf43eppdC6zzOAdpCXYIZgqaujDkOA38X4elzBdpVrLlOGE9sUJLGoKf/nTc43or9cSy9FxQIrJY5+krFRxcGnFTgVwncULL5ahDCI9RChEVOEXEo=; Received: from [10.0.1.10] (helo=tc7-visena.wh.internal.visena.com) by post.visena.com with esmtp (Exim 4.82) (envelope-from ) id 1ZARrX-0002YA-J7 for pgsql-performance@postgresql.org; Thu, 02 Jul 2015 01:56:22 +0200 Received: from localhost ([127.0.0.1] helo=tc7-visena.wh.internal.visena.com) by tc7-visena.wh.internal.visena.com with esmtp (Exim 4.82) (envelope-from ) id 1ZARrX-0003rZ-Hv for pgsql-performance@postgresql.org; Thu, 02 Jul 2015 01:56:19 +0200 Date: Thu, 2 Jul 2015 01:56:19 +0200 (CEST) From: Andreas Joseph Krogh To: pgsql-performance@postgresql.org Message-ID: In-Reply-To: Subject: Re: New server: SSD/RAID recommendations? MIME-Version: 1.0 X-Mailer: Visena Mail 2.0.0-SNAPSHOT X-Spam-Score: -1.0 X-Spam-Report: SpamAssasin (score=-1.0, required 5.0 ALL_TRUSTED=-1, HTML_MESSAGE=0.001) X-Pg-Spam-Score: -2.6 (--) Content-Type: multipart/related; boundary="----=_Part_189_1289919456.1435794979465" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org ------=_Part_188_406363306.1435794979465 Content-Type: multipart/related; boundary="----=_Part_189_1289919456.1435794979465" ------=_Part_189_1289919456.1435794979465 Content-Type: multipart/alternative; boundary="----=_Part_190_276823238.1435794979478" ------=_Part_190_276823238.1435794979478 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable P=C3=A5 torsdag 02. juli 2015 kl. 01:06:57, skrev Craig James >: We're buying a new server in the near future to replace an aging system. I'= d=20 appreciate advice on the best SSD devices and RAID controller cards availab= le=20 today.=C2=A0 The database is about 750 GB. This is a "warehouse" server. We load supplie= r=20 catalogs throughout a typical work week, then on the weekend (after Q/A),= =20 integrate the new supplier catalogs into our customer-visible "store", whic= h is=20 then copied to a production server where customers see it. So the load is= =20 mostly data loading, and essentially no OLTP. Typically there are fewer tha= n a=20 dozen connections to Postgres. =C2=A0 Linux 2.6.32 Postgres 9.3 Hardware: =C2=A0 2 x INTEL WESTMERE 4C XEON 2.40GHZ =C2=A0=C2=A012GB DDR3 ECC 1333MHz =C2=A0 3WARE 9650SE-12ML with BBU =C2=A0 12 x 1TB Hitachi 7200RPM SATA disks RAID 1 (2 disks) =C2=A0 =C2=A0Linux partition =C2=A0 =C2=A0Swap partition =C2=A0 =C2=A0pg_xlog partition RAID 10 (8 disks) =C2=A0 =C2=A0Postgres database partition =C2=A0 We get 5000-7000 TPS from pgbench on this system. =C2=A0 The new system will have at least as many CPUs, and probably a lot more mem= ory=20 (196 GB). The database hasn't reached 1TB yet, but we'd like room to grow, = so=20 we'd like a 2TB file system for Postgres. We'll start with the latest versi= ons=20 of Linux and Postgres. =C2=A0 Intel's products have always received good reports in this forum. Is that= =20 still the best recommendation? Or are there good alternatives that are pric= e=20 competitive? =C2=A0 What about a RAID controller? Are RAID controllers even available for=20 PCI-Express SSD drives, or do we have to stick with SATA if we need a=20 battery-backed RAID controller? Or is software RAID sufficient for SSD driv= es? =C2=A0 Are spinning disks still a good choice for the pg_xlog partition and OS? Is= =20 there any reason to get spinning disks at all, or is it better/simpler to j= ust=20 put everything on SSD drives? =C2=A0 Thanks in advance for your advice! =C2=A0 =C2=A0 Depends on you SSD-drives, but today's enterprise-grade SSD disks can handl= e=20 pg_xlog just fine. So I'd go full SSD, unless you have many BLOBs in=20 pg_largeobject, then move that to a separate tablespace with=20 "archive-grade"-disks (spinning disks). =C2=A0 -- Andreas Joseph Krogh CTO / Partner - Visena AS Mobile: +47 909 56 963 andreas@visena.com www.visena.com =C2=A0 ------=_Part_190_276823238.1435794979478 Content-Type: text/html;charset=UTF-8 Content-Transfer-Encoding: quoted-printable
P=C3=A5 torsdag 02. juli 2015 kl. 01:06:57, skrev Craig James <cjames@emolecules.com>:
We're buying a new server in the near future to replace an= aging system. I'd appreciate advice on the best SSD devices and RAID contr= oller cards available today.
=C2=A0
The database is about 750 GB. This is a "warehouse" server. = We load supplier catalogs throughout a typical work week, then on the weeke= nd (after Q/A), integrate the new supplier catalogs into our customer-visib= le "store", which is then copied to a production server where cus= tomers see it. So the load is mostly data loading, and essentially no OLTP.= Typically there are fewer than a dozen connections to Postgres.
=C2=A0
Linux 2.6.32
Postgres 9.3
Hardware:
=C2=A0 2 x INTEL WESTMERE 4C XEON 2.40GHZ
=C2=A0=C2=A012GB DDR3 ECC 1333MHz
=C2=A0 3WARE 9650SE-12ML with BBU
=C2=A0 12 x 1TB Hitachi 7200RPM SATA disks
RAID 1 (2 disks)
=C2=A0 =C2=A0Linux partition
=C2=A0 =C2=A0Swap partition
=C2=A0 =C2=A0pg_xlog partition
RAID 10 (8 disks)
=C2=A0 =C2=A0Postgres database partition
=C2=A0
We get 5000-7000 TPS from pgbench on this system.
=C2=A0
The new system will have at least as many CPUs, and probably a lot mor= e memory (196 GB). The database hasn't reached 1TB yet, but we'd like room = to grow, so we'd like a 2TB file system for Postgres. We'll start with the = latest versions of Linux and Postgres.
=C2=A0
Intel's products have always received good reports in this forum. Is t= hat still the best recommendation? Or are there good alternatives that are = price competitive?
=C2=A0
What about a RAID controller? Are RAID controllers even available for = PCI-Express SSD drives, or do we have to stick with SATA if we need a batte= ry-backed RAID controller? Or is software RAID sufficient for SSD drives?
=C2=A0
Are spinning disks still a good choice for the pg_xlog partition and O= S? Is there any reason to get spinning disks at all, or is it better/simple= r to just put everything on SSD drives?
=C2=A0
Thanks in advance for your advice!
=C2=A0
=C2=A0
Depends on you SSD-drives, but today's enterprise-grade SSD disks can = handle pg_xlog just fine. So I'd go full SSD, unless you have many BLOBs in= pg_largeobject, then move that to a separate tablespace with "archive= -grade"-disks (spinning disks).
=C2=A0
--
Andrea= s Joseph Krogh
CTO / Partner<= /span> - Visena AS
Mobile: +47 90= 9 56 963
=3D""
=C2=A0
------=_Part_190_276823238.1435794979478-- ------=_Part_189_1289919456.1435794979465 Content-Type: image/png Content-Transfer-Encoding: base64 Content-Disposition: inline Content-ID: iVBORw0KGgoAAAANSUhEUgAAAIUAAAAYCAYAAADUIj6hAAAABHNCSVQICAgIfAhkiAAABzBJREFU aEPtmNFxHDcMhmVP3i1VECpvnjzkVIHWFfhcgVcVRKrAUgWRK/C6Al8H3lTgy0PGbzFdQc4VJP/H ADs43q6kROeJNbOYgQACIAgCWJKng4MZ5gxUGXh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