Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-13327

[fiware-stackoverflow] How reduce queryContext times Orion Context broker

    Details

      Description

      Created question in FIWARE Q/A platform on 28-11-2017 at 05:11
      Please, ANSWER this question AT https://stackoverflow.com/questions/47523828/how-reduce-querycontext-times-orion-context-broker

      Question:
      How reduce queryContext times Orion Context broker

      Description:
      I have a service has following query context request:

      {
      "entities": [

      { "type": "Call", "isPattern": "true", "id": ".*" }

      ],
      "restriction": {
      "scopes": [

      { "type": "FIWARE::StringQuery", "value": "status=='open'" }

      ]
      }
      }

      Then It will return about 400 records in about 15 seconds.
      What is the best way to reduce to queryContext time so that make the service run faster?

      The have a look at the following docs, It may be use Database indexes or set log level.
      https://fiware-orion.readthedocs.io/en/master/admin/perf_tuning/index.html

      Please help to correct me?

      Many thanks.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        3m 5s 1 Backlog Manager 12/Jan/18 7:53 PM
        In Progress In Progress Closed Closed
        8m 56s 1 Backlog Manager 12/Jan/18 8:02 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        HD-Enabler Orion [ 10875 ]
        HD-Chapter Data [ 10838 ]
        fla Fernando Lopez made changes -
        Assignee Fermín Galán [ fermin ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-01-12 20:02|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-01-12 20:02|UPDATED status: transition Finish| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-01-12 19:53|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-01-12 19:53|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-01-12 19:50|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-01-12 19:50|CREATED monitor | # answers= 1, accepted answer= True
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: