Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 10DB5650F02 for ; Mon, 30 Jun 2008 10:16:45 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 38144-08-3 for ; Mon, 30 Jun 2008 10:16:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from typhon.nexustelecom.com (typhon.nexustelecom.com [212.203.104.229]) by postgresql.org (Postfix) with ESMTP id 7EB20650F0E for ; Mon, 30 Jun 2008 10:15:44 -0300 (ADT) X-IronPort-AV: E=Sophos;i="4.27,727,1204498800"; d="scan'208";a="214713" Received: from unknown (HELO hermes.nexustelecom.com) ([172.29.1.4]) by typhon.nexustelecom.com with ESMTP; 30 Jun 2008 15:15:42 +0200 Received: from hermes.nexustelecom.com (localhost [127.0.0.1]) by hermes.nexustelecom.com (Postfix) with ESMTP id 33C59159F64; Mon, 30 Jun 2008 15:15:42 +0200 (CEST) Received: from EROS.nexus-ag.com (eros.nexus-ag.com [172.29.2.99]) by hermes.nexustelecom.com (Postfix) with ESMTP id 0F6DF159F63; Mon, 30 Jun 2008 15:15:35 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: Recommended RAID for Postgres Date: Mon, 30 Jun 2008 15:15:34 +0200 Message-ID: <46F5921DF52F6E40860287B30CADADC79463C4@EROS.nexus-ag.com> In-Reply-To: <20080630125231.GB24497@easy2.in-chemnitz.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] Recommended RAID for Postgres Thread-Index: AcjasFD0CzeIjyreRESGYTZSyjI/vwAApS9A References: <46F5921DF52F6E40860287B30CADADC79463A3@EROS.nexus-ag.com> <20080630125231.GB24497@easy2.in-chemnitz.de> From: =?iso-8859-1?Q?Thomas_Br=E4utigam?= To: "Tino Schwarze" , X-TBoneOriginalFrom: =?iso-8859-1?Q?Thomas_Br=E4utigam?= X-TBoneOriginalTo: "Tino Schwarze" , X-TBoneDomainSigned: false X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.171 tagged_above=0 required=5 tests=AWL=0.171 X-Spam-Level: X-Archive-Number: 200806/244 X-Sequence-Number: 29582 Hi Tino, Why avoid RAID5? I though that would be good? Can you explain this? Writing in the DB, I add about 5-10 GB of data a day. There is a lot of = writing activity going on in the database every day. What do you recommend how often I should backup the complete database? Cheers Thomas -----Original Message----- From: pgsql-admin-owner@postgresql.org = [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Tino Schwarze Sent: Montag, 30. Juni 2008 14:53 To: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Recommended RAID for Postgres On Mon, Jun 30, 2008 at 02:30:23PM +0200, Thomas Br=E4utigam wrote: > I have a pretty huge Postgres DB, about 1,3 to 1,5 Terra.=20 Thats plenty of data. > What do you guys recommend on RAID Levels for this Database. Which=20 > does Postgres recommend, and with which do Postgres run very good or=20 > in the best way? Avoid RAID5. Go for RAID10. BTW: I wonder how much the used filesystem affects Postgres' = performance... > What Backup Strategy do you think would be the best. Dump the DB once=20 > a week or work with the WAL`s? For your info, the data which is feeded = > to the database is available and could be feeded again but it would=20 > maybe take a couple of days. So what would be a solution to bring up=20 > the huge DB in about one day after a crash. This would be the target. How much writing activity is on the DB? WALs are probably the way to go. How often you backup the whole DB space (as a starting point for = replaying WALs) depends on how much changes the DB gets. And how long it = will take to restore the DB space and the WALs afterwards. HTH, Tino. -- "What we nourish flourishes." - "Was wir n=E4hren erbl=FCht." www.craniosacralzentrum.de www.forteego.de -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make = changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin