Re: Unlogged vs. In-Memory

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Joshua Berkus <josh(at)agliodbs(dot)com>
Cc: PostgreSQL Advocacy <pgsql-advocacy(at)postgresql(dot)org>
Subject: Re: Unlogged vs. In-Memory
Date: 2011-05-03 17:55:13
Message-ID: BANLkTin-pJhCCEsMoOfucPym6eJMVypbYw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-hackers

On Tue, May 3, 2011 at 6:46 PM, Joshua Berkus <josh(at)agliodbs(dot)com> wrote:
>
> Saying "It's like a in-memory table" is a lot more successful.  And it's using the term "in-memory" the same way a lot of other DBMSes market it, i.e. in-memory == non-durable & no disk writes.

Unlogged tables *are* written to disk though. And may be read from
there too - they are not pinned into memory.

> The important thing from my perspective is that unlogged tables give us the capabilities of a lot of the "in-memory" databases ... with unlogged tables and fsync off, for example, PostgreSQL becomes a viable caching database.
>
> When doing PR, it's more important to use terms people recognize than to use terms which are perfectly accurate.  Nobody expects a news article to be perfectly accurate anyway.

I consider the term to be pretty much 100% inaccurate. When you say
in-memory to me, I think of a table that is pinned into buffer cache,
as you can do in some DBMS', thus *ensuring* the reads are fast, or of
a database or table that operates entirely in memory (perhaps with
occasional disk writes for persistence) like VoltDB, Redis or MySQL's
Memory storage manager.

> However, I posted this because I think that several folks in the community feel that this is going too far into the land of marketese, and I want to hash it out and get consensus before we start pitching 9.1 final.

Thank you.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

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

In response to

Browse pgsql-advocacy by date

  From Date Subject
Next Message Thom Brown 2011-05-03 17:56:58 Re: Unlogged vs. In-Memory
Previous Message Joshua Berkus 2011-05-03 17:46:51 Unlogged vs. In-Memory

Browse pgsql-hackers by date

  From Date Subject
Next Message Thom Brown 2011-05-03 17:56:58 Re: Unlogged vs. In-Memory
Previous Message Joshua Berkus 2011-05-03 17:46:51 Unlogged vs. In-Memory