Search Postgresql Archives

Re: \COPY command and indexes in tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 







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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux