Performance tuning using copy

Поиск
Список
Период
Сортировка
От sid tow
Тема Performance tuning using copy
Дата
Msg-id 20050208131556.99467.qmail@web42108.mail.yahoo.com
обсуждение исходный текст
Ответы Re: Performance tuning using copy  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Hi,
 
     I have to know why does copy commands work faster as compared to the insert commands. The thing is that i have a lot of constraints and triggers. I know insert will check all the triggers and constraints, but i wonder if copy will also do it and then if it does then this has also to be slow. But copy loads the database very fast. Can u tell me why.
 
     I also have a concern about the performace tuninig while updating the database. Can some one suggest me to tune in more than the use of copy command. I have tried to even disable the triggers and constraints but what I get is only minimal gain. Is there any other mechanism by which we can do faster updations.
 
Regards,
Sid


Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'

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

Предыдущее
От: Venkatesh Babu
Дата:
Сообщение: Re: Update command too slow
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: Creating an index-type for LIKE '%value%'