Re: COPY threads

Поиск
Список
Период
Сортировка
От Ravi Krishna
Тема Re: COPY threads
Дата
Msg-id A5CE72CF-4A43-46C6-8A92-DAFB17903182@aol.com
обсуждение исходный текст
Ответ на Re: COPY threads  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Ответы Re: COPY threads  (Ravi Krishna <srkrishna1@aol.com>)
Список pgsql-general
>>>
>> Thank you.  Let me test it and see the benefit. We have a use case for this.
>

Well the result is not what I expected.

this is the sql I used

copy TEST.TABLE1 from '/var/lib/postgresql/data/rkrishna/copytesting/xaa' with delimiter '|' NULL as '' CSV HEADER;

From another session

copy TEST.TABLE1 from '/var/lib/postgresql/data/rkrishna/copytesting/xab' with delimiter '|' NULL as '' CSV HEADER;

Each had 16M rows.

I see that one copy is blocking other.

The table has no indexes while loading.

Aren't they suppose to run  concurrently without locking ?



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: something weird happened - can select by column value although column value exist
Следующее
От: Ravi Krishna
Дата:
Сообщение: Re: COPY threads