X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7200C5284D for ; Mon, 13 Jun 2005 18:52:59 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 42783-03 for ; Mon, 13 Jun 2005 21:52:51 +0000 (GMT) Received: from frankenbride.clueinc.net (xd84b4369.ip.e-nt.net [216.75.67.105]) by svr1.postgresql.org (Postfix) with ESMTP id AC2455282A for ; Mon, 13 Jun 2005 18:52:49 -0300 (ADT) Received: by frankenbride.clueinc.net (Postfix, from userid 16220) id BFDB5B88A; Mon, 13 Jun 2005 17:52:51 -0400 (EDT) Date: Mon, 13 Jun 2005 17:52:51 -0400 From: postgres@jal.org To: pgsql-sql@postgresql.org Subject: Re: Aggregate Functions Template Message-ID: <20050613215251.GA5713@clueinc.net> Mail-Followup-To: pgsql-sql@postgresql.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Organization: clue inc X-URL: http://www.clueinc.net/ X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.228 tagged_above=0 required=5 tests=FORGED_RCVD_HELO, NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200506/158 X-Sequence-Number: 21759 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@jal.org "Reality must take precedence over public relations, for nature cannot be fooled." - Richard P. Feynman