Hi All,
I came across strange issue with the publishing process in our environment.
We are using Documentum 6.5 SP1 and also using SCS 6.5 SP1 for publishing content from Documentum to target applications. We work with image files and xml content mostly.
We have post sync script that reads attribute data from Documentum and inserts that information in to target application database(MySQL). Once it inserts attribute data for the object in target database, it updates publish_flag (custom attribute) for that object to True in Documentum. When it updates the publish flag to true using DQL and that intern changing the r_modify_date for the object.
When publish process next time, SCS picks objects that are published last time b'coz the r_modify_date is different and trying sync the objects published last time( delete, export and sync on target system). However post sync script won't pick second time b'coz the publish_flag is already set to true. Virtually we are publishing same object twice with out any reason.
After lot of analysis and effort we figured out this issue, we have lot of performance problems with publishing process and then we tried executing queries used by SCS and found though we publish few object it tries to export thousands of object b'coz of above metioned issue.
For just testing purpose, I manually updated r_modify_date for a object previous time stamp in dm_sysobject table using SQL statement and it didn't pick in the export query used by SCS. I know it is not right way of doing, just for testing, I did it.
Does any one faced this kind of issue before?
Any inputs/ideas would be really appreciated.
Thanks in advance.
- Raju