X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E14AC329D27 for ; Tue, 28 Sep 2004 15:28:50 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 56910-05 for ; Tue, 28 Sep 2004 14:28:38 +0000 (GMT) Received: from bcbssc.com (mail1.bcbssc.com [207.19.198.69]) by svr1.postgresql.org (Postfix) with ESMTP id D7DDE329CDB for ; Tue, 28 Sep 2004 15:28:40 +0100 (BST) Received: from ([207.19.198.73]) by mail1.bcbssc.com with ESMTP id KP-TRPV8.2826506; Tue, 28 Sep 2004 10:28:05 -0400 X-Internal-ID: 41576E4800002694 Received: from companiongroup.com (207.19.198.73) by companion1.companiongroup.com (NPlex 2.0.108) for pgsql-admin@postgresql.org; 28 Sep 2004 10:28:09 -0400 Message-ID: Date: Tue, 28 Sep 2004 10:24:00 -0400 From: "CHRIS HOOVER" To: pgsql-admin@postgresql.org Subject: Help determining values for max_fsm_pages, max_fsm_relations X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/266 X-Sequence-Number: 14969 I need some help tuning my free space map. I have about 275 GB of db's spread across 3 DB servers. Unfortunetly, due to design and bandwidth issues, I am not able to vacuum during business hours, and can only vacuum at night. I am trying to get my free space map big enough to hold all of the pages needed so I can do a normal vacuum most nights and not a full. Can someone please help me understand how to see what I should set my max_fsm_pages and max_fsm_relations to. I'm running 7.3.4. Thanks, Chris P.S. Here is a sample output from my largest table: INFO: --Relation public.largest_table-- INFO: Pages 467808: Changed 7982, reaped 16553, Empty 0, New 0; Tup 27257500: Vac 230875, Keep/VTL 0/0, UnUsed 30151, MinLen 107, MaxLen 347; Re-using: Free/Avail. Space 55977512/36230564; EndEmpty/Avail. Pages 0/37071. CPU 9.22s/2.27u sec elapsed 150.27 sec. INFO: Index largest_table_pkey: Pages 140132; Tuples 27257500: Deleted 230875. CPU 5.35s/7.81u sec elapsed 134.08 sec. INFO: Rel largest_table: Pages: 467808 --> 463676; Tuple(s) moved: 113607. CPU 1.54s/6.39u sec elapsed 88.06 sec. INFO: Index largest_table_pkey: Pages 140132; Tuples 27257500: Deleted 113607. CPU 4.10s/2.01u sec elapsed 86.46 sec.