From john@turbocorp.com Tue Sep 16 19:55:28 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id D9993D1B514 for ; Tue, 16 Sep 2003 19:55:28 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 30251-09 for ; Tue, 16 Sep 2003 16:54:57 -0300 (ADT) Received: from Deimos.turbocorp.com (unknown [198.212.166.7]) by svr1.postgresql.org (Postfix) with ESMTP id 0DF7DD1B506 for ; Tue, 16 Sep 2003 15:16:24 -0300 (ADT) Received: from voyager (Voyager.turbocorp.com [198.212.166.61]) by Deimos.turbocorp.com (8.9.3/8.9.3) with ESMTP id OAA01747 for ; Tue, 16 Sep 2003 14:17:55 -0400 From: "John Allgood" To: Subject: File Sytems Types and Os Recomendations Date: Tue, 16 Sep 2003 14:15:59 -0400 Message-ID: <008e01c37c7e$97cbb860$3da6d4c6@voyager> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_008F_01C37C5D.10BA1860" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.3 tagged_above=0.0 required=5.0 tests=HTML_30_40, HTML_FONT_BIG, HTML_FONT_COLOR_BLUE, HTML_FONT_FACE_ODD, RCVD_IN_ORBS X-Spam-Level: * X-Archive-Number: 200309/276 X-Sequence-Number: 10364 This is a multi-part message in MIME format. ------=_NextPart_000_008F_01C37C5D.10BA1860 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hello I am looking for information on what operating systems and filesystems people are running postgresql on. I have read so much on this I decided to get some input from other people. I at first was leaning toward FreeBSD and using its filesystem. We are a linux shop and love it. What are thoughts on using ext3 or some other Linux filesystems is there really that much performance difference by using ext3 v/s BSD/FS/UFS. Thanks John Allgood - ESC Systems Administrator 2251 Old Cornelia Hwy Gainesville, Ga. 30507 770.535.5049 ------=_NextPart_000_008F_01C37C5D.10BA1860 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable File Sytems Types and Os Recomendations

Hello

        I am looking for information on what operating systems and filesystems peo= ple are running postgresql on. I have read so much on this I decided to get= some input from other people. I at first was leaning toward FreeBSD and us= ing its filesystem. We are a linux shop and love it. What are thoughts on u= sing ext3 or some other Linux filesystems is there really that much perform= ance difference by using ext3 v/s BSD/FS/UFS.

Thanks

John Allgood - ESC<= /FONT>
Systems Administrator

2251 Old Cornelia Hwy
Gainesville, Ga. 30507
770.535.5049

------=_NextPart_000_008F_01C37C5D.10BA1860-- From scott.marlowe@ihs.com Tue Sep 16 20:55:20 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 2F026D1B514 for ; Tue, 16 Sep 2003 20:55:20 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 44159-06 for ; Tue, 16 Sep 2003 17:55:11 -0300 (ADT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id 3D266D1B502 for ; Tue, 16 Sep 2003 17:55:09 -0300 (ADT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.9/8.12.9) with ESMTP id h8GKrJMc020408; Tue, 16 Sep 2003 14:53:19 -0600 (MDT) Date: Tue, 16 Sep 2003 14:49:53 -0600 (MDT) From: "scott.marlowe" To: John Allgood Cc: Subject: Re: File Sytems Types and Os Recomendations In-Reply-To: <008e01c37c7e$97cbb860$3da6d4c6@voyager> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IHS-MailScanner: Found to be clean X-IHS-MailScanner-SpamCheck: X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/279 X-Sequence-Number: 10367 On Tue, 16 Sep 2003, John Allgood wrote: > Hello > > I am looking for information on what operating systems and > filesystems people are running postgresql on. I have read so much on this I > decided to get some input from other people. I at first was leaning toward > FreeBSD and using its filesystem. We are a linux shop and love it. What are > thoughts on using ext3 or some other Linux filesystems is there really that > much performance difference by using ext3 v/s BSD/FS/UFS. Someone on the list recently compared them, and linux came out marginally faster than FreeBSD, but the difference was way less than what a faster I/O subsystem, faster / more memory, or faster / more CPUs would make. The differences between the different file systems wasn't all that great. Due to known data loss issues in early 2.4 kernels, my server was built with ext2 (it does sit on 3 UPSs and one diesel generator, so the chances of losing power are much lower than chances of losing a disk drive) a year and a half ago. Now that we're building replacement servers, we're gonna use ext3 on RH9 with the latest (from redhat) kernel. Build a big RAID5 or a medium size RAID1+0 with a good hw controller with battery backed memory for bet performance, or even linux software RAID to get the most out of your machine. From cbbrowne@acm.org Tue Sep 16 22:09:30 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 0D418D1B501 for ; Tue, 16 Sep 2003 22:09:30 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 55731-04 for ; Tue, 16 Sep 2003 19:09:21 -0300 (ADT) Received: from news.hub.org (unknown [64.117.224.194]) by svr1.postgresql.org (Postfix) with ESMTP id 1917ED1B4FC for ; Tue, 16 Sep 2003 19:09:19 -0300 (ADT) Received: from news.hub.org (host-64-117-224-194.altec1.com [64.117.224.194] (may be forged)) by news.hub.org (8.12.9/8.12.9) with ESMTP id h8GM9Isp032062 for ; Tue, 16 Sep 2003 22:09:18 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h8GLwWfA030186 for pgsql-admin@postgresql.org; Tue, 16 Sep 2003 21:58:32 GMT From: Christopher Browne X-Newsgroups: comp.databases.postgresql.admin Subject: Re: File Sytems Types and Os Recomendations Date: Tue, 16 Sep 2003 17:32:11 -0400 Organization: Hub.Org Networking Services Lines: 29 Message-ID: <607k48h12c.fsf@dev6.int.libertyrms.info> References: <008e01c37c7e$97cbb860$3da6d4c6@voyager> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@news.hub.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Rational FORTRAN, linux) Cancel-Lock: sha1:vRWZUlo2UReIaerrNVQm+VfK2ho= To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/285 X-Sequence-Number: 10373 john@turbocorp.com ("John Allgood") writes: >         I am looking for information on what operating systems and > filesystems people are running postgresql on. I have read so much on > this I decided to get some input from other people. I at first was > leaning toward FreeBSD and using its filesystem. We are a linux shop > and love it. What are thoughts on using ext3 or some other Linux > filesystems is there really that much performance difference by > using ext3 v/s BSD/FS/UFS. I did some update-heavy benchmarking recently, comparing Linux FSes, and found that of (ext3, XFS, JFS), the fastest one, by a moderate margin, was JFS. It was not unexpected that XFS and JFS were faster than ext3; what was a bit surprising was that JFS was quite a bit faster than XFS. The last I had heard, JFS was considered pretty slow as it hadn't been tuned too much; apparently that has changed. I didn't get around to testing FreeBSD with soft updates; the downside to that was, in my environment, and may also be, for you, that there was a lack of administrative familiarity. We have too many "heads exploding" from absorbing other things right now to be able to afford to throw in the learning curve of FreeBSD at this point in time. -- let name="cbbrowne" and tld="acm.org" in name ^ "@" ^ tld;; http://cbbrowne.com/info/nonrdbms.html "The nice thing about standards is that you have so many to choose from. Furthermore, if you do not like any of them, you can just wait for next year's model." -- Tanenbaum, "Computer Networks" From vendi@cosmoline.com Wed Sep 17 07:06:55 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id CB7E9D1B50E for ; Wed, 17 Sep 2003 07:06:55 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 48787-05 for ; Wed, 17 Sep 2003 04:06:44 -0300 (ADT) Received: from mail.cosmoline.gr (mail.cosmoline.gr [217.69.1.7]) by svr1.postgresql.org (Postfix) with ESMTP id 6EF14D1B509 for ; Wed, 17 Sep 2003 04:06:41 -0300 (ADT) Received: from mailhub.cosmoline.gr (mailhub-c.cosmoline.gr [217.69.0.250]) by mail.cosmoline.gr (8.12.3/8.12.3/COSMOLINE) with ESMTP id h8H762uG000841; Wed, 17 Sep 2003 10:06:03 +0300 Received: from vasilis.prv.cosmoline.gr (brgz.cosmoline.gr [217.69.1.28]) (authenticated bits=0) by mailhub.cosmoline.gr (8.12.3/8.12.3/COSMOLINE) with ESMTP id h8H75vM9004915; Wed, 17 Sep 2003 10:05:57 +0300 From: Vasilis Ventirozos Reply-To: vendi@cosmoline.com Organization: Cosmoline To: "scott.marlowe" Subject: Re: File Sytems Types and Os Recomendations Date: Wed, 17 Sep 2003 10:06:18 +0300 User-Agent: KMail/1.5 References: In-Reply-To: Cc: PostgreSQL Mail List MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309171006.18935.vendi@cosmoline.com> X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/280 X-Sequence-Number: 10368 Try loading the data first and then create the indexes i recently loaded 50 Million rows in a table much bigger and it took about 1hour including the creation of indexes . Vasilis Ventirozos From pgman@candle.pha.pa.us Wed Sep 24 01:56:55 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id D6649D1B4F9 for ; Wed, 24 Sep 2003 01:56:55 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 82393-04 for ; Tue, 23 Sep 2003 22:56:49 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 34BABD1B4EA for ; Tue, 23 Sep 2003 22:56:43 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h8O1uY612249; Tue, 23 Sep 2003 21:56:34 -0400 (EDT) From: Bruce Momjian Message-Id: <200309240156.h8O1uY612249@candle.pha.pa.us> Subject: Re: File Sytems Types and Os Recomendations In-Reply-To: To: "scott.marlowe" Date: Tue, 23 Sep 2003 21:56:34 -0400 (EDT) Cc: John Allgood , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL106 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/379 X-Sequence-Number: 10467 scott.marlowe wrote: > On Tue, 16 Sep 2003, John Allgood wrote: > > > Hello > > > > I am looking for information on what operating systems and > > filesystems people are running postgresql on. I have read so much on this I > > decided to get some input from other people. I at first was leaning toward > > FreeBSD and using its filesystem. We are a linux shop and love it. What are > > thoughts on using ext3 or some other Linux filesystems is there really that > > much performance difference by using ext3 v/s BSD/FS/UFS. > > Someone on the list recently compared them, and linux came out marginally > faster than FreeBSD, but the difference was way less than what a faster > I/O subsystem, faster / more memory, or faster / more CPUs would make. That test was flawed because the user later reports that their IDE disks weren't using DMA on FreeBSD, while it was being used on Linux. He promised to report back. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 From quale1@charter.net Wed Sep 24 16:17:23 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id ACDF7D1B51A for ; Wed, 24 Sep 2003 16:17:23 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 69600-01 for ; Wed, 24 Sep 2003 13:17:13 -0300 (ADT) Received: from remt19.cluster1.charter.net (remt19.cluster1.charter.net [209.225.8.29]) by svr1.postgresql.org (Postfix) with ESMTP id 44F61D1B513 for ; Wed, 24 Sep 2003 13:17:10 -0300 (ADT) Received: from [66.168.20.3] (HELO shiva) by remt19.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 1096539 for pgsql-admin@postgresql.org; Wed, 24 Sep 2003 12:17:02 -0400 Received: from quale by shiva with local (Exim 3.36 #1 (Debian)) id 1A2CLW-0002mV-00 for ; Wed, 24 Sep 2003 11:18:30 -0500 To: pgsql-admin@postgresql.org Subject: Re: File Sytems Types and Os Recomendations References: <200309240156.h8O1uY612249@candle.pha.pa.us> From: Doug Quale Date: 24 Sep 2003 11:18:30 -0500 In-Reply-To: <200309240156.h8O1uY612249@candle.pha.pa.us> Message-ID: <87k77yrwh5.fsf@charter.net> Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/400 X-Sequence-Number: 10488 Bruce Momjian writes: > scott.marlowe wrote: > > > > Someone on the list recently compared them, and linux came out marginally > > faster than FreeBSD, but the difference was way less than what a faster > > I/O subsystem, faster / more memory, or faster / more CPUs would make. > > That test was flawed because the user later reports that their IDE disks > weren't using DMA on FreeBSD, while it was being used on Linux. He > promised to report back. The results on the website were updated on August 28 to fix this flaw and to incorporate some suggestions made on the pgsql-performance list (see http://www.potentialtech.com/wmoran/postgresql.php). I don't know why he didn't report back to the list. He expressed the desire that BSD benchmark faster than Linux, but the Linux numbers he reports are still about 8-10% better than the FreeBSD numbers. Both BSD and Linux are undergoing rapid development so this is pretty close to even. From scott.marlowe@ihs.com Wed Sep 24 17:23:55 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 2C4A2D1B50F for ; Wed, 24 Sep 2003 17:23:55 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 79528-01 for ; Wed, 24 Sep 2003 14:23:24 -0300 (ADT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id 32AFFD1B511 for ; Wed, 24 Sep 2003 14:23:19 -0300 (ADT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.10/8.12.10) with ESMTP id h8OHLp1o022373; Wed, 24 Sep 2003 11:21:51 -0600 (MDT) Date: Wed, 24 Sep 2003 11:16:58 -0600 (MDT) From: "scott.marlowe" To: Doug Quale Cc: Subject: Re: File Sytems Types and Os Recomendations In-Reply-To: <87k77yrwh5.fsf@charter.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IHS-MailScanner: Found to be clean X-IHS-MailScanner-SpamCheck: X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/401 X-Sequence-Number: 10489 On 24 Sep 2003, Doug Quale wrote: > Bruce Momjian writes: > > > scott.marlowe wrote: > > > > > > Someone on the list recently compared them, and linux came out marginally > > > faster than FreeBSD, but the difference was way less than what a faster > > > I/O subsystem, faster / more memory, or faster / more CPUs would make. > > > > That test was flawed because the user later reports that their IDE disks > > weren't using DMA on FreeBSD, while it was being used on Linux. He > > promised to report back. > > The results on the website were updated on August 28 to fix this flaw > and to incorporate some suggestions made on the pgsql-performance list > (see http://www.potentialtech.com/wmoran/postgresql.php). > > I don't know why he didn't report back to the list. He expressed the > desire that BSD benchmark faster than Linux, but the Linux numbers he > reports are still about 8-10% better than the FreeBSD numbers. Both > BSD and Linux are undergoing rapid development so this is pretty close > to even. I thought he HAD reported back to this list that he'd changed the settings. Not sure now, been a while.