Re: a few crazy ideas about hash joins

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Simon Riggs" <simon(at)2ndQuadrant(dot)com>, "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:23:26
Message-ID: 49D5FFBE.EE98.0025.0@wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Simon Riggs <simon(at)2ndQuadrant(dot)com> wrote:
> "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.

> 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.

We have tables which are frequently JOINed to other tables in complex
SELECT statements, but which are only modified as part of a software
release. It would be OK with us if switching between modifiable or
not actually took as much time as, for example, a CLUSTER command if
it gave us a performance benefit when used in these complex queries
when in read-only mode.

-Kevin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-04-03 18:00:36 Re: can't load plpython
Previous Message Simon Riggs 2009-04-03 17:14:38 Re: a few crazy ideas about hash joins