BUG #16183: PREPARED STATEMENT slowed down by jit

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #16183: PREPARED STATEMENT slowed down by jit
Дата
Msg-id 16183-64843a4ebc44d9d2@postgresql.org
обсуждение исходный текст
Ответы Re: BUG #16183: PREPARED STATEMENT slowed down by jit  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16183
Logged by:          Christian Quest
Email address:      github@cquest.org
PostgreSQL version: 12.1
Operating system:   Ubuntu 18.04
Description:

I'm running several OpenStreetMap map rendering servers. They are all based
on PG/postgis.
After an upgrade from v10 to 12, the usual update process took 10x more time
than it used to.

After digging a few days, it appear that the default jit=on is the cause.

The update tool (osm2pgsql) makes heavy use of PREPARED statements. Could
there be a bug in jit+PREPARED causing the statement to be recompiled on
each execute ?

The other side of the issue is described here:
https://github.com/openstreetmap/osm2pgsql/issues/1045


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

Предыдущее
От: Dhanraj Acharya
Дата:
Сообщение: Re: PostgreSQL Installation Error
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #16182: Error in logs from "renaming temporary statistics"