GroupAggregate (cost=7193.50..7681.18 rows=8 width=64)
Output: ((':'::text || current_keyword.v)), (count(DISTINCT current_keyword.e))::text
Group Key: ((':'::text || current_keyword.v))
InitPlan 1 (returns $0)
-> Seq Scan on mentat.schema (cost=0.00..1.49 rows=1 width=8)
Output: schema.entid
Filter: (schema.ident = ':issue/state'::text)
-> Sort (cost=7192.02..7354.53 rows=65005 width=40)
Output: ((':'::text || current_keyword.v)), current_keyword.e
Sort Key: ((':'::text || current_keyword.v)), current_keyword.e
-> Index Only Scan using idx_current_keyword_avet on mentat.current_keyword (cost=0.42..1995.43 rows=65005 width=40)
Output: (':'::text || current_keyword.v), current_keyword.e
Index Cond: ((current_keyword.store_id = '0'::bigint) AND (current_keyword.a = $0))
Query Identifier: 2661281054348929059