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 Interfaces Pgadmin Support > Re: Count not u...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 1986 of 2083
Post > Topic >>

Re: Count not updated with VACUUM ANALYZE

by guillaume@[EMAIL PROTECTED] (Guillaume Lelarge) Mar 27, 2008 at 01:03 AM

Melvin Davidson a écrit :
> *PgAdmin III 1.8.2***
> 
>  
> 
> I have statistics enabled on my server. However, when I do a VACUUM 
> ANALYZE on my database, the count [ Rows (counted) ] is set to “not 
> counted”.
> 
>  
> 
> Now I can right click on the individual tables and select “Count” to 
> manually update it, but shouldn’t the VACUUM have done that?
> 

Nope. ANALYZE collects some statistics (for example an estimated number 
of rows on each table... this number is available in pgAdmin under the 
exact number of rows).

The Count item of the contextual menu does a count(*) on the table. So, 
it gives you the exact number of rows.

> Also, is there an do***ented (or undo***ented) function I can run to 
> manually update the counts.
> 

No. You really need to select the menu item "Count" to have the exact 
number of rows.


-- 
Guillaume.
  http://www.postgresqlfr.org
  http://dalibo.com

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




 3 Posts in Topic:
Re: Count not updated with VACUUM ANALYZE
guillaume@[EMAIL PROTECTE  2008-03-27 01:03:54 
Re: Count not updated with VACUUM ANALYZE
Stephen.Denne@[EMAIL PROT  2008-03-27 13:16:03 
Re: Count not updated with VACUUM ANALYZE
guillaume@[EMAIL PROTECTE  2008-03-27 01:21:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan13V112 Thu Jul 24 12:36:19 CDT 2008.