[PERFORM] pg_statistic doesnt contain details for specific table

2007-06-11 Thread Nimesh Satam
Hi, While monitioring we noticed that there are no details in the pg_statistics for a particular table. Can you let us know what might be the reason? Also what steps can be taken care for adding the statistics? Note: The queries which are running on this table are taken longer time then al the

Re: [PERFORM] pg_statistic doesnt contain details for specific table

2007-06-11 Thread Heikki Linnakangas
Nimesh Satam wrote: While monitioring we noticed that there are no details in the pg_statistics for a particular table. Can you let us know what might be the reason? Also what steps can be taken care for adding the statistics? Have you ANALYZEd the table? -- Heikki Linnakangas

Re: [PERFORM] pg_statistic doesnt contain details for specific table

2007-06-11 Thread Nimesh Satam
Heikki, Thank you for replying. We have already used analyze command on the table. We have also ran the vacuum analyze command. But they are not helping. Thanks, Nimesh. On 6/11/07, Heikki Linnakangas [EMAIL PROTECTED] wrote: Nimesh Satam wrote: While monitioring we noticed that there

Re: [PERFORM] pg_statistic doesnt contain details for specific table

2007-06-11 Thread Michael Fuhr
On Mon, Jun 11, 2007 at 02:28:32PM +0530, Nimesh Satam wrote: We have already used analyze command on the table. We have also ran the vacuum analyze command. But they are not helping. Is there any data in the table? What does ANALYZE VERBOSE or VACUUM ANALYZE VERBOSE show for this table?

Re: [PERFORM] pg_statistic doesnt contain details for specific table

2007-06-11 Thread Nimesh Satam
Michael, Following is the output of Vacuum analze on the same table: *psql =# VACUUM ANALYZE verbose cam_attr; INFO: vacuuming public.cam_attr INFO: index cam_attr_pk now contains 11829 row versions in 63 pages DETAIL: 0 index pages have been deleted, 0 are currently reusable. CPU

Re: [PERFORM] pg_statistic doesnt contain details for specific table

2007-06-11 Thread Michael Fuhr
On Mon, Jun 11, 2007 at 07:22:24PM +0530, Nimesh Satam wrote: INFO: analyzing public.cam_attr INFO: cam_attr: scanned 103 of 103 pages, containing 11829 live rows and 0 dead rows; 6000 rows in sample, 11829 estimated total rows Looks reasonable. Also how do we check if the statistics are