DQL to find the count of documents in each folder location under /Cabinet/FolderA/FolderB.

Linked documents can definitely affect your folder count. Below is a modified version of your query to help identify where these linked documents might be located: SELECT fdr.r_folder_path, COUNT(doc.r_object_id) as doccnt,sum(doc.i_reference_cnt) as refcnt, sum(doc.r_full_content_size)/1024 as sizeKBFROM dm_document (ALL) doc, dm_folder_r fdrWHERE ANY doc.i_folder_id = fdr.r_object_idAND fdr.r_folder_path like ‘/Temp%’GROUP BY fdr.r_folder_path ORDER BY fdr.r_folder_path result looks…

Read More

Four views for each subtype

In Documentum, data is stored in various object types, with dm_document being one of the most frequently used. To effectively interact with this object type, Documentum provides different views, each serving a specific purpose. These views are designed to handle both single-valued (non-repeating) and repeating attributes, and they are accessed by different components of the…

Read More

Best Practices for Creating Indexes in Documentum

Efficient data retrieval is critical in content management systems like Documentum, where large volumes of data are managed. One way to optimize query performance is by indexing key attributes. However, creating indexes on Documentum base tables requires careful consideration and proper methods. It is strongly recommended that all indexes be created within Documentum itself, not…

Read More