Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old May 25th, 2008, 11:33 AM
Member
 
Join Date: Mar 2007
Posts: 106
Default primary key problem on delete

hi,
when i update/delete a table with a field which is serial and is a primary key, it takes long time with compare to the field which is just a unique key.
we have almost 500000 data.

but i have to delete it with the primary key any how
can u give suggestion?

thanx in advance
Reply
  #2  
Old May 25th, 2008, 12:18 PM
Moderator
 
Join Date: Dec 2006
Posts: 250
Default

Quote:
Originally Posted by coolminded
hi,
when i update/delete a table with a field which is serial and is a primary key, it takes long time with compare to the field which is just a unique key.
we have almost 500000 data.

but i have to delete it with the primary key any how
can u give suggestion?

thanx in advance
What execution plan does optimizer generate. What does explain command show?
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles