If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > how to improve the performance for enable indexes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-18-07, 08:38
meiwen meiwen is offline
Registered User
 
Join Date: Oct 2005
Posts: 30
how to improve the performance for enable indexes

I need to update a field in a table, there is an index on this field, which is not primary key.
So i decide to deactivate this index, in order to perform faster update.

seems, 2 millions records i can update around half an hour, it is ok, but when i try to enable this index, even i set pdqpriority 100, it still take too long time, any other configuration i should take into account?
Reply With Quote
  #2 (permalink)  
Old 09-20-07, 13:48
ceinma ceinma is offline
Registered User
 
Join Date: Apr 2007
Location: Jundiai / SP - Brasil
Posts: 311
if your version of IDS is 10.uc5 you can alter you table to RAW with index enabled... but caution, your updates will not be write in logical log. Your updates will be execute faster....

"RAW tables do not support referential constraints, unique constraints, and rollback."
read more about RAW tables here: http://publib.boulder.ibm.com/infoce...c/admin330.htm
__________________
________________________________________
César Inacio Martins
Jundiai / SP - Brasil
http://www.imartins.com.br/informix - em Português
http://www.imartins.com.br/informix - English (translated by Google).
________________________________________
Reply With Quote
  #3 (permalink)  
Old 09-27-07, 07:27
meiwen meiwen is offline
Registered User
 
Join Date: Oct 2005
Posts: 30
thank you, unluckily the version is below 10. but it is good to know.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On