pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Magnus Hagander <mha@sollentuna.net>
To: J. Andrew Rogers <jrogers@neopolitan.com>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-performance@postgresql.org
Cc: mischa.sandberg@telus.net
Subject: Re: Equivalent praxis to CLUSTERED INDEX?
Date: Thu, 26 Aug 2004 12:48:25 -0700
Message-ID: <200408261248.25661.josh@agliodbs.com> (raw)
In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCE475B39@algol.sollentuna.se>
References: <6BCB9D8A16AC4241919521715F4D8BCE475B39@algol.sollentuna.se>

Magnus,

> IIRC, SQL Server always creates clustered indexes by default for primary
> keys.

I think that's a per-database setting; certainly the ones I admin do not.

However, since SQL Server orders its data pages, those data pages tend to be 
in the order of the primary key regardless if there is no clustered index.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (41+ messages)  latest in thread

Message-ID: <200408261248.25661.josh@agliodbs.com>
Permalink:  ../200408261248.25661.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200408261248.25661.josh@agliodbs.com

 · 

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: josh@agliodbs.com, mha@sollentuna.net, jrogers@neopolitan.com, pgman@candle.pha.pa.us, mischa.sandberg@telus.net
  Subject: Re: Equivalent praxis to CLUSTERED INDEX?
  In-Reply-To: <200408261248.25661.josh@agliodbs.com>

* 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