Purging the Cache & DB data

Previous topic - Next topic

rajesh

Hi,

Can any one let me know how to delete the Cache & DB data both at once in bulk. we have almost 7 years of data that need to purged where i can delete the data from Database but not from Cache. Can any one help me with the below issue or any hint that helps me to purge the data using command.

Command that i use to purge the data from folder.
/opt/ondemand/bin/arsdoc delete -h archive -i where rdate between 15401 and 15431  -f folder name -v

kbsiva

Hi Rajesh -  arsdoc delete will only delete the index records from the Database it will leave the cache file system as it is. arsmaint is the way to go.  I am not sure what your requirement is looks like you need more of an archiving strategy rather than trying to delete documents.


Thanks,
Siva

Justin Derrick

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

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

B.Rivers

We use the unload command in shell script to do this from testing environments.

arsadmin unload -h localhost -u USER -p PASS -g AA1_AG47_DF -L 20724-0-0-1601FAA-20160930000000-20160930000000-20923

This will clear both database and arscache.

Brian  8)