Re: \COPY command and indexes in tables

Поиск
Список
Период
Сортировка
От Jayadevan M
Тема Re: \COPY command and indexes in tables
Дата
Msg-id CAFS1N4gBNKFAvqoiZrZ_3r7KRHBGYXKCBJsSoT1eP6oR17+huw@mail.gmail.com
обсуждение исходный текст
Ответ на \COPY command and indexes in tables  (Matthias Apitz <guru@unixarea.de>)
Ответы Re: \COPY command and indexes in tables  (Paul Förster <paul.foerster@gmail.com>)
Список pgsql-general




We load large tables in some customer installation (some millions of rows)
from file with:

    TRUNCATE TABLE tableName ;
    \COPY tableName FROM 'fileName' WITH ( DELIMITER '|' )


May be you could also make sure that loading actually stopped, by checking the size of the data directory. In another session, you could try 
watch du -h  -s <datadirectory>

Regards,
Jayadevan

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

Предыдущее
От: Alastair McKinley
Дата:
Сообщение: Performance degradation with non-null proconfig
Следующее
От: Paul Förster
Дата:
Сообщение: Re: \COPY command and indexes in tables