Cancelling Blocking Autovacuums (patch) - Mailing list pgsql-patches

From Simon Riggs
Subject Cancelling Blocking Autovacuums (patch)
Date
Msg-id 1192129897.4233.433.camel@ebony.site
Whole thread Raw
List pgsql-patches
Patch, with matching discussion thread on hackers.

Test script included, not suggested for inclusion in regression tests.

2007-10-11 19:35:27 BST 2209LOG:  autovacuum launcher started
2007-10-11 19:36:42 BST 2213LOG:  automatic analyze of table
"postgres.pg_catalog.pg_attribute" system usage: CPU 0.00s/0.01u sec
elapsed 4.28 sec
2007-10-11 19:36:43 BST 2213LOG:  automatic analyze of table
"postgres.pg_catalog.pg_class" system usage: CPU 0.00s/0.00u sec elapsed
0.95 sec
2007-10-11 19:36:45 BST 2213LOG:  cancelling autoanalyze of table
"postgres.public.a"
2007-10-11 19:41:38 BST 2214LOG:  automatic analyze of table
"postgres.public.a" system usage: CPU 0.00s/0.00u sec elapsed 233.62 sec

Test output shows that ANALYZE is cancelled, with no ill effects and
runs again a few minutes later after all the DDL has completed.

--
  Simon Riggs
  2ndQuadrant  http://www.2ndQuadrant.com

Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: txid cleanup
Next
From: Tom Lane
Date:
Subject: Re: txid cleanup