Re: extremly low memory usage

From: Michael Stone <mstone+postgres(at)mathom(dot)us>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: extremly low memory usage
Date: 2005-08-20 12:23:05
Message-ID: 20050820122305.GN19080@mathom.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Sat, Aug 20, 2005 at 02:17:54PM +0300, Marko Ristola wrote:
>Based on my knoledge, Ext3 is good with keeping filesystem integrity
>AND data integrity while pressing the reset button. However, by
>selecting data=writeback, you gain more speed, but you risk the data
>integrity during a crash: Ext3 garantees only filesystem integrity.

That's why postgres keeps its own transaction log. Any of these
filesystems guarantee data integrity for data that's been synced to
disk, and postgres keeps track of what data has and has not been
committed so it can recover gracefully from a failure. That's why most
filesystems are designed the way they are; the application can determine
what things need better data integrity and which need better performance
on a case-by-case basis.

Mike Stone

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Gavin Sherry 2005-08-20 13:08:13 Re: index as large as table
Previous Message Michael Stone 2005-08-20 12:18:33 Re: extremly low memory usage