3

I am not sure how to phrase technically properly.

Introductions

We are using documentum 6.0 and oracle 11g. I have try to search documentum using DQL and it fail miserablely in terms of performance even after index and tuning.

Part of the reason is because how documentum translate -> any (cat="abc" and cat ="aaa" and cat ="ccc") for repeating values

I'm trying to find documents with cat="abc", cat ="aaa" and cat ="ccc", and it will translate into multiple exist in subqueries.

There are also other reasons like joining table and etc.

Therefore I decided to query the generated oracle table directly.

So far the POC seems rather successful but I have a few issues

1) I realize the old version are stored in the same table and the newest record is mark by a "1" for I_LATEST_FLAG

May I know where I can find a definition of all the I_* column created by documentum?

And can I trust that "I_LATEST_FLAG"=1 is always the most current version of a document?

2) I realize the date and time provided by DQL via Documentum adminstrator is accurate but in oracle DB they are a few hours behind.

May I know is there a proper solution to this issue?

3) Anyone using the same solution as me? if so please share other issues that I should look at?

Thank you.

4

2 回答 2

2
  1. 您可以在 EMC Documentum System Object Reference 中找到所有 dm* 对象及其列的定义。您可以从 EMC 的 Powerlink 站点下载它。
  2. 根据对象参考指南,当此版本是版本树中特定分支上对象的最新版本时,i_latest_flag 是正确的。

  3. 我还没有在任何系统上实现直接查询数据库的解决方案(这似乎是一个极端的解决方案,可能表明设计存在问题),所以我无法帮助你。

对于 DQL 和数据库中存储的日期时间之间的时间差,从 Documentum 6.0 及以上版本开始,数据库中存储的所有日期都以 UTC 格式存储,并且在 DQL 查询中发送的日期被认为是客户端的本地时间查询,因此有区别。搜索 Powerlink 以了解如何使用 dm_docbase_config 的 r_tz_aware 属性,您会发现 EMC 提供的非常有用的技术说明,它解释了时区功能的工作原理。

于 2013-02-01T16:15:19.677 回答
1

对于当前版本,不要与上一个版本混淆,该列是“i_has_folder”。

您可以在数据库中创建一个视图,将其注册为 DQL 中的注册表,然后在 DQL 中对其进行查询。您将通过这种方式获得相同的日期翻译。

于 2013-01-30T10:24:13.000 回答