Re: Patch to remove sort files, temp tables, unreferenced files - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Patch to remove sort files, temp tables, unreferenced files
Date
Msg-id 200105310129.f4V1TWu29940@candle.pha.pa.us
Whole thread Raw
In response to Re: Patch to remove sort files, temp tables, unreferenced files  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> I don't.  The intention (not yet implemented, but Vadim's referred to it
> >> repeatedly) is that relation file creation/deletion will be logged in
> >> WAL, and so it can be redone or undone after a crash.  That seems a much
> >> more secure approach than anything you've proposed in this thread.
>
> > I prefer a WAL cleanup myself, especially if it can be done for 7.2, but
> > how do we do that without fsync'ing the WAL every time we create a file?
>
> Yes, we'd need to fsync WAL at the file creation/deletion points.  So?

I guess we don't do creation/deletion too much.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Patch to remove sort files, temp tables, unreferenced files
Next
From: "Christopher Kings-Lynne"
Date:
Subject: DROP CONSTRAINT (UNIQUE) preliminary support