pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PFC <lists@boutiquenumerique.com>
To: Scott Marlowe <smarlowe@g2switchworks.com>
To: mauro <bertolima@yahoo.it>
Cc: pgsql-sql@postgresql.org
Subject: Re: Postgres performance
Date: Wed, 02 Mar 2005 22:45:38 +0100
Message-ID: <opsm05ecu9th1vuj@musicbox> (raw)
In-Reply-To: <1109775613.30529.359.camel@state.g2switchworks.com>
References: <d64dda1e.0502230229.3deaf864@posting.google.com>
	<421D8ABC.2030601@archonet.com>
	<d64dda1e.0503010252.67c2312d@posting.google.com>
	<1109775613.30529.359.camel@state.g2switchworks.com>


> The reason PostgreSQL is slower is because it (and by extension the team
> behind it) cares about your data.

	Sure, postgres is (a bit but not much) slower for a simple query like  
SELECT * FROM one table WHERE id=some number, and postgres is a lot slower  
for UPDATES (although I heard that it's faster than MySQL InnoDB)... but  
try a query with a join on few tables, even a simple one, and postgres  
will outperform mysql, sometimes by 2x, sometimes 1000 times. I had a case  
with a join between 4 tables, two of them having 50k records ; I was only  
pulling 6 records... mysql spent half a second and postgres 0.5 ms... hell  
!



view thread (21+ messages)  latest in thread

Message-ID: <opsm05ecu9th1vuj@musicbox>
Permalink:  ../opsm05ecu9th1vuj@musicbox/
Also on:    postgresql.org/message-id/opsm05ecu9th1vuj@musicbox

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: lists@boutiquenumerique.com, smarlowe@g2switchworks.com, bertolima@yahoo.it
  Subject: Re: Postgres performance
  In-Reply-To: <opsm05ecu9th1vuj@musicbox>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox