I have…
- [x] Read the following guideline: https://docs.squidex.io/01-getting-started/installation/troubleshooting-and-support. I understand that my support request might get deleted if I do not follow the guideline.
- [x] Used code blocks with ``` to format my code examples like JSON or logs properly.
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [ ] Bug report
- [x] Performance issue
- [ ] Documentation issue or request
Current behavior
I checked logs recently a i noticed (I finally set up logging mongo to seq) there are lot of “Slow query” in mongoDb. I am not sure if it is related to any change as I recently updated docker to the last version and i unfortunately cannot check if it is same.
Raw log entry:
{
"command": {
"$db": "Squidex",
"filter": {
"EventStream": {
"$regularExpression": {
"options": "",
"pattern": "^app-|^app-"
}
},
"Timestamp": {
"$gt": {
"$timestamp": {
"i": 1,
"t": 1664745154
}
}
}
},
"find": "Events2",
"limit": 2147483647,
"lsid": {
"id": {
"$uuid": "982c73ba-cd2d-4216-8f58-831afbb6aa87"
}
},
"sort": {
"EventStream": -1,
"Timestamp": 1
}
},
"cursorExhausted": true,
"docsExamined": 0,
"durationMillis": 1384,
"fromMultiPlanner": true,
"keysExamined": 154022,
"locks": {
"FeatureCompatibilityVersion": {
"acquireCount": {
"r": 925
}
},
"Global": {
"acquireCount": {
"r": 925
}
},
"Mutex": {
"acquireCount": {
"r": 1
}
}
}
}
It’s almost exclusively "^app-|^app-"
only other what i found was with '^schema-'
, '^assetFolder-'
, '^asset-'
but that was just few occasions which may be related to something else (GC?). "^app-|^app-"
happen all the time.
Expected behavior
No slow query or should be logged is Squidex? Or I can consider it normal as i do not think I notice anything not working.
Minimal reproduction of the problem
It is tricky as this is log from mongo so I do not have exact context from squidex.
Environment
- [x] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ ] Cloud version
Version:7.8.2