Re: Building a database from a flat file

Поиск
Список
Период
Сортировка
От Casey T. Deccio
Тема Re: Building a database from a flat file
Дата
Msg-id 1109874557.12428.90.camel@boomerang.ran.sandia.gov
обсуждение исходный текст
Ответ на Re: Building a database from a flat file  (Sean Davis <sdavis2@mail.nih.gov>)
Ответы Re: Building a database from a flat file  (Markus Schaber <schabi@logix-tt.com>)
Список pgsql-sql
On Thu, 2005-03-03 at 06:23 -0700, Sean Davis wrote:
> Why not rebuild the entire thing in a separate "build" schema then do
> only the stuff like copying tables inside the transaction block:
> 

Building everything in the separate "build" schema works great, but it
is the DELETE (TRUNCATE won't work when foreign keys point to the table)
that took the most time in the transaction.  However, renaming the
schemas, as suggested in other posts, worked great.

Casey



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

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: Postgres performance
Следующее
От: "Casey T. Deccio"
Дата:
Сообщение: Re: Building a database from a flat file