Re: pljava revisited

Поиск
Список
Период
Сортировка
От Thomas Hallgren
Тема Re: pljava revisited
Дата
Msg-id br803u$17dd$1@news.hub.org
обсуждение исходный текст
Ответ на pljava revisited  ("Thomas Hallgren" <thhal@mailblocks.com>)
Список pgsql-hackers
Two comments.
Context switches are of course much cheaper then loading a JVM. No argument
there. The point is that the JVM is loaded once for each connection (when
the connection makes the first call to a java function). Millions of calls
may follow that reuses the same JVM. Each of those calls will suffer from
context switches if the JVM is remote. A 1 to a million (or more) ratio is
in fact very likey when function calls are used in predicates and/or
projections of selects on larger tables.

Regarding C++, as I said, no big deal. I'll change it for the reasons
mentioned before I release my first cut.

Thanks,

- thomas




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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: ERROR: Index pg_toast_8443892_index is not a btree
Следующее
От: Tom Lane
Дата:
Сообщение: Canonicalization of WHERE clauses considered harmful