| От | Joshua D. Drake |
|---|---|
| Тема | Re: Foreign key slows down copy/insert |
| Дата | |
| Msg-id | Pine.LNX.4.62.0504181917110.12937@hosting.commandprompt.com обсуждение |
| Ответ на | Foreign key slows down copy/insert (Richard van den Berg <richard.vandenberg@trust-factory.com>) |
| Список | pgsql-performance |
> Since the database I am working on has many FKs, I would rather not have to > drop/add them when I am loading large data sets. You may want to hunt the archives. IIRCC I saw a couple of posts in the recent months about an update you can do to one of the system tables to disable the key checks and then re-enable them after your done with the import. Sincerely, Joshua D. Drake > -- Command Prompt, Inc., Your PostgreSQL solutions company. 503-667-4564 Custom programming, 24x7 support, managed services, and hosting Open Source Authors: plPHP, pgManage, Co-Authors: plPerlNG Reliable replication, Mammoth Replicator - http://www.commandprompt.com/
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера