From 1b736817d0761db12d370ab7a366eb3735eff571 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 5 Jan 2006 16:23:48 +0000 Subject: [PATCH] Add: > > * Allow control over which tables are WAL-logged > > Allow tables to bypass WAL writes and just fsync() dirty pages on > commit. To do this, only a single writer can modify the table, and > writes must happen only on new pages. Readers can continue accessing > the table. Another option is to avoid transaction logging entirely > and truncate or drop the table on crash recovery. These should be > implemented using ALTER TABLE, e.g. ALTER TABLE PERSISTENCE [ DROP | > TRUNCATE | STABLE | DEFAULT ]. [wallog] --- doc/TODO | 12 +++++++++++- doc/src/FAQ/TODO.html | 11 ++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/doc/TODO b/doc/TODO index d8c5cc4129..dc7c97ffbc 100644 --- a/doc/TODO +++ b/doc/TODO @@ -2,7 +2,7 @@ PostgreSQL TODO List ==================== Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) -Last updated: Thu Jan 5 10:13:26 EST 2006 +Last updated: Thu Jan 5 11:23:42 EST 2006 The most recent version of this document can be viewed at http://www.postgresql.org/docs/faqs.TODO.html. @@ -1014,6 +1014,16 @@ Write-Ahead Log remove the 'fsync' parameter (which results in an an inconsistent database) in favor of this capability. +* Allow control over which tables are WAL-logged + + Allow tables to bypass WAL writes and just fsync() dirty pages on + commit. To do this, only a single writer can modify the table, and + writes must happen only on new pages. Readers can continue accessing + the table. Another option is to avoid transaction logging entirely + and truncate or drop the table on crash recovery. These should be + implemented using ALTER TABLE, e.g. ALTER TABLE PERSISTENCE [ DROP | + TRUNCATE | STABLE | DEFAULT ]. [wallog] + Optimizer / Executor ==================== diff --git a/doc/src/FAQ/TODO.html b/doc/src/FAQ/TODO.html index 7715d60047..0cbe43fb1d 100644 --- a/doc/src/FAQ/TODO.html +++ b/doc/src/FAQ/TODO.html @@ -8,7 +8,7 @@

PostgreSQL TODO List

Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
-Last updated: Thu Jan 5 10:13:26 EST 2006 +Last updated: Thu Jan 5 11:23:42 EST 2006

The most recent version of this document can be viewed at
http://www.postgresql.org/docs/faqs.TODO.html. @@ -918,6 +918,15 @@ first. committed transactions but still be consistent. We could perhaps remove the 'fsync' parameter (which results in an an inconsistent database) in favor of this capability. +

+
  • Allow control over which tables are WAL-logged +

    Allow tables to bypass WAL writes and just fsync() dirty pages on + commit. To do this, only a single writer can modify the table, and + writes must happen only on new pages. Readers can continue accessing + the table. Another option is to avoid transaction logging entirely + and truncate or drop the table on crash recovery. These should be + implemented using ALTER TABLE, e.g. ALTER TABLE PERSISTENCE [ DROP | + TRUNCATE | STABLE | DEFAULT ]. [wallog]

  • Optimizer / Executor