Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 15DE5638228 for ; Tue, 20 Jul 2010 16:10:49 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 70025-04 for ; Tue, 20 Jul 2010 19:10:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 0186E63821F for ; Tue, 20 Jul 2010 16:10:41 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 6AB98348036; Tue, 20 Jul 2010 12:10:40 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zn7LkDl1bOvI; Tue, 20 Jul 2010 12:10:37 -0700 (PDT) Received: from alvh.no-ip.org (200-42-166-153.static.tie.cl [200.42.166.153]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 429B6348034; Tue, 20 Jul 2010 12:10:37 -0700 (PDT) Received: by alvh.no-ip.org (Postfix, from userid 1000) id 7E17143820A; Tue, 20 Jul 2010 15:10:34 -0400 (CLT) Content-Type: text/plain; charset=utf8 Cc: PostgreSQL - mailing list Subject: Re: Autovacuum on defined interval From: Alvaro Herrera To: =?utf-8?q?F=C3=A1bio_Gibon_-_Comex_System?= In-reply-to: <001001cb2827$85bdb8b0$6500a8c0@gibon> References: <001001cb2827$85bdb8b0$6500a8c0@gibon> Date: Tue, 20 Jul 2010 15:10:34 -0400 Message-Id: <1279652976-sup-9283@alvh.no-ip.org> User-Agent: Sup/0.11 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.8 tagged_above=-10 required=5 tests=BAYES_50=0.8 X-Spam-Level: X-Archive-Number: 201007/149 X-Sequence-Number: 35168 Excerpts from Fábio Gibon - Comex System's message of mar jul 20 12:20:36 -0400 2010: > Hi everybody, > are there how define autovacuum to ON and define the period time (for example, 00h - 06h) that it's can run? You could have a script that toggles the value in postgresql.conf and do a Postgres reload, and run that script in cron.