best OS and HW for postgreSQL

Lists: pgsql-admin
From: "Raul Retamozo" <revelar(at)hotmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: best OS and HW for postgreSQL
Date: 2006-09-22 22:12:56
Message-ID: BAY124-W44B8714E23FF6A77445B50B4210@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

Hi everyone on the list. I want to know what is the reccommended OS to work with PostgreSQL , on specific with PostGIS:
One more question is about what HW (server) offers the best performance for a Web Map Server bases on PostGIS and mapserver.


Thanks in advance.

raul n. retamozo velarde
revelar(at)hotmail(dot)com
_________________________________________________________________
Consigue el nuevo Windows Live Messenger
http://get.live.com/messenger/overview


From: Jim Nasby <jimn(at)enterprisedb(dot)com>
To: Raul Retamozo <revelar(at)hotmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: best OS and HW for postgreSQL
Date: 2006-09-25 00:18:06
Message-ID: 7C5352EF-F3CB-4939-AD50-3E4524EDE3D8@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

On Sep 22, 2006, at 6:12 PM, Raul Retamozo wrote:
> Hi everyone on the list. I want to know what is the reccommended OS
> to work with PostgreSQL , on specific with PostGIS:
> One more question is about what HW (server) offers the best
> performance for a Web Map Server bases on PostGIS and mapserver.

In general, you're probably best off running whatever OS you're most
comfortable with.

As for hardware, until recently, AMD was the un-disputed king when it
came to running PostgreSQL (and databases in general). But the newer
Intel CPUs seem to have surpassed the Opteron. I believe there's a
tweakers.net article floating around that did some performance
testing with the new CPUs.
--
Jim Nasby jimn(at)enterprisedb(dot)com
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)


From: "Guido Neitzer" <guido(dot)neitzer(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: best OS and HW for postgreSQL
Date: 2006-09-25 06:43:40
Message-ID: fbbe50e0609242343o154df259qcfc49a510e0d5ca6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

Hi.

On 9/25/06, Jim Nasby <jimn(at)enterprisedb(dot)com> wrote:

> As for hardware, until recently, AMD was the un-disputed king when it
> came to running PostgreSQL (and databases in general). But the newer
> Intel CPUs seem to have surpassed the Opteron. I believe there's a
> tweakers.net article floating around that did some performance
> testing with the new CPUs.

http://tweakers.net/reviews/646/13

cug

--
PostgreSQL Bootcamp, Big Nerd Ranch Europe, Nov 2006
http://www.bignerdranch.com/news/2006-08-21.shtml


From: Bill Hernandez <pgsql(at)mac-specialist(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: best OS and HW for postgreSQL
Date: 2006-09-25 12:17:29
Message-ID: DF5E1D81-B23C-4195-98CA-F21EE0E9FA85@mac-specialist.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin


On Sep 25, 2006, at 6:43 AM, Guido Neitzer wrote:

> Hi.
>
> On 9/25/06, Jim Nasby <jimn(at)enterprisedb(dot)com> wrote:
>
>> As for hardware, until recently, AMD was the un-disputed king when it
>> came to running PostgreSQL (and databases in general). But the newer
>> Intel CPUs seem to have surpassed the Opteron. I believe there's a
>> tweakers.net article floating around that did some performance
>> testing with the new CPUs.
>
> http://tweakers.net/reviews/646/13
>
> cug
>

Jim,

I run the following :

Hardware : Mix of Macs (G4's & G5's)
OS : [OSX], & [OSX Server]
Each machine runs : mySQL & pgSQL, Apache, PHP, Perl, OpenSSL, GD,
etc...
One machine runs : 4D Web Server (4th Dimension - Cross Platform
Client Server RDBMS)

If somebody absolutely wants Intel, the new Macs use Intel
Processors, and run (OSX BSD Unix) and (Windows XP), the ease of
working in the Terminal Shell (tcsh, bash, sh, csh, etc) is awesome.
You can drag items from the desktop such as a folder(s), or file(s)
and the paths are copied onto the terminal.

You can also do simple things like type [% open /usr/local/src /etc ]
<return> and window(s) containing the contents for those dirs will
open at the GUI level. I don't know if linux provides such a close
interaction between the GUI, and the shell environment. On OSX, I am
always working in both environments at the same time.

Also the greatest editor on the planet "BBEdit" runs on OSX, nothing
even comes close.

Most applications, including the operating system can be automated
using AppleScript. The Mac allows the user/developer to record
scripts at the application, or OS level, modify, save and run them
easily via AppleScript. You can even call AppleScripts from unix
shell scripts, and vice-versa.

The whole OSX environment compares to Linux Variants that I have
seen, much the same as an iPod compares to other mp3 players.

For example you can type [% sudo chmod -R theUser:theGroup [drag
folder(s), or file(s) from the desktop onto the terminal]<return>
instead of typing the paths, and that's it...

About a year ago I joined a Linux user's group and got to see demos
on different variants. Nothing even came close to the integration
provided by Apple's OSX. After attending the Linux user group for
several months I realized how fortunate I was. In my opinion the
complete integration provided by OSX was light years ahead of
anything else I ever saw at the meetings. The guys that ran the group
worked full time with Linux Systems, so they were well experienced.

I remember one evening at the user group they screwed around for the
whole meeting trying to get some images from one of the user's
digital camera, finally I asked them if I could see the camera and
within a couple of minutes I and was doing a slide show with the
images. I thought once again, how incredibly lucky I was to be
running OSX...

I've been programming the Mac, pretty much full time, since 1987. I
do cross platform testing, and I am always so happy when I get back
to the Mac...

Best Regards,

Bill Hernandez
Plano, Texas


From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Jim Nasby <jimn(at)enterprisedb(dot)com>
Cc: Raul Retamozo <revelar(at)hotmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: best OS and HW for postgreSQL
Date: 2006-09-25 14:44:32
Message-ID: 1159195472.4033.6.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

On Sun, 2006-09-24 at 20:18 -0400, Jim Nasby wrote:
> On Sep 22, 2006, at 6:12 PM, Raul Retamozo wrote:
> > Hi everyone on the list. I want to know what is the reccommended OS
> > to work with PostgreSQL , on specific with PostGIS:
> > One more question is about what HW (server) offers the best
> > performance for a Web Map Server bases on PostGIS and mapserver.
>
> In general, you're probably best off running whatever OS you're most
> comfortable with.

I'd amend that to say whatever flavor of unix you're most comfortable
with. Many tools aren't quite there on the windows version, and it
still seems to have more issues with performance and scaling than the
unix flavors of PostgreSQL.

> As for hardware, until recently, AMD was the un-disputed king when it
> came to running PostgreSQL (and databases in general). But the newer
> Intel CPUs seem to have surpassed the Opteron. I believe there's a
> tweakers.net article floating around that did some performance
> testing with the new CPUs.

I think AMD still has an advantage for CPU >=4 due to the hypertransport
(not cores, actual CPU sockets >=4) Since most loads are easily handled
by two dual core CPUs nowadays, AMD and Intel are about even.

Much more important is your disk subsystem. Using an Areca RAID
controller with battery backed cache and a half dozen or more hard
drives is often the real winner for performance.


From: Ray Stell <stellr(at)cns(dot)vt(dot)edu>
To: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
Cc: Jim Nasby <jimn(at)enterprisedb(dot)com>, Raul Retamozo <revelar(at)hotmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: best OS and HW for postgreSQL
Date: 2006-09-25 15:02:40
Message-ID: 20060925150240.GA17134@cns.vt.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin


I'm curious about the "[ADMIN] COPY FROM command v8.1.4" thread
as it applies to this thread. The COPY thread pointed to kernel
issues in x86_64 GNU/Linux SLES 9. I'm wondering if x86_64 is not
a good move for pg servers at this time. Are there happy x86_64
production deployments?

On Mon, Sep 25, 2006 at 09:44:32AM -0500, Scott Marlowe wrote:
> On Sun, 2006-09-24 at 20:18 -0400, Jim Nasby wrote:
> >
> > In general, you're probably best off running whatever OS you're most
> > comfortable with.


From: "Hakan Kocaman" <Hakan(dot)Kocaman(at)digame(dot)de>
To: "Ray Stell" <stellr(at)cns(dot)vt(dot)edu>, "Scott Marlowe" <smarlowe(at)g2switchworks(dot)com>
Cc: "Jim Nasby" <jimn(at)enterprisedb(dot)com>, "Raul Retamozo" <revelar(at)hotmail(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: best OS and HW for postgreSQL
Date: 2006-09-25 15:18:19
Message-ID: 84AAD313D71B1D4F9EE20E739CC3B6ED013DEC07@ATLANTIK-CL.intern.digame.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

hi,

yep :~)
compiled from source on Suse 9.2 (not SLES 9)

best regards

Hakan

> -----Original Message-----
> From: pgsql-admin-owner(at)postgresql(dot)org
> [mailto:pgsql-admin-owner(at)postgresql(dot)org] On Behalf Of Ray Stell
> Sent: Monday, September 25, 2006 5:03 PM
> To: Scott Marlowe
> Cc: Jim Nasby; Raul Retamozo; pgsql-admin(at)postgresql(dot)org
> Subject: Re: [ADMIN] best OS and HW for postgreSQL
>
>
>
> I'm curious about the "[ADMIN] COPY FROM command v8.1.4" thread
> as it applies to this thread. The COPY thread pointed to kernel
> issues in x86_64 GNU/Linux SLES 9. I'm wondering if x86_64 is not
> a good move for pg servers at this time. Are there happy x86_64
> production deployments?
>
>
>
> On Mon, Sep 25, 2006 at 09:44:32AM -0500, Scott Marlowe wrote:
> > On Sun, 2006-09-24 at 20:18 -0400, Jim Nasby wrote:
> > >
> > > In general, you're probably best off running whatever OS
> you're most
> > > comfortable with.
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>


From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
Cc: Jim Nasby <jimn(at)enterprisedb(dot)com>, Raul Retamozo <revelar(at)hotmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: best OS and HW for postgreSQL
Date: 2006-09-25 15:28:20
Message-ID: 4517F594.7000404@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

Scott Marlowe wrote:
> On Sun, 2006-09-24 at 20:18 -0400, Jim Nasby wrote:
>> On Sep 22, 2006, at 6:12 PM, Raul Retamozo wrote:
>>> Hi everyone on the list. I want to know what is the reccommended OS
>>> to work with PostgreSQL , on specific with PostGIS:
>>> One more question is about what HW (server) offers the best
>>> performance for a Web Map Server bases on PostGIS and mapserver.
>> In general, you're probably best off running whatever OS you're most
>> comfortable with.
>
> I'd amend that to say whatever flavor of unix you're most comfortable
> with.

Well honestly that isn't true either. Linux is faster then Solaris for
PostgreSQL in a lot of cases. In reality... I would say the best OS for
PostgreSQL is either Linux or FreeBSD. Win32 is great for a small
installation or development.

The Solaris argument may change for 8.2, I don't know.

> Many tools aren't quite there on the windows version, and it
> still seems to have more issues with performance and scaling than the
> unix flavors of PostgreSQL.

No question. The win32 version of PostgreSQL can't go over 300-400
connections depending on the size of your machine without modifying your
registry in a scary fashion.

>
>> As for hardware, until recently, AMD was the un-disputed king when it
>> came to running PostgreSQL (and databases in general). But the newer
>> Intel CPUs seem to have surpassed the Opteron. I believe there's a
>> tweakers.net article floating around that did some performance
>> testing with the new CPUs.

I am still curious about this when you start talking more then say 4
CPUs. AMD IIRC still has the belt for things like memory bandwidth.

>
> I think AMD still has an advantage for CPU >=4 due to the hypertransport
> (not cores, actual CPU sockets >=4) Since most loads are easily handled
> by two dual core CPUs nowadays, AMD and Intel are about even.

Heh, see above ;)

>
> Much more important is your disk subsystem. Using an Areca RAID
> controller with battery backed cache and a half dozen or more hard
> drives is often the real winner for performance.

Yes, LSI and 3Ware are also good. I am particularly fond of LSI but
Areca has PCI-Express cards which means you can put them on cheaper
motherboards :)

Joshua D. Drake

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/


From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Jim Nasby <jimn(at)enterprisedb(dot)com>, Raul Retamozo <revelar(at)hotmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: best OS and HW for postgreSQL
Date: 2006-09-25 16:24:38
Message-ID: 1159201478.26848.15.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

On Mon, 2006-09-25 at 10:28, Joshua D. Drake wrote:
> Scott Marlowe wrote:
> > On Sun, 2006-09-24 at 20:18 -0400, Jim Nasby wrote:
> >> On Sep 22, 2006, at 6:12 PM, Raul Retamozo wrote:
> >>> Hi everyone on the list. I want to know what is the reccommended OS
> >>> to work with PostgreSQL , on specific with PostGIS:
> >>> One more question is about what HW (server) offers the best
> >>> performance for a Web Map Server bases on PostGIS and mapserver.
> >> In general, you're probably best off running whatever OS you're most
> >> comfortable with.
> >
> > I'd amend that to say whatever flavor of unix you're most comfortable
> > with.
>
> Well honestly that isn't true either. Linux is faster then Solaris for
> PostgreSQL in a lot of cases. In reality... I would say the best OS for
> PostgreSQL is either Linux or FreeBSD. Win32 is great for a small
> installation or development.
>
> The Solaris argument may change for 8.2, I don't know.

Seems the same thing is true for other databases (the one that cannot be
named comes to mind).

> >
> > Much more important is your disk subsystem. Using an Areca RAID
> > controller with battery backed cache and a half dozen or more hard
> > drives is often the real winner for performance.
>
> Yes, LSI and 3Ware are also good. I am particularly fond of LSI but
> Areca has PCI-Express cards which means you can put them on cheaper
> motherboards :)

I too have a soft spot in my heart for LSI MegaRAID cards. They've
never treated me badly.


From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
Cc: Jim Nasby <jimn(at)enterprisedb(dot)com>, Raul Retamozo <revelar(at)hotmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: best OS and HW for postgreSQL
Date: 2006-09-25 16:34:10
Message-ID: 45180502.8090304@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

>
>>> Much more important is your disk subsystem. Using an Areca RAID
>>> controller with battery backed cache and a half dozen or more hard
>>> drives is often the real winner for performance.
>> Yes, LSI and 3Ware are also good. I am particularly fond of LSI but
>> Areca has PCI-Express cards which means you can put them on cheaper
>> motherboards :)
>
> I too have a soft spot in my heart for LSI MegaRAID cards. They've
> never treated me badly.

Well the driver is rock solid on linux because it is MegaRaid. The card
for the most part hasn't changed in 10 years :)

Joshua D. Drake

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/


From: Chris Browne <cbbrowne(at)acm(dot)org>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: best OS and HW for postgreSQL
Date: 2006-09-25 16:37:20
Message-ID: 60y7s7j41r.fsf@dba2.int.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

jd(at)commandprompt(dot)com ("Joshua D. Drake") writes:

> Scott Marlowe wrote:
>> On Sun, 2006-09-24 at 20:18 -0400, Jim Nasby wrote:
>>> On Sep 22, 2006, at 6:12 PM, Raul Retamozo wrote:
>>>> Hi everyone on the list. I want to know what is the reccommended
>>>> OS to work with PostgreSQL , on specific with PostGIS:
>>>> One more question is about what HW (server) offers the best
>>>> performance for a Web Map Server bases on PostGIS and mapserver.
>>> In general, you're probably best off running whatever OS you're
>>> most comfortable with.
>> I'd amend that to say whatever flavor of unix you're most comfortable
>> with.
>
> Well honestly that isn't true either.

No, I think it's still true.

It seems to me that you're better off using an OS that you're
competent with than leaping out of the "region of competence."

Is it better to get a 15% speedup, but then have the system fall over
because you don't know how to keep it up to date with patches for
recent CERT reports? In many cases, I wouldn't think so...
--
output = ("cbbrowne" "@" "linuxdatabases.info")
http://cbbrowne.com/info/languages.html
str->str_pok |= SP_FBM; /* deep magic */
s = (unsigned char*)(str->str_ptr); /* deeper magic */
-- Larry Wall in util.c from the perl source code


From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Ray Stell <stellr(at)cns(dot)vt(dot)edu>
Cc: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>, Jim Nasby <jimn(at)enterprisedb(dot)com>, Raul Retamozo <revelar(at)hotmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: best OS and HW for postgreSQL
Date: 2006-09-25 16:54:32
Message-ID: 451809C8.2010808@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

Ray Stell wrote:
> I'm curious about the "[ADMIN] COPY FROM command v8.1.4" thread
> as it applies to this thread. The COPY thread pointed to kernel
> issues in x86_64 GNU/Linux SLES 9. I'm wondering if x86_64 is not
> a good move for pg servers at this time. Are there happy x86_64
> production deployments?

Almost every deployment I do is on x86_64.

Joshua D. Drake
Command Prompt, Inc.

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/