Re: Strange scenary. - Mailing list pgsql-admin

From Stephan Szabo
Subject Re: Strange scenary.
Date
Msg-id 20040708093450.B95902@megazone.bigpanda.com
Whole thread Raw
In response to Strange scenary.  (Guido Barosio <gbarosio@sinectis.com.ar>)
List pgsql-admin
On Sat, 3 Jul 2004, Guido Barosio wrote:

> Hi,
>
>     This is the problem. I create a database from cero. I create a empty table, name students. I ask for an EXPLAIN
> on this new table, and the output of the query analyzer tells me that this table is filled with 1000 rows.
>
>     So...why is that?

That's the default value set for the estimated number of rows; that row
count is the estimated rows based on the statistics not the actual
number of rows returned (see EXPLAIN ANALYZE's second set of numbers
for each step for that information) and you haven't run analyze to give it
more accurate statistics.

pgsql-admin by date:

Previous
From: Devrim GUNDUZ
Date:
Subject: Re: Connect to postgres from a script using password
Next
From: "Scott Marlowe"
Date:
Subject: Re: