Re: [GENERAL] Physical Database Configuration

From: johnnnnnn <john(at)phaedrusdeinus(dot)org>
To: pgsql-hackers(at)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: [GENERAL] Physical Database Configuration
Date: 2003-06-25 19:56:24
Message-ID: 20030625195624.GG36005@performics.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Wed, Jun 25, 2003 at 10:30:31AM -0500, Andrew Dunstan wrote:
> DB2 looks good. I have horrid, horrid memories of wrestling with the
> Oracle "extent" madness.

I do think that it's worth providing additional access points to
tablespaces, though. That is, it would make sense to me to allow
"CREATE INDEX indexname IN spacename", instead of attaching an
indexspace to a table.

This is especially true with postgresql, since i've seen more than one
proposal for multi-table indices. If we're spacing indices based on
the table, it's unclear where a given multi-table index should go.

It would also allow for other flexibilities, like putting join indices
(on foreign keys) in one tablespace, with indices for aggregation or
sorting in another tablespace.

So, my vote, as a non-code-contributing member, would be for a
DB2-style syntax, without the "INDEX IN" and "LONG IN" extensions, but
with the ability to put indices explicitly into a tablespace.

-johnnnnnn

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message nolan 2003-06-25 20:02:47 Re: [GENERAL] Physical Database Configuration
Previous Message Ian Barwick 2003-06-25 19:53:16 Re: INSERT WHERE NOT EXISTS

Browse pgsql-hackers by date

  From Date Subject
Next Message nolan 2003-06-25 20:02:47 Re: [GENERAL] Physical Database Configuration
Previous Message greg 2003-06-25 19:51:14 Re: Updating psql for features of new FE/BE protocol