Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 57CAE6503BC for ; Tue, 5 Aug 2008 03:11:03 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 56455-03-4 for ; Tue, 5 Aug 2008 03:10:54 -0300 (ADT) X-Greylist: delayed 00:05:19.135035 by SQLgrey-1.7.6 Received: from blu0-omc2-s7.blu0.hotmail.com (blu0-omc2-s7.blu0.hotmail.com [65.55.111.82]) by postgresql.org (Postfix) with ESMTP id 938F2650401 for ; Tue, 5 Aug 2008 03:09:21 -0300 (ADT) Received: from BLU141-W10 ([65.55.111.72]) by blu0-omc2-s7.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 4 Aug 2008 23:04:01 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_a11a468f-0348-450d-a885-e5a09778cb96_" X-Originating-IP: [210.13.88.58] From: Robert Shaw To: Subject: Vacuum Vs Vacuum Full Date: Tue, 5 Aug 2008 16:04:00 +1000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 05 Aug 2008 06:04:01.0125 (UTC) FILETIME=[0E6DB150:01C8F6C1] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200808/136 X-Sequence-Number: 135966 --_a11a468f-0348-450d-a885-e5a09778cb96_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C I've been trying to get to the bottom of the differences between a vacuum a= nd a vacuum full=2C it seems to me that the difference is that a vacuum ful= l also recovers disk space(and locks things making it less than useful on p= roduction servers). But I believe that both will fix the transaction ID(ex= ample message below). "WARNING: database "mydb" must be vacuumed within 177009986 transactions HINT: To avoid a database shutdown=2C execute a full-database VACUUM in "m= ydb"."Which is reason I ask the question=2C is full vacuum backup useful fo= r anything other than reclaiming disk space. On a side note=2C we doubled our page slots=2C but they ran out much faster= (of course) than we thought=2C is there a good sql statement that can tell = you what your current transaction ID is? Thanks in advance. Cheers=2C Rob _________________________________________________________________ Are you paid what you're worth? Find out: SEEK Salary Centre http://a.ninemsn.com.au/b.aspx?URL=3Dhttp%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau= %2Fcareer%2Dresources%2Fsalary%2Dcentre%2F%3Ftracking%3Dsk%3Ahet%3Asc%3Anin= e%3A0%3Ahot%3Atext&_t=3D764565661&_r=3DOCT07_endtext_salary&_m=3DEXT= --_a11a468f-0348-450d-a885-e5a09778cb96_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C

I've been trying to get to the bottom of the differences betwe= en a vacuum and a vacuum full=2C it seems to me that the difference is that= a vacuum full also recovers disk space(and locks things making it less tha= n useful on production servers). =3B But I believe that both will fix t= he transaction ID(example message below).

"WARNING: database "mydb"= must be vacuumed within 177009986 transactions
HINT:  To avoid a database shutdown=2C execute a full-database VACUUM=
 in "mydb"."
Which is reason I ask the question=2C is full vacuum back= up useful for anything other than reclaiming disk space.

On a side n= ote=2C we doubled our page slots=2C but they ran out much faster(of course)= than we thought=2C is there a good sql statement that can tell you what yo= ur current transaction ID is?

Thanks in advance.

Cheers=2CRob


Find out: SEEK Salary Centre Are = you paid what you're worth? = --_a11a468f-0348-450d-a885-e5a09778cb96_--