X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 1CC339DC80C for ; Thu, 26 Jan 2006 16:08:10 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 94553-02 for ; Thu, 26 Jan 2006 16:08:09 -0400 (AST) X-Greylist: delayed 00:56:58.675572 by SQLgrey- Received: from ns.saturnnet.co.uk (ns.saturnnet.co.uk [217.199.174.12]) by postgresql.org (Postfix) with ESMTP id 2DAFC9DC82E for ; Thu, 26 Jan 2006 16:08:05 -0400 (AST) Received: from fermi ([64.213.65.29]) by ns.saturnnet.co.uk (8.10.2/8.10.2) with ESMTP id k0QJB3a19889 for ; Thu, 26 Jan 2006 19:11:03 GMT Message-ID: <002a01c622ac$41555af0$1f12fea9@homisco.local> From: "Oisin Glynn" To: "pgsql general" Subject: VACUUM Question Date: Thu, 26 Jan 2006 14:10:45 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0027_01C62282.4CF7D100" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[HTML_MESSAGE=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200601/1384 X-Sequence-Number: 90329 This is a multi-part message in MIME format. ------=_NextPart_000_0027_01C62282.4CF7D100 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable We have 2 tables we expect to grow by up to 50,000 rows per day each = depending on the customer. In normal operation we will most likely = never update or delete from these tables as they are for historical = reporting. (Eventually we may but a limit on the amount of data and = delete older than X months or such) We intend to create a number of indexes based upon the reporting search = criteria. What would the best setup be for VACUUM, ANALYSE, REINDEX. Alot of the = infor refers to data hanging around from deletes and updates which in = normal course we will not do on these tables? Oisin ------=_NextPart_000_0027_01C62282.4CF7D100 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
We have 2 tables we expect to grow = by up to=20 50,000 rows per day each depending on the customer.  In normal = operation we will most likely never update or delete from these tables=20 as they are for historical reporting. (Eventually we may but a = limit=20 on the amount of data and delete older than X months or = such)
We intend to create a number of = indexes based=20 upon the reporting search criteria.
 
What would the best setup be for = VACUUM, ANALYSE,=20 REINDEX.  Alot of the infor refers to data hanging around from = deletes and=20 updates which in normal course we will not do on these = tables?
 
 
Oisin
------=_NextPart_000_0027_01C62282.4CF7D100--