Re: [HACKERS] PGXLOG variable worthwhile?

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, shridhar_daithankar(at)persistent(dot)co(dot)in, Pgsql-hackers(at)postgresql(dot)org, Pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] PGXLOG variable worthwhile?
Date: 2002-09-18 04:52:58
Message-ID: 3D8806AA.5B507469@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

"Nigel J. Andrews" wrote:
> However, how is that going to work if tablespaces are introduced in 7.4. Surely
> the same mechanism for tablespaces would be used for pg_xlog. As the tablespace
> mechanism hasn't been determined yet, as far as I know, wouldn't it be best to
> see what happens there before creating the TODO item for the log?

No, tablespaces would have to be something DB specific, while the Xlog
is instance wide (instance == one postmaster == installation == whatever
you name that level).

My vision is that we start off with two tablespaces per database,
"default" and "default_idx", which are subdirectories inside the
database directory. All (non-index-)objects created without explicitly
saying what tablespace they belong to automatically belong to default.
Indexes ... bla.

The tablespace catalog will have a column telling the physical location
of that directory. Moving it around will not be *that* easy, I guess,
because the UPDATE of that entry has to go hand in hand with the move of
all files in that damned directory. But that's another thing to sort out
later, IMHO.

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-09-18 04:57:09 Re: [HACKERS] PGXLOG variable worthwhile?
Previous Message Jan Wieck 2002-09-18 04:43:07 Re: [HACKERS] PGXLOG variable worthwhile?

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-09-18 04:55:31 Re: RPMS for 7.3 beta.
Previous Message Jan Wieck 2002-09-18 04:43:07 Re: [HACKERS] PGXLOG variable worthwhile?