Re: Most effective and fast way to load few Tbyte of data from flat files into postgresql
Вложения
В списке pgsql-general по дате отправления:
| От | Peter J. Holzer |
|---|---|
| Тема | Re: Most effective and fast way to load few Tbyte of data from flat files into postgresql |
| Дата | |
| Msg-id | 20200825112400.GA19594@hjp.at обсуждение исходный текст |
| Ответ на | Most effective and fast way to load few Tbyte of data from flat files into postgresql (Dirk Krautschick <Dirk.Krautschick@trivadis.com>) |
| Ответы |
Re: [E] Re: Most effective and fast way to load few Tbyte of data from flat files into postgresql
Re: Most effective and fast way to load few Tbyte of data from flat files into postgresql |
| Список | pgsql-general |
On 2020-08-24 21:17:36 +0000, Dirk Krautschick wrote:
> what would be the fastest or most effective way to load few (5-10) TB
> of data from flat files into a postgresql database, including some 1TB
> tables and blobs?
>
> There is the copy command but there is no way for native parallelism,
> right? I have found pg_bulkload but haven't tested it yet. As far I
> can see EDB has its EDB*Loader as a commercial option.
A single COPY isn't parallel, but you can run several of them in
parallel (that's what pg_restore -j N does). So the total time may be
dominated by your largest table (or I/O bandwidth).
hp
--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp@hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера