dbTalk Databases Forums  

B-tree cleaners

comp.databases.informix comp.databases.informix


Discuss B-tree cleaners in the comp.databases.informix forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Oxow
 
Posts: n/a

Default B-tree cleaners - 08-25-2003 , 05:18 AM






Hi,

Does someone know a mean which permit me to associate an or several
index to a specific b-tree cleaner ?

Thanks a lot in advance for your answers.

Best Regards
Fred

Reply With Quote
  #2  
Old   
Oxow
 
Posts: n/a

Default Re: B-tree cleaners - 08-27-2003 , 01:34 AM






Hi,

Before to begin I would like to thank Alexey Sonkin, William - Spookey
- and Norbert for their reply and all people who have tried to help
me.
Thanks again.

For your information,

This is what I have learned and the answers to my question :

There is only 1 btree cleaner thread per database instance in 7.3x.
Unfortunatly, this can not be changed.
Thus, this btree cleaner (named 'btclean' in the output of the 'onstat
-g ath') thread performs the removal of delete entries from indexes
alone. With 'onstat -C' you can display more information about its
status. Via the 'partnum' you can identify the respective tables being
processed as follows:

in dbaccess :

SELECT tabname FROM systables WHERE partnum='<partnum>';

By the way this SQL statement will not work for fragmented tables so
you may use :

SELECT tabid FROM sysfragments WHERE partn='<partnum>'
SELECT tabname FROM systables where tabid='<tabid>';

Rem : Do not forget that with the onstat -C the partnum is in
hexadecimal and that in the systables this one is in decimal. So do
the convertion !

Best Regards
Fred

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.