Re: Unlogged vs. In-Memory

From: Thom Brown <thom(at)linux(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Rob Wultsch <wultsch(at)gmail(dot)com>, PostgreSQL Advocacy <pgsql-advocacy(at)postgresql(dot)org>
Subject: Re: Unlogged vs. In-Memory
Date: 2011-09-23 01:26:53
Message-ID: CAA-aLv6cbYw34C7y5O29b1oxSCGCPTacPTq26J81Oa2T88hdkQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-hackers

On 22 September 2011 17:38, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
>
>> So are there any plans to allow swappable drive/volatile storage
>> unlogged tables?
>
> Be our guest.  ;-)

Oh it can't be that difficult. On first glance it looks like it's a
case of piggy-backing mdopen and getting it to treat
RELPERSISTENCE_TEMP relations in the same way as it would for
relations during the bootstrap script (i.e. create it if it doesn't
exist)... then telling it not to try reading anything from the
relation... or something like this. But I don't know C so...
*puppy-dog eyes*

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Robert Haas 2011-09-23 14:12:39 Re: [pgsql-advocacy] Unlogged vs. In-Memory
Previous Message Kevin Grittner 2011-09-22 20:57:50 Wikipedia's Isolation page

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2011-09-23 04:26:41 Re: patch: plpgsql - remove unnecessary ccache search when a array variable is updated
Previous Message Robert Haas 2011-09-23 01:11:54 Re: memory barriers (was: Yes, WaitLatch is vulnerable to weak-memory-ordering bugs)