pg_autovacuum UPDATE_INTERVAL cmd arg

Started by Thomas F.O'Connellover 21 years ago5 messagespatches
Jump to latest
#1Thomas F.O'Connell
tfo@sitening.com

The following patch should allow UPDATE_INTERVAL to be specified on the
command line. We find this useful because we frequently deal with
thousands of tables in an environment where neither the databases nor
the tables are updated frequently. This helps allow us to cut down on
the overhead of updating the list for every other primary loop of
pg_autovacuum.

I chose -i as the command-line argument and documented it briefly in
the README.

The patch was applied to the 7.4.7 version of pg_autovacuum in contrib.

-tfo

--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005

Attachments:

pg_autovacuum.txttext/plain; name=pg_autovacuum.txt; x-unix-mode=0644Download+18-6
#2Bruce Momjian
bruce@momjian.us
In reply to: Thomas F.O'Connell (#1)
Re: pg_autovacuum UPDATE_INTERVAL cmd arg

Patch applied. Thanks.

I had to adjust the patch, so I attached it.

---------------------------------------------------------------------------

Thomas F.O'Connell wrote:

The following patch should allow UPDATE_INTERVAL to be specified on the
command line. We find this useful because we frequently deal with
thousands of tables in an environment where neither the databases nor
the tables are updated frequently. This helps allow us to cut down on
the overhead of updating the list for every other primary loop of
pg_autovacuum.

I chose -i as the command-line argument and documented it briefly in
the README.

The patch was applied to the 7.4.7 version of pg_autovacuum in contrib.

-tfo

--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Attachments:

/bjm/difftext/plainDownload+20-8
#3Bruce Momjian
bruce@momjian.us
In reply to: Thomas F.O'Connell (#1)
Re: pg_autovacuum UPDATE_INTERVAL cmd arg

Also, since this is an additional feature, I assume it isn't for 8.0.X.

---------------------------------------------------------------------------

Thomas F.O'Connell wrote:

The following patch should allow UPDATE_INTERVAL to be specified on the
command line. We find this useful because we frequently deal with
thousands of tables in an environment where neither the databases nor
the tables are updated frequently. This helps allow us to cut down on
the overhead of updating the list for every other primary loop of
pg_autovacuum.

I chose -i as the command-line argument and documented it briefly in
the README.

The patch was applied to the 7.4.7 version of pg_autovacuum in contrib.

-tfo

--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
#4Thomas F.O'Connell
tfo@sitening.com
In reply to: Bruce Momjian (#3)
Re: pg_autovacuum UPDATE_INTERVAL cmd arg

Well, then it'll probably be moot for 8.1 if all goes well and autovac
gets integrated.

-tfo

--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC

Strategic Open Source: Open Your i™

http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005

On Apr 18, 2005, at 10:36 PM, Bruce Momjian wrote:

Show quoted text

Also, since this is an additional feature, I assume it isn't for 8.0.X.

#5Bruce Momjian
bruce@momjian.us
In reply to: Thomas F.O'Connell (#4)
Re: pg_autovacuum UPDATE_INTERVAL cmd arg

Thomas F.O'Connell wrote:

Well, then it'll probably be moot for 8.1 if all goes well and autovac
gets integrated.

Right, and I am pledged to work to get it into 8.1.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073