RE: POC: postgres_fdw insert batching

Поиск
Список
Период
Сортировка
От tsunakawa.takay@fujitsu.com
Тема RE: POC: postgres_fdw insert batching
Дата
Msg-id OSBPR01MB298268F1A1BACFCE61740CC3FEE20@OSBPR01MB2982.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответ на RE: POC: postgres_fdw insert batching  ("tsunakawa.takay@fujitsu.com" <tsunakawa.takay@fujitsu.com>)
Ответы Re: POC: postgres_fdw insert batching
Список pgsql-hackers
Hello,


Modified the patch as I talked with Tomas-san.  The performance results of loading one million records into a
hash-partitionedtable with 8 partitions are as follows:
 

    unpatched, local: 8.6 seconds
        unpatched, fdw: 113.7 seconds
    patched, fdw: 12.5 seconds  (9x improvement)

The test scripts are also attached.  Run prepare.sql once to set up tables and source data.  Run local_part.sql and
fdw_part.sqlto load source data into a partitioned table with local partitions and a partitioned table with foreign
tablesrespectively.
 


Regards
Takayuki Tsunakawa


Вложения

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

Предыдущее
От: Li Japin
Дата:
Сообщение: Re: Terminate the idle sessions
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Cache relation sizes?