From: David Parker <dparker@tazznetworks.com>
To: josh@agliodbs.com
To: pgsql-performance@postgresql.org
Subject: Re: tablespace + RAM disk?
Date: Fri, 19 Nov 2004 23:18:51 -0500
Message-ID: <07FDEE0ED7455A48AC42AC2070EDFF7C26BBCB@corpsrv2.tazznetworks.com> (raw)
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?
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
>[mailto:pgsql-performance-owner@postgresql.org] On Behalf Of
>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
>middle...and couldn't make head or tail out of it. Will search
>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
>sessions,
>>> for
>>> instance) which don't need to persist beyond the life of
>the server,
>>> 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
>broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: dparker@tazznetworks.com, josh@agliodbs.com
Subject: Re: tablespace + RAM disk?
In-Reply-To: <07FDEE0ED7455A48AC42AC2070EDFF7C26BBCB@corpsrv2.tazznetworks.com>
References: <07FDEE0ED7455A48AC42AC2070EDFF7C26BBCB@corpsrv2.tazznetworks.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox