Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-9207

Expose the number of pages for monitoring

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.3.0
    • None
    • None
    • Yes
    • Yes

      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?

        Acceptance criteria

          1. -1.jpg
            402 kB
            Oanh Thai Hoang
          2. caregory.png
            30 kB
            Michael Duerig
          3. dam.png
            21 kB
            Michael Duerig
          4. website.png
            22 kB
            Michael Duerig
          5. workspaces.png
            39 kB
            Michael Duerig

              mduerig Michael Duerig
              mduerig Michael Duerig
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1h
                  1h