Showing posts with label Purging Service. Show all posts
Showing posts with label Purging Service. Show all posts

Purging Service in BCC


PurgingService is service which is used to purge older versions of assets in Publishing Schema. This component is available in Publishing.base module.


Question: I am using this service for first time. Are there any prerequisites?
Answer: Yes, following are the prerequisites that needs to followed.

1. Delete all "Author" state projects which are not in use for week or month.
2. Close all the projects which are waiting for acceptance.
3. Halt the BCC deployments if any.
4. Do not Create any project till the Purging service is complete. Accessing BCC is not advisable during purging. 
5. Increase the DB Transaction time out to MAX for PUB JVM.
6. Last, Take a back up of File system and Publishing DB.



Question: Okies, I have achieved above prerequisites. How should I proceed further?
Answer: Access the Dyn/admin of BCC and search for component "PurgingService". Entire Purging service is divided into following sections.

1. Generating Report

Generate Report stating how many assets are going to be purged. Provide Days prior to which assets needs to purged.


2. Submit Purge

Once report is generated, you can submit the for purging or cancel.



































Final result will be shown once the purge is complete.























Question: I am done with purging. Are there any post requisites?
Answer: Yes, Indexes in Publishing DB will be disturbed. Please rebuild indexes in Publishing DB.


Question: Cool. Are there any good to know information about Purging Service?
Answer: If you are planning to Purge assets older than 7 days, you can break it into small parts.
1. First purge assets older than 100 days.
2. Next purge assets older than 50 days.
3. And Lastly purge assets older than 7 days.

Before Running Purging Service in Production, it's good to be tried out in replica of Production first.