From: parul <i.parultyagi@gmail.com>
To: pgsql-performance@postgresql.org
Subject: reltuples value less than rows in the table.
Date: Wed, 24 Aug 2011 03:04:36 -0700 (PDT)
Message-ID: <1314180276903-4729917.post@n5.nabble.com> (raw)
I have a index in a table. The value of the reltuples value in the pg_class
table for this index is less than the number of rows in the table where the
index is present.
For eg. if i have 800 rows in the table , the reltuples in the pg_class for
the index show the value as 769.
What are the scenarios under which this kind of behaviour occurs?
Also iam not able to execute the queries involving the indexed column in the
where clause.
Please suggest the probable cause for this.
Also if i do a reindex on the table, the reltuple values updates to the
current no. of rows ie. 800.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/reltuples-value-less-than-rows-in-the-table-tp4729917p472991...
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: i.parultyagi@gmail.com
Subject: Re: reltuples value less than rows in the table.
In-Reply-To: <1314180276903-4729917.post@n5.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox