Details
-
Story
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
Description
Questions for discovers
- How to measure? JCR queries don't provide aggregation functions. Iterating of a result set or the items of the workspace is likely not efficient and adds to much load to the instance.
One way is a JCR query:QueryResult result = queryManager.createQuery("SELECT * FROM [nt:base]", Query.JCR_SQL2).execute(); long nodeCount = result.getRows().getSize();
However, this might still have an impact on the instance as it collects all results into a list internally in Jackrabbit.
- Can and should we track this number separately. Risk of getting out of sync?
Checklists
Acceptance criteria
Attachments
Issue Links
- is cloned by
-
MAGNOLIA-9208 Expose the number of sites for monitoring
-
- Open
-
-
MAGNOLIA-9209 Expose the number of items in content apps for monitoring
-
- Open
-