Author Topic: Changing Filters to Indexes  (Read 3656 times)

rstockton

  • Guest
Changing Filters to Indexes
« on: September 23, 2010, 02:35:38 PM »
I have a requirment to change 2 filters to indexes in an exisitng Application group.  There are 3 similiar application groups in the folder, but I only want to change 1 of the groups (most current data) to indexes.  Is this workable or will it affect the folder in any negative way? 

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2230
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Changing Filters to Indexes
« Reply #1 on: September 24, 2010, 07:14:14 AM »
Hey Russell.

You can certainly switch on the indexes for those fields -- it will improve the performance of queries against that Application Group -- however, the results will only be as fast as your SLOWEST query.

If there is a field that your users are searching on the most, it makes sense to turn on indexing for that field to improve performance for them, and reduce CPU & IO hits for you!

Just don't go overboard!

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

rstockton

  • Guest
Re: Changing Filters to Indexes
« Reply #2 on: September 24, 2010, 09:17:15 AM »
Thanks Justin. 

I am assuming if we decide to change these to Indexes we should stop OD and backup DB2 before applying the changes.  Is there anything else that needs to be taken into consideration?

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2230
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Changing Filters to Indexes
« Reply #3 on: September 24, 2010, 02:46:15 PM »
A fresh backup is *always* a good idea.

Just remember that creating indexes from scratch, especially when you have a LOT of documents, will take a considerable amount of time.  You'll want to do this when the system is idle.

To get an idea of how long it might take (and how much disk space you'll use) it would be best if you did a test on a smaller App Group first.

Good luck!

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR