Re: Copy entire schema A to a different schema B

Поиск
Список
Период
Сортировка
От Ron
Тема Re: Copy entire schema A to a different schema B
Дата
Msg-id cccd8960-491e-543f-f4b0-505f97b02be3@gmail.com
обсуждение исходный текст
Ответ на Re: Copy entire schema A to a different schema B  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
On 2/20/19 6:16 PM, Adrian Klaver wrote:
> On 2/20/19 2:22 PM, Tiffany Thang wrote:
>> Hi Adrian,
>> I managed to backup my table in parallel using -Fd but I'm back to my 
>> original issue where I could not restore the table to a different schema.
>>
>> For example,
>> I would like to backup testuser1.mytable and restore it to 
>> testuser2.mytable.
>>
>> pg_dump -U testuser1 -Fd -f c:\temp\testuser1 -j 8 -t mytable -h myserver 
>> testdb
>
> Is table mytable big enough to actually need 8 parallel jobs?
>

A single table will only use a single thread, no matter how big it is, no?  
(That is my experience with v9.6, at least.)

-- 
Angular momentum makes the world go 'round.


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Plpythonu extension
Следующее
От: Mike Yeap
Дата:
Сообщение: Re: LDAP authenticated session terminated by signal 11: Segmentationfault, PostgresSQL server terminates other active server processes