Re: COPY threads

Поиск
Список
Период
Сортировка
От Ravi Krishna
Тема Re: COPY threads
Дата
Msg-id EA5CB1E5-9FA5-43FA-BA5B-C330AC6851A3@aol.com
обсуждение исходный текст
Ответ на Re: COPY threads  (Ravi Krishna <srkrishna1@aol.com>)
Список pgsql-general
>
> 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 ?
>
>

Strike that.  The lock wait is bogus.  The data did get loaded concurrently.

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

Предыдущее
От: Ravi Krishna
Дата:
Сообщение: Re: COPY threads
Следующее
От: legrand legrand
Дата:
Сообщение: no queryId in post_parse_analyze hook when row is locked