Re: LWLock contention: I think I understand the problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Hannu Krosing <hannu(at)tm(dot)ee>, Hannu Krosing <hannu(at)krosing(dot)net>, Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org, jwbaker(at)acm(dot)org
Subject: Re: LWLock contention: I think I understand the problem
Date: 2002-01-23 19:15:21
Message-ID: 4665.1011813321@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-odbc

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> If we have one page with data, and 100 empty pages, and another page
> with data on the end, will VACUUM shrink that to two pages if no one is
> accessing the table, or does it do _only_ intra-page moves.

The only way to shrink that is VACUUM FULL.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bill Studenmund 2002-01-23 19:34:23 Re: RFD: schemas and different kinds of Postgres objects
Previous Message Haroldo Stenger 2002-01-23 19:15:12 Re: Savepoints

Browse pgsql-odbc by date

  From Date Subject
Next Message Mitch Vincent 2002-01-23 19:29:56 SSL Support?
Previous Message Bruce Momjian 2002-01-23 19:10:27 Re: LWLock contention: I think I understand the problem