Re: Best practices for Large import in empty database?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Daniel Begin <jfd553(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Best practices for Large import in empty database?
Date: 2014-10-01 14:37:47
Message-ID: 9859.1412174267@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Daniel Begin <jfd553(at)hotmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andy Colson 2014-10-01 14:41:14 Re: Best practices for Large import in empty database?
Previous Message Daniel Begin 2014-10-01 14:13:22 Best practices for Large import in empty database?