Thread: Which plattform do you recommend I run PostgreSQL for best performance?

Which plattform do you recommend I run PostgreSQL for best performance?

From
nd02tsk@student.hig.se
Date:
Hello

I am doing a comparison between MySQL and PostgreSQL.

In the MySQL manual it says that MySQL performs best with Linux 2.4 with
ReiserFS on x86. Can anyone official, or in the know, give similar
information regarding PostgreSQL?

Also, any links to benchmarking tests available on the internet between
MySQL and PostgreSQL would be appreciated.

Thank you!

Tim



Re: Which plattform do you recommend I run PostgreSQL for

From
Matt Clark
Date:
>In the MySQL manual it says that MySQL performs best with Linux 2.4 with
>ReiserFS on x86. Can anyone official, or in the know, give similar
>information regarding PostgreSQL?
>
>
I'm neither official, nor in the know, but I do have a spare moment! I
can tell you that any *NIX variant on any modern hardware platform will
give you good performance, except for Cygwin/x86.  Any differences
between OSes on the same hardware are completely swamped by far more
direct concerns like IO systems, database design, OS tuning etc.  Pick
the OS you're most familiar with is usually a good recommendation (and
not just for Postgres).

Re: Which plattform do you recommend I run PostgreSQL for

From
Francisco Reyes
Date:
On Tue, 12 Oct 2004 nd02tsk@student.hig.se wrote:

> In the MySQL manual it says that MySQL performs best with Linux 2.4 with
> ReiserFS on x86. Can anyone official, or in the know, give similar
> information regarding PostgreSQL?

Don't know which OS/filesystem PostgreSQL runs best on, but you should
test on whatever OS and filesystem you are most experienced.

Whatever speed gain you may get from "best setups" will mean little if
the machine crashes and you don't know how to fix it and get it back
up quickly.

Re: Which plattform do you recommend I run PostgreSQL for best performance?

From
Josh Berkus
Date:
Tim,

> In the MySQL manual it says that MySQL performs best with Linux 2.4 with
> ReiserFS on x86. Can anyone official, or in the know, give similar
> information regarding PostgreSQL?

PostgreSQL runs on a lot more platforms than MySQL; it's not even reasonable
to compare some of them, like rtLinux, AIX or Cygwin.   The only reasonable
comparative testing that's been done seems to indicate that:
Linux 2.6 is more efficient than FreeBSD which is more efficient than Linux
2.4 all of which are significantly more efficient than Solaris, and
ReiserFS, XFS and JFS *seem* to outperform other Linux journalling FSes.

However, as others have said, configuration and hardware will probably make
more difference than your choice of OS except in extreme cases.   And all of
the above is being further tested, particularly the filesystems.

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

Re: Which plattform do you recommend I run PostgreSQL for best performance?

From
Christopher Browne
Date:
In an attempt to throw the authorities off his trail, nd02tsk@student.hig.se transmitted:
> I am doing a comparison between MySQL and PostgreSQL.
>
> In the MySQL manual it says that MySQL performs best with Linux 2.4 with
> ReiserFS on x86. Can anyone official, or in the know, give similar
> information regarding PostgreSQL?

The fastest I have ever seen PostgreSQL run is on an IBM pSeries 650
system using AIX 5.1 and JFS2.  There aren't many Linux systems that
are anywhere _near_ as fast as that.

There's some indication that FreeBSD 4.9, running the Berkeley FFS
filesystem might be the quickest way of utilizing pedestrian IA-32
hardware, although it is _much_ more important to have a system for
which you have a competent sysadmin than it is to have some
"tweaked-out" OS configuration.

In practice, competent people generally prefer to have systems that
hum along nicely as opposed to systems that have ben "tweaked out"
such that any little change will cause them to cave in.

Benchmarks are useful in determining:

  a) Whether or not it is realistic to attempt a project, and

  b) Whether or not you have made conspicuous errors in configuring
     your systems.

They are notoriously BAD as predictive tools, as the benchmarks
sponsored by vendors get tweaked to make the vendors' products look
good, as opposed to being written to be useful for prediction.

See if you see anything useful from MySQL in this regard:
<http://www.mysql.com/it-resources/benchmarks/>

> Also, any links to benchmarking tests available on the internet
> between MySQL and PostgreSQL would be appreciated.

Most database vendors have licenses that specifically forbid
publishing benchmarks.
--
(reverse (concatenate 'string "gro.mca" "@" "enworbbc"))
http://www3.sympatico.ca/cbbrowne/oses.html
Do you know where your towel is?

Re: Which plattform do you recommend I run PostgreSQL for best

From
CoL
Date:
hi,

nd02tsk@student.hig.se wrote:
> Hello
>
> I am doing a comparison between MySQL and PostgreSQL.
>
> In the MySQL manual it says that MySQL performs best with Linux 2.4 with
> ReiserFS on x86. Can anyone official, or in the know, give similar
> information regarding PostgreSQL?
>
> Also, any links to benchmarking tests available on the internet between
> MySQL and PostgreSQL would be appreciated.

http://www.potentialtech.com/wmoran/postgresql.php
http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html
http://candle.pha.pa.us/main/writings/pgsql/hw_performance/
http://database.sarang.net/database/postgres/optimizing_postgresql.html

C.

Re: Which plattform do you recommend I run PostgreSQL

From
nd02tsk@student.hig.se
Date:
Thank you.

Tim

> hi,
>
> nd02tsk@student.hig.se wrote:
>> Hello
>>
>> I am doing a comparison between MySQL and PostgreSQL.
>>
>> In the MySQL manual it says that MySQL performs best with Linux 2.4 with
>> ReiserFS on x86. Can anyone official, or in the know, give similar
>> information regarding PostgreSQL?
>>
>> Also, any links to benchmarking tests available on the internet between
>> MySQL and PostgreSQL would be appreciated.
>
> http://www.potentialtech.com/wmoran/postgresql.php
> http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html
> http://candle.pha.pa.us/main/writings/pgsql/hw_performance/
> http://database.sarang.net/database/postgres/optimizing_postgresql.html
>
> C.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>