Hello,
I have used migrate_content method and created a custom method and a job to provide the functionality to migrate documents from one encrypted filestore to another. When the job is run, it consumes more time in addition to the time taken to migrate specified number of documents. When I looked at the log, I found that it initially takes 20 minutes to execute the following query against 11 million records and then continues with the migration.
select r_object_id from rmd_report (ALL) where r_lock_owner=' ' and a_storage_type='encryptfilestore_01' ORDER by r_object_id ASC
So, every time I run this job, an additional 20 minutes will be used to fetch the results of the query and also we were suspecting, it might have an impact on the database and any other Documentum usage. It would be hard to manage the migration process if I insert more conditions related to r_creation_date in the WHERE clause. Also, I tried by creating an index for a_storage_type, but that didn't help much.
Can you please provide any other suggestions?