X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C1E7A3A4B67 for ; Sat, 20 Nov 2004 04:18:56 +0000 (GMT) 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 15373-07 for ; Sat, 20 Nov 2004 04:18:52 +0000 (GMT) Received: from corpsrv2.tazznetworks.com (wsip-66-210-115-146.ri.ri.cox.net [66.210.115.146]) by svr1.postgresql.org (Postfix) with ESMTP id C93C23A49DA for ; Sat, 20 Nov 2004 04:18:50 +0000 (GMT) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: tablespace + RAM disk? Date: Fri, 19 Nov 2004 23:18:51 -0500 Message-ID: <07FDEE0ED7455A48AC42AC2070EDFF7C26BBCB@corpsrv2.tazznetworks.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PERFORM] tablespace + RAM disk? Thread-Index: AcTOmHTtrli9m1ALSkajbSMHsp8j4wACHs5wAAVoFuA= From: "David Parker" To: , X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/315 X-Sequence-Number: 9269 But, I'm also still interested in the answer to my question: is there any reason you could not put an 8.0 tablespace on a RAM disk?=20 I can imagine doing it by having an initdb run at startup somehow, with the idea that having a mix of tablespaces in a database would make this harder, but I haven't read enough about tablespaces yet. The problem with trying to mix a RAM tablespace with a persistent tablespace would seem to be that you would have to recreate select data files at system startup before you could start the database. That's why an initdb seems cleaner to me, but...I should stop talking and go read about tablespaces and memcached. I'd be interested to hear if anybody has tried this. And I will also check out memcached, too, of course. Thanks for the pointer. - DAP >-----Original Message----- >From: pgsql-performance-owner@postgresql.org=20 >[mailto:pgsql-performance-owner@postgresql.org] On Behalf Of=20 >David Parker >Sent: Friday, November 19, 2004 8:34 PM >To: josh@agliodbs.com; pgsql-performance@postgresql.org >Subject: Re: [PERFORM] tablespace + RAM disk? > >Oh! I sort of started paying attention to that in the=20 >middle...and couldn't make head or tail out of it. Will search=20 >back to the beginning.... > >Thanks. > >- DAP > >>-----Original Message----- >>From: Josh Berkus [mailto:josh@agliodbs.com] >>Sent: Friday, November 19, 2004 7:35 PM >>To: pgsql-performance@postgresql.org >>Cc: David Parker >>Subject: Re: [PERFORM] tablespace + RAM disk? >> >>David, >> >>> We have a couple tables (holding information about network=20 >sessions,=20 >>> for >>> instance) which don't need to persist beyond the life of=20 >the server,=20 >>> but while the server is running they are heavily hit, >>insert/update/delete. >> >>See the thread this last week on Memcached for a cheaper solution. >> >>-- >>--Josh >> >>Josh Berkus >>Aglio Database Solutions >>San Francisco >> > >---------------------------(end of=20 >broadcast)--------------------------- >TIP 4: Don't 'kill -9' the postmaster >