Details
- 
        Type:
Monitor
 - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Done
 - 
            Affects Version/s: None
 - 
            Fix Version/s: 2021
 - 
            Component/s: FIWARE-TECH-HELP
 - 
            Labels:
 
- 
                        HD-Chapter:Data
 - 
                        HD-Enabler:Orion
 
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": [
],
        "restriction": {
            "scopes": [
]
        }
}
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.
2018-01-12 19:50|CREATED monitor | # answers= 1, accepted answer= True