According to the logs the following query is very slow:
SELECT
node.node_id AS node_node_id,
node.graph_id AS node_graph_id,
node.meta AS node_meta
FROM node
JOIN "query"
ON node.graph_id = "query".end_graph_id
JOIN "match"
ON node.node_id = "match"."end"
WHERE "query".query_id = ? ORDER BY node.node_id ASC
According to the logs the following query is very slow: