Author Topic: Changing Filters to Index Fields  (Read 2348 times)

rstockton

  • Guest
Changing Filters to Index Fields
« on: October 23, 2013, 09:38:30 AM »
We are trying to change some Filters to Indexes on an old  large Application Group.  We tried using the Administrator client, but I think there were too many segments and the process failed.  We want our DBA to do this manually but he had the following question. 

Do we have to create single column indexes for each column separately or it?s composite?


Does anyone have any suggestions?



Thanks,

Russell

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2234
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Changing Filters to Index Fields
« Reply #1 on: October 23, 2013, 09:59:33 AM »
Hi Russell.

You can check to see if indexing was successful on the table segments by searching them for indexes:
   db2 describe indexes for table <segment-name> show detail

(Don't forget to connect to the database first with "db2 connect to <database>".)

-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 Index Fields
« Reply #2 on: October 23, 2013, 12:55:54 PM »
Thanks Justin.