Re: Best practices for Large import in empty database? - Mailing list pgsql-general

From Tom Lane
Subject Re: Best practices for Large import in empty database?
Date
Msg-id 9859.1412174267@sss.pgh.pa.us
Whole thread Raw
In response to Best practices for Large import in empty database?  (Daniel Begin <jfd553@hotmail.com>)
Responses Re: Best practices for Large import in empty database?
List pgsql-general
Daniel Begin <jfd553@hotmail.com> writes:
> I am about to feed an empty database with a large import of data (the size
> of csv files is about 500 GB). Tables are created but I haven't added any
> constraints or indexes yet. I wonder whether the best practice is to add
> them before or after the import. Are there other good practices that would
> ease the import process?

http://www.postgresql.org/docs/9.3/static/populate.html

            regards, tom lane


pgsql-general by date:

Previous
From: Daniel Begin
Date:
Subject: Best practices for Large import in empty database?
Next
From: Andy Colson
Date:
Subject: Re: Best practices for Large import in empty database?