Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 41DE8B5DBCA for ; Thu, 4 Aug 2011 00:54:58 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 28701-06 for ; Thu, 4 Aug 2011 03:54:52 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [96.126.97.249]) by mail.postgresql.org (Postfix) with ESMTP id 70B55B5D944 for ; Thu, 4 Aug 2011 00:54:51 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by www.postnewspapers.com.au (Postfix) with ESMTP id 5F01048; Wed, 3 Aug 2011 23:54:50 -0400 (EDT) X-Virus-Scanned: amavisd-new at postnewspapers.com.au.com Received: from www.postnewspapers.com.au ([127.0.0.1]) by localhost (www.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cgQwbrGFqQYJ; Wed, 3 Aug 2011 23:54:49 -0400 (EDT) Received: from mail.postnewspapers.com.au (office1.postnewspapers.com.au [150.101.171.128]) by www.postnewspapers.com.au (Postfix) with ESMTP id F145647; Wed, 3 Aug 2011 23:54:48 -0400 (EDT) Received: from [10.0.0.53] (wallace.localnet [10.0.0.53]) by mail.postnewspapers.com.au (Postfix) with ESMTP id F066CAE603; Thu, 4 Aug 2011 11:54:47 +0800 (WST) Message-ID: <4E3A1808.3050300@postnewspapers.com.au> Date: Thu, 04 Aug 2011 11:54:48 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110307 Thunderbird/3.1.9 MIME-Version: 1.0 To: Jayadevan M CC: Merlin Moncure , pgsql-performance@postgresql.org Subject: Re: Parameters for PostgreSQL References: <4E373D76.9020800@postnewspapers.com.au> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: multipart/alternative; boundary="------------080604080702050403070000" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.615 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.716 X-Spam-Level: X-Archive-Number: 201108/69 X-Sequence-Number: 44516 This is a multi-part message in MIME format. --------------080604080702050403070000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 04/08/11 11:42, Jayadevan M wrote: > Hello, > > >The most important spec has been omitted. What's the storage subsystem? > We have storage on SAN, RAID 5. RAID 5? That's *really* not ideal for database workloads, either Pg or Oracle, unless your RAID 5 storage backend has enough battery-backed write cache to keep huge amounts of writes in RAM and reorder them really effectively. I hope each RAID 5 LUN is only across a few disks and is layered with RAID 1, though. RAID 5 becomes less reliable than using a single disk when used with too many HDDs, because the probability of a double-disk failure becomes greater than that of a single standalone disk failing. After being bitten by that a few times, these days I'm using RAID 6 in most cases where RAID 10 isn't practical. In any case, "SAN" can be anything from a Linux box running an iSCSI target on top of a RAID 5 `md' software RAID volume on four 5400RPM HDDs, right up to a giant hundreds-of-fast-disks monster filer full of dedicated ASICs and great gobs of battery backed write cache DRAM. Are you able to be any more specific about what you're dealing with? > > > > We are suing weblogic. > > ^^^^^ > > Best. Typo. Ever. > > > > I hear most people who use it want to, you're just brave enough to > do it :-P > I wish I could make a few millions that way. > > > Thank you for all the replies. The first step is, of course, to > migrate the data. I am working with ora2pg for that. I assume creating > files with 'COPY' to work as input for PostgreSQL is the right > approach? We don't have many stored procedures or packages. So that > part should be OK. --------------080604080702050403070000 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 04/08/11 11:42, Jayadevan M wrote:
Hello,

>The most important spec has been omitted. What's the storage subsystem?

We have storage on SAN, RAID 5.

RAID 5? That's *really* not ideal for database workloads, either Pg or Oracle, unless your RAID 5 storage backend has enough battery-backed write cache to keep huge amounts of writes in RAM and reorder them really effectively.

I hope each RAID 5 LUN is only across a few disks and is layered with RAID 1, though. RAID 5 becomes less reliable than using a single disk when used with too many HDDs, because the probability of a double-disk failure becomes greater than that of a single standalone disk failing. After being bitten by that a few times, these days I'm using RAID 6 in most cases where RAID 10 isn't practical.

In any case, "SAN" can be anything from a Linux box running an iSCSI target on top of a RAID 5 `md' software RAID volume on four 5400RPM HDDs, right up to a giant hundreds-of-fast-disks monster filer full of dedicated ASICs and great gobs of battery backed write cache DRAM. Are you able to be any more specific about what you're dealing with?

 
> > We are suing weblogic.
>           ^^^^^
> Best. Typo. Ever.
>
> I hear most people who use it want to, you're just brave enough to do it :-P
I wish I could make a few millions that way.



Thank you for all the replies. The first step is, of course, to migrate the data. I am working with ora2pg for that. I assume creating files with 'COPY' to work as input for PostgreSQL is the right approach? We don't have many stored procedures or packages. So that part should be OK.

--------------080604080702050403070000--