Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-4071

optimize NXQL query evaluation for multiple documents retrieval (in a single SQL request)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 5.3.1
    • Component/s: Core VCS

      Description

      we have a NXQL query that looks like

      SELECT * from File where filename like ....;

      For now, that query generates :

      • first an SQL statement that retrieve document IDs
      • then multiple requests for each document (one for each document part).

      That way of doing consumes a lot of resources on database side and is very long.
      In that case, would that be possible, as we're retrieving always the same data, to merge all these requests in a single one ?

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: