Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5291

Per-Query Limits (nodes read, nodes read in memory)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • query
    • None

    Description

      In OAK-1395 we added limits for long running queries. In OAK-1571 we added OSGi configuration. In OAK-5237 we change the default settings.

      It would be nice to be able to define the limits per query, similar to OAK-4888. The query would look like (for example, to limit reading to 1 million nodes, even if the default query limit is lower):

      select * from [nt:base] 
      where ischildnode('/oak:index') 
      order by name()
      option(traversal ok, limit 1000000)
      

      Attachments

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              thomasm Thomas Mueller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: