Hi all.
I posted a batch file that will compact all Roundtable TSMS (as of 11.6) indexes here:
It should be easy enough to port this to *Nix as needed. :)
Hi Jeff,
Is it recommended to execute this periodically ?
or is it there to be used in case some indexes have deteriorated .
Hi.
Since the RTB repository is an OE database, standard(?) tuning rules apply.
Whether or not one should compact indexes depends upon the results from an IDXANALYS. Although, I don't suppose it would hurt to simply run it periodically. Since I had this script and it was updated for 11.6, I just wanted to share to hopefully save someone a few minutes of time. :)
Ok thanks, here are the steps to convert to linux/unix
cp rtbcompact.bat rtbcompact.sh sed -i -e 's/set DLC=.*/export DLC=${DLC:-\/usr\/dlc}/' -e 's/call %DLC%\\bin\\/$DLC\/bin\//' -e 's/\r//' rtbcompact.sh
Thanks Carl. I think you just wanted to show off your sed skills. ;-)