From: | Christopher Browne <cbbrowne(at)acm(dot)org> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: APR 1.0 released |
Date: | 2004-09-04 22:44:32 |
Message-ID: | m3hdqd4ptb.fsf@wolfe.cbbrowne.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Centuries ago, Nostradamus foresaw when scrappy(at)postgresql(dot)org ("Marc G. Fournier") would write:
> On Sat, 4 Sep 2004, Gaetano Mendola wrote:
>> Hi all,
>> now that Apache Portable Runtime was release why don't
>> use it on Postgres?
>
> Short question: why? what does it give us, other then potential
> reliance on another project to build ... ?
It would allow reopening all the threads about why PostgreSQL doesn't
use threading...
That being said, there are places where there would be merit to using
threading in PostgreSQL, though NOT where the usual futile discussions
ask for it. Notably, on an SMP system, it would be a neat idea for
complex queries involving joins to split themselves so that different
parts run in separate threads.
The other Way, Way Cool part would be for queries that are scanning
big tables to split the scans into unions of partial scans, so that on
an 8 CPU box you'd take the "Big 4GB Table" and have 8 threads
simultaneously scanning different parts of it. (And making ARC all
the more important :-).)
But that would, however it happened, involve BIG, SCARY changes...
... And since APR isn't BSD licensed, that would probably cause a
problem.
--
(format nil "~S(at)~S" "cbbrowne" "acm.org")
http://www3.sympatico.ca/cbbrowne/wp.html
Of course, unless one has a theory, one cannot expect much help from a
computer unless _it_ has a theory)... -- Marvin Minsky
From | Date | Subject | |
---|---|---|---|
Next Message | Gaetano Mendola | 2004-09-04 22:50:12 | Re: APR 1.0 released |
Previous Message | Dave Page | 2004-09-04 22:26:01 | Re: Thesis on PostgreSQL |