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 > Informix index usage

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-27-04, 02:40
lavenderp lavenderp is offline
Registered User
 
Join Date: Aug 2004
Posts: 8
Informix index usage

Hi,

I would like to know which index has been usage and which one never been used.

Is anybody know how to do this??

Thanks!!
Reply With Quote
  #2 (permalink)  
Old 08-27-04, 12:14
artemka artemka is offline
Registered User
 
Join Date: May 2004
Location: New York
Posts: 248
take a look at

set explain on

the command will generate a file witch will tell you everything
about your query

Cheers

Artem

Last edited by artemka; 08-27-04 at 16:29.
Reply With Quote
  #3 (permalink)  
Old 08-30-04, 01:26
lavenderp lavenderp is offline
Registered User
 
Join Date: Aug 2004
Posts: 8
Thanks Artem,
But, is there any quickly manner more than "set explain on" to verify index?
And the unused index would be impact the performance ???

Thanks!!
Reply With Quote
  #4 (permalink)  
Old 08-30-04, 04:48
matute matute is offline
Registered User
 
Join Date: Jun 2004
Location: Madrid, Spain
Posts: 47
Hi,

If the index is detached from the table you can check the output from onstat -g ppf. Then you'll match the 'partnum' field with the contents from sysfragments for each database.

I also think that the output from sysptnhdr/sysptprof in sysmaster will help. Take a try...

And the answer to your second question is yes: an index is a performance problem for inserts/deletes/updates...

Hope it helps.
__________________
José Luis Matute.

Regards from Spain.
Reply With Quote
  #5 (permalink)  
Old 09-01-04, 04:03
lavenderp lavenderp is offline
Registered User
 
Join Date: Aug 2004
Posts: 8
Talking

I'll try it,
Thanks a lot !!
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