Long-running Query from relatively simple search
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
Evergreen 3.5.3
PostgreSQL: 10.19
O/S: Uubntu 18.04
I canceled a search query that had run for over 14 hours this morning. After digging through the logs, I was able to find the initial search request in the gateway and Apache logs, along with the final SQL that was canceled.
From the gateway log:
tpac: site=SOUTHBORO, depth=3, user_query="winter" AND "sports", query=sort(poprel) "winter" AND "sports" search_format(book) site(SOUTHBORO) depth(3)
The corresponding websockets entry from the Apache logs:
localhost:443 127.0.0.1 - - [08/Feb/
Since the SQL is approximately 14k, I'll attach rather than paste it into the bug description.
summary: |
- Long-running Qurey from relatively simple search + Long-running Query from relatively simple search |
I'm adding the output of EXPLAIN on the SQL in the same datbase where it ran for 14+ hours.