Re: Aggregate Functions Template

From: postgres(at)jal(dot)org
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Aggregate Functions Template
Date: 2005-06-13 21:52:51
Message-ID: 20050613215251.GA5713@clueinc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


Hi, Sqlers -

I just installed 8.0.3, and am getting up to speed with the new
features. First on my list is Tablespaces. In the docs, I see this:

Note: There is usually not much point in making more than one
tablespace per logical file system, since you cannot control the
location of individual files within a logical file system. However,
PostgreSQL does not enforce any such limitation, and indeed it is
not directly aware of the file system boundaries on your system. It
just stores files in the directories you tell it to use.

(http://www.postgresql.org/docs/8.0/interactive/manage-ag-tablespaces.html)

I assume this is from the perspective of performance, correct? I was
planning on doing a tablespace per logical project, as we internally
structure most other things that way, and also to ease moving things
around in the event we restructure filesystems, move things between
servers, etc.

In general, at least on our development machines, I was planning on
using them to make data management easier. I note that I'm not seeing
any Oracle style alter tablespace ... commands for moving things around,
but it appears from that page that it is possible to do by changing the
$PGDATA/pg_tblspc/$symlink and updating pg_tablespace (even if doing so
is 'not recommended').

Is this a flawed use of tablespaces?

Thanks,

-j

--
Jamie Lawrence jal(at)jal(dot)org
"Reality must take precedence over public relations, for nature cannot be
fooled."
- Richard P. Feynman

Browse pgsql-sql by date

  From Date Subject
Next Message Greg Sabino Mullane 2005-06-14 03:39:47 Re: getting details about integrity constraint violation
Previous Message ON.KG 2005-06-13 16:22:39 duplicate key violates unique constraint