Re: Will PostgreSQL get ported to CUDA?

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Will PostgreSQL get ported to CUDA?
Дата
Msg-id 20080131133615.GB21660@svana.org
обсуждение исходный текст
Ответ на Re: Will PostgreSQL get ported to CUDA?  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
On Wed, Jan 30, 2008 at 08:27:47PM +0000, Gregory Stark wrote:
> "Christopher Browne" <cbbrowne@gmail.com> writes:
> > This was based on GPUSort:
> > http://gamma.cs.unc.edu/GPUSORT/
>
> I looked briefly at GPUSort a while back. I couldn't see how to shoehorn into
> POstgres the assumption that you're always sorting floating point numbers. You
> would have to add some property of some data types that mapped every value to
> a floating point value. I suppose we could add that as a btree proc entry for
> specific data types but it would be a pretty radical change.

Not new though. The idea has been floated to create such functions
(only mapping to integers) and have the postgres sort code first
compare the integers and only if they're equal to run the actual
comparison function. The idea being to avoid function call overhead.

It would mostly be a win for comparing strings since you then don't
need to lookup the collation tables as often.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Those who make peaceful revolution impossible will make violent revolution inevitable.
>  -- John F Kennedy

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [PATCHES] Better default_statistics_target
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Proposed patch: synchronized_scanning GUC variable