Re: SourceForge & Postgres

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: SourceForge & Postgres
Date: 2000-12-12 04:19:29
Message-ID: 14918.976594769@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

mlw <markw(at)mohawksoft(dot)com> writes:
> cdinfo=# explain select * from ztitles where artistid = 0 ;
> NOTICE: QUERY PLAN:

> Index Scan using ztitles_artistid_ndx on ztitles (cost=0.00..5915.01
> rows=3163 width=296)

> When postmaster is started without "-o -fs" I get this:

> cdinfo=# explain select * from ztitles where artistid = 0 ;
> NOTICE: QUERY PLAN:

> Seq Scan on ztitles (cost=0.00..4740.75 rows=3163 width=296)

How many tuples are in the table? How many are actually returned
by this query? Also, what do you get from

select attname,attdisbursion,s.*
from pg_statistic s, pg_attribute a, pg_class c
where starelid = c.oid and attrelid = c.oid and staattnum = attnum
and relname = 'ztitles';

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2000-12-12 04:20:00 Re: SourceForge & Postgres
Previous Message Bruce Momjian 2000-12-12 04:19:09 Re: (one more time) Patches with vacuum fixes available .