pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andy Colson <andy@squeakycode.net>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Polak <tom@rockfordarearealtors.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Compared MS SQL 2000 to Postgresql 9.0 on Windows
Date: Fri, 17 Dec 2010 11:50:03 -0600
Message-ID: <4D0BA2CB.3090809@squeakycode.net> (raw)
In-Reply-To: <AANLkTi=uyxJH4ikB91mf7VhOM1TT_a3jSNwo0cC_6T1o@mail.gmail.com>
References: <378e24d1e3af88a49fbbb7c4d26f441a@mail.gmail.com>
	<4CFE7964.80206@squeakycode.net>
	<AANLkTi=HiO8ErFwzqBvgjXXHRUMKeUWqCpL-p9Y+oL_-@mail.gmail.com>
	<4CFE8E59.2010505@squeakycode.net>
	<AANLkTin4K86j2-GOUfmdXQ8UKv_j9V8ZRiRBEbbXj+jc@mail.gmail.com>
	<20101207201028.GE4028@aart.is.rice.edu>
	<4CFE97B4.8090708@squeakycode.net>
	<fd4bd31b523753145cf67ae6e6cb4aec@mail.gmail.com>
	<op.vne45kfjeorkce@apollo13>
	<70e424e558d87f649f149bf2948d73cb@mail.gmail.com>
	<AANLkTi=uyxJH4ikB91mf7VhOM1TT_a3jSNwo0cC_6T1o@mail.gmail.com>

On 12/17/2010 11:37 AM, Robert Haas wrote:
> On Fri, Dec 17, 2010 at 12:08 PM, Tom Polak
> <tom@rockfordarearealtors.org>  wrote:

> other direction to get good performance, too.  You're not going to
> compare two major database systems across the board and find that one
> of them is just twice as fast, across the board.  They have different
> advantages and disadvantages.  When you're using one product, you
> naturally do things in a way that works well for that product, and
> moving to a different product means starting over.  Oh, putting this
> in a stored procedure was faster on MS SQL, but it's slower on
> PostgreSQL.  Using a view here was terrible on MS SQL, but much faster
> under PostgreSQL.
>

Yeah, totally agree with that.  Every database has its own personality, 
and you have to work with it.  Its way.  Dont expect one bit of code to 
work great on all the different databases.  You need 5 different bits of 
code, one for each database.

In the end, can PG be fast?  Yes.  Very.  But only when you treat is as 
PG.  If you try to use PG as if it were mssql, you wont be a happy camper.

-Andy



view thread (31+ messages)  latest in thread

Message-ID: <4D0BA2CB.3090809@squeakycode.net>
Permalink:  ../4D0BA2CB.3090809@squeakycode.net/
Also on:    postgresql.org/message-id/4D0BA2CB.3090809@squeakycode.net

 · 

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-performance@postgresql.org
  Cc: andy@squeakycode.net, robertmhaas@gmail.com, tom@rockfordarearealtors.org
  Subject: Re: Compared MS SQL 2000 to Postgresql 9.0 on Windows
  In-Reply-To: <4D0BA2CB.3090809@squeakycode.net>

* 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