Re: PostgreSQL port to pure Java?

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: PostgreSQL port to pure Java?
Дата
Msg-id 87oeuhrjy0.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на Re: PostgreSQL port to pure Java?  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: PostgreSQL port to pure Java?  ("D'Arcy J.M. Cain" <darcy@druid.net>)
Re: PostgreSQL port to pure Java?  (Andrew Dunstan <andrew@dunslane.net>)
Re: PostgreSQL port to pure Java?  (Sailesh Krishnamurthy <sailesh@cs.berkeley.edu>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Frank Wiles wrote:
>> Not to mention it would kill PostgreSQL's current speedy
>> performance!

> Maybe, maybe not. Modern JVMs have much better performance
> characteristics than was once the case. Also, some of the things
> that Java buys you (memory management, threading, for example) might
> actually enhance performance in some circumstances.

I'm pretty skeptical that Java's GC could get better performance than
palloc. As for threading, ISTM Java doesn't offer anything we couldn't
get through POSIX threads if we were going to contemplate a full-scale
rewrite anyway (which I think everyone agrees that we aren't).

> As a Java programmer, I do agree that having a pure Java RDBMS
> system would be a Good Thing (tm)

Are there any advantages that this would provide that we could get
without investing so much effort? For example, PL/Java seems like a
reasonable approach to Java & PG integration that doesn't involve
rewriting hundreds of thousands of lines of code.

-Neil

P.S. While we're contemplating pies-in-the-sky, I'd personally love to
rewrite PostgreSQL in Objective Caml.



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

Предыдущее
От: Elliot Lee
Дата:
Сообщение: Re: Something's not (de)compressing right
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Proposed Query Planner TODO items