Re: [Bizgres-general] Re: faster INSERT with possible

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: [Bizgres-general] Re: faster INSERT with possible
Дата
Msg-id 200507270929.10251.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: [Bizgres-general] Re: faster INSERT with possible  ("Luke Lonergan" <llonergan@greenplum.com>)
Ответы Re: [Bizgres-general] Re: faster INSERT with possible  (Kris Jurka <books@ejurka.com>)
Re: [Bizgres-general] Re: faster INSERT with possible  (Simon Riggs <simon@2ndquadrant.com>)
Re: [Bizgres-general] Re: faster INSERT with possible  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Luke,

> Well - now that I test it, it appears you are correct, temp table COPY
> bypasses WAL - thanks for pointing it out!

RIght.  The problem is bypassing WAL for loading new "scratch" tables which
aren't TEMPORARY tables.   We need to do this for multi-threaded ETL, since:
a) Temp tables can't be shared by several writers, and
b) you can't index a temp table.

--
Josh Berkus
Aglio Database Solutions
San Francisco

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

Предыдущее
От: "Tomeh, Husam"
Дата:
Сообщение: Re: "Vacuum Full Analyze" taking so long
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: [Bizgres-general] Re: faster INSERT with possible