Performance tuning using copy - Mailing list pgsql-general

From sid tow
Subject Performance tuning using copy
Date
Msg-id 20050208131556.99467.qmail@web42108.mail.yahoo.com
Whole thread Raw
Responses Re: Performance tuning using copy
List 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 by date:

Previous
From: Venkatesh Babu
Date:
Subject: Re: Update command too slow
Next
From: Larry Rosenman
Date:
Subject: Re: Creating an index-type for LIKE '%value%'