Author Topic: Annotation Table/Indicator  (Read 3580 times)

russokr

  • Newbie
  • *
  • Posts: 2
    • View Profile
Annotation Table/Indicator
« on: March 30, 2011, 07:04:35 AM »
Is there a utility that will set the annotation indicator on a bill index, after old annotations are deleted out of ARSANN?  The annotation indicator on the bill index is either ON or OFF, it does not indicate if multiple annotations exist for a bill.  Our annotaion table is over 12 million rows, & we want to delete annotations > than 2 years, but if a bill has more than 1 annotation associated, a
current and an old annotaion, we need to be able to determine if the annotaion indicator needs to be flipped OFF for the old annotaion that was deleted, or if there is still a current annotation associated with the bill, & the annotation indicator should remain ON.

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Annotation Table/Indicator
« Reply #1 on: March 30, 2011, 08:18:42 AM »
12 million rows doesn't sound like a problem.  There are systems out there with individual tables of over 100 million rows of document indexes out there.

If you're seeing performance problems, make sure you're on a recent version of CMOD -- newer versions have new indexes on the ARSANN table that make searching for annotations for a specific document very fast.  Alternately, check to see that the table and its indexes don't need a 'reorg'.

To the best of my knowledge, there's no pre-built utility out there to do what you're asking.

-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

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: Annotation Table/Indicator
« Reply #2 on: March 31, 2011, 01:22:10 AM »
Hello.

As Justin said,out of the box, there are nothing to do what you want.

But it is possible to do it, if you really want to do it.
It means going inside the Annotation table and with the help of some scripts do what you want.
You will be on your own. Since it's not supported officially by IBM.
But if you do it correctly it might work quite well.
You will need to check, of course, with each new version of CMOD, if what you did is still supported or not.

One advice, would be, is to ask IBM for an improvement. There is a thread in this website to ask for such improvement, then there are some voting, and the most wanted requests will be considered by the developpers team.
It won't be done now, but in a future version of CMOD. (Hopefully not so distant...)

Cheers,
Alessandro
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML