Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Notification when freespaces empty


  • From: Simon Riggs <simon@2ndquadrant.com>
  • To: ITAGAKI Takahiro <itagaki.takahiro@lab.ntt.co.jp>
  • Cc: pgsql-hackers@postgresql.org
  • Subject: Re: Notification when freespaces empty
  • Date: Fri, 20 May 2005 12:21:02 +0100
  • Message-id: <1116588062.3844.305.camel@localhost.localdomain>

On Fri, 2005-05-20 at 14:41 +0900, ITAGAKI Takahiro wrote:
> LOG:  FreeSpace for "public.accounts" becomes empty. (stored=1, avg=159, min=128)

Looks useful to me, until we patch up FSMs more fully in the future.

Might need rewording. Stored -> stored pages, Avg -> Avg Row Length.
Probably should be a DEBUG1 log line also.

It would be even more useful if this was signalled (perhaps to stats) in
such a way that autovacuum could act upon this knowledge.

> Furthermore, this patch detaches empty fsmpages then.
> Freespaces keep being scanned after they empties,
> but it seems to be bootless effort.

Does that do anything useful though?

I thought we don't reallocate until VACUUM time, whereupon we identify
any empty slots and reuse them. Who cares whether we deallocate earlier?

Best Regards, Simon Riggs





Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group