Re: [HACKERS] Concurrent VACUUM: first results

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Concurrent VACUUM: first results
Date: 1999-11-26 04:11:25
Message-ID: 199911260411.XAA21985@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I have a anxiety about the index of pg_statistic(pg_statistic itself also
> ?).
>
> vc_updstats() may be called in immediately committed mode.
> vacuum calls TransactionIdCommit() after moving tuples in order
> to delete index tuples and truncate the relation safely.
>
> It's necessary but the state is out of PostgreSQL's recovery
> mechanism.
> heap_insert() is imediately committed. If index_insert() fails
> there remains a heap tuple which doesn't have a corresponding
> index entry.

Huh. Heap_insert writes to disk, but there it is not used unless the
transaction gets committed, right?

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mike Mascari 1999-11-26 04:26:02 Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions
Previous Message Bruce Momjian 1999-11-26 04:02:57 Re: [HACKERS] pid file for postmaster?