From: | sid tow <siddy_tow(at)yahoo(dot)com> |
---|---|
To: | psql mailing list <pgsql-general(at)postgresql(dot)org> |
Subject: | Performance tuning using copy |
Date: | 2005-02-08 13:15:55 |
Message-ID: | 20050208131556.99467.qmail@web42108.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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'
From | Date | Subject | |
---|---|---|---|
Next Message | Larry Rosenman | 2005-02-08 13:27:49 | Re: Creating an index-type for LIKE '%value%' |
Previous Message | Venkatesh Babu | 2005-02-08 13:09:02 | Re: Update command too slow |