Open stubbsta opened 1 month ago
The same behaviour is observed when only querying for 10 content topics
Something interesting is that after applying ANALYZE messages
the performance got better in status.prod
ams db.
On the other hand, I don't see a clear evidence of being slower the queries in the cursor than the first query.
For example, while checking with the message-finder
app:
Background
When making a storev3 "get messages" request with arbitrary query criteria and no cursor, the response is received much faster than when a cursor is included in the query
Details
On average the query duration is at least twice as long for queries that include a cursor. Here is an example of the query parameters:
Acceptance criteria
Investigate why the query with a cursor takes so much longer and see if it can be improved