> > Solaris is unknown to me. Maybe the used random number generator there
> > isn't good enough?
> Hmmm.  Good point.  Will have to test on Linux.


Linux 2.4.20:

test=# select tablename, attname, n_distinct from pg_stats where tablename = 
      tablename       |       attname       | n_distinct
 web_site_activity_fa | session_id          |     626127

test=# select count(distinct session_id) from web_site_activity_fa;
(1 row)

... I think the problem is in our heuristic sampling code.  I'm not the first 
person to have this kind of a problem.  Will be following up with tests ...


Josh Berkus
Aglio Database Solutions
San Francisco

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to