Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Admin > Re: 8.1.8 autov...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 11 of 19 Topic 4951 of 5419
Post > Topic >>

Re: 8.1.8 autovacuum missing databases

by tgl@[EMAIL PROTECTED] (Tom Lane) Apr 30, 2008 at 04:43 PM

Ian Westmacott <ianw@[EMAIL PROTECTED]
> writes:
> itvtrackdata=> select ctid,xmin,* from pg_database;
>  ctid  |   xmin   |     datname      | datdba | encoding | datistemplate
| datallowconn | datconnlimit | datlastsysoid | datvacuumxid | datfrozenxid
| dattablespace | datconfig |         datacl
>
-------+----------+------------------+--------+----------+---------------+--------------+--------------+---------------+--------------+--------------+---------------+-----------+------------------------
>  (0,1) |      564 | postgres         |     10 |        6 | f            
| t            |           -1 |         10792 |          499 |          499
|          1663 |           |
>  (0,2) |      577 | itvtrackdata     |  16384 |        6 | f            
| t            |           -1 |         10792 |          499 |          499
|          1663 |           |
>  (0,3) |      605 | itvtrackdatauser |  16384 |        6 | f            
| t            |           -1 |         10792 |          499 |          499
|          1663 |           |
>  (0,5) | 18350176 | itvtrackdatapos  |  16384 |        6 | f            
| t            |           -1 |         10792 |          499 |          499
|          1663 |           |
>  (0,6) |      557 | template1        |     10 |        6 | t            
| t            |           -1 |         10792 |          499 |          499
|          1663 |           | {postgres=CT/postgres}
>  (0,7) |      558 | template0        |     10 |        6 | t            
| f            |           -1 |         10792 |          499 |          499
|          1663 |           | {postgres=CT/postgres}
> (6 rows)

499 is the value that those columns would have immediately after initdb,
in an 8.1 database.  So what this says is that vacuum has never
succeeded in updating the values at all, in any of your databases.
It definitely *should* be doing that given the size of the age() values
you're re****ting.  Moreover, after a look through the 8.1.8 source code
I cannot see how it would not update the values without throwing an
ERROR or at least a WARNING into the postmaster log.  (What have you got
log_min_messages set to, anyway?  Maybe the complaint is getting
suppressed?)

			regards, tom lane

-- 
Sent via pgsql-admin mailing list (pgsql-admin@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
 




 19 Posts in Topic:
8.1.8 autovacuum missing databases
ianw@[EMAIL PROTECTED] (  2008-04-29 16:02:53 
Re: 8.1.8 autovacuum missing databases
alvherre@[EMAIL PROTECTED  2008-04-29 16:33:35 
Re: 8.1.8 autovacuum missing databases
ianw@[EMAIL PROTECTED] (  2008-04-29 17:05:03 
Re: 8.1.8 autovacuum missing databases
alvherre@[EMAIL PROTECTED  2008-04-29 17:12:44 
Re: 8.1.8 autovacuum missing databases
ianw@[EMAIL PROTECTED] (  2008-04-30 09:02:26 
Re: 8.1.8 autovacuum missing databases
alvherre@[EMAIL PROTECTED  2008-04-30 12:19:42 
Re: 8.1.8 autovacuum missing databases
tgl@[EMAIL PROTECTED] (T  2008-04-30 12:27:49 
Re: 8.1.8 autovacuum missing databases
ianw@[EMAIL PROTECTED] (  2008-04-30 13:01:48 
Re: 8.1.8 autovacuum missing databases
tgl@[EMAIL PROTECTED] (T  2008-04-30 13:07:13 
Re: 8.1.8 autovacuum missing databases
ianw@[EMAIL PROTECTED] (  2008-04-30 13:28:08 
Re: 8.1.8 autovacuum missing databases
tgl@[EMAIL PROTECTED] (T  2008-04-30 16:43:57 
Re: 8.1.8 autovacuum missing databases
ianw@[EMAIL PROTECTED] (  2008-05-01 09:01:22 
Re: 8.1.8 autovacuum missing databases
tgl@[EMAIL PROTECTED] (T  2008-05-01 09:57:28 
Re: 8.1.8 autovacuum missing databases
tgl@[EMAIL PROTECTED] (T  2008-05-02 12:40:58 
Re: 8.1.8 autovacuum missing databases
tgl@[EMAIL PROTECTED] (T  2008-05-02 12:45:07 
Re: 8.1.8 autovacuum missing databases
ajs@[EMAIL PROTECTED] (A  2008-05-02 15:52:11 
Re: 8.1.8 autovacuum missing databases
tgl@[EMAIL PROTECTED] (T  2008-05-02 16:18:17 
Re: 8.1.8 autovacuum missing databases
ajs@[EMAIL PROTECTED] (A  2008-05-02 16:41:52 
Re: 8.1.8 autovacuum missing databases
ianw@[EMAIL PROTECTED] (  2008-05-01 13:58:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 10:39:07 CDT 2008.