Re: Group-count estimation statistics - Mailing list pgsql-hackers

From Sailesh Krishnamurthy
Subject Re: Group-count estimation statistics
Date
Msg-id mjqwttxnmsu.fsf@drones.CS.Berkeley.EDU
Whole thread Raw
In response to Group-count estimation statistics  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
   Tom> The only real solution, of course, is to acquire cross-column   Tom> statistics, but I don't see that happening
inthe near   Tom> future.
 

Another approach is a hybrid hashing scheme where we use a hash table
until we run out of memory at which time we start spilling to disk. In
other words, no longer use SortAgg at all ..

Under what circumstances will a SortAgg consumer more IOs than a
hybrid hash strategy ?

-- 
Pip-pip
Sailesh
http://www.cs.berkeley.edu/~sailesh




pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: -HEAD on FreeBSD 6-CURRENT build failures
Next
From: Tom Lane
Date:
Subject: Re: [pgsql-hackers] Allow GRANT/REVOKE permissions to be applied to all schema