Re: a few crazy ideas about hash joins

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Greg Stark <stark(at)enterprisedb(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: a few crazy ideas about hash joins
Date: 2009-04-03 17:14:38
Message-ID: 1238778878.5444.216.camel@ebony.2ndQuadrant
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Fri, 2009-04-03 at 18:03 +0100, Greg Stark wrote:

> I wonder if we need a whole class of index algorithms to deal
> specifically with read-only tables

I think we can drop the word "index" from the sentence as well.

"Read-only" isn't an isolated case. Often you find many read-only tables
alongside rapidly changing tables. So even the busiest of databases can
benefit from read-only optimisations. So I want MVCC *and* read only,
not MVCC everywhere (or MVCC nowhere if customer changes horses to get
read-only benefits elsewhere).

Having changes to those tables cause much heavier additional work is OK,
if judged on a cost/benefit basis. So the case I care about ought to be
called "read-mostly" but we're talking write:read ratios of millions:1.

--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2009-04-03 17:23:26 Re: a few crazy ideas about hash joins
Previous Message Tom Lane 2009-04-03 17:05:14 Re: can't load plpython