GroupAggregate (cost=1363.15..1363.55 rows=10 width=35) |
Group Key: p.client_id, ttr.taxonomy_id, tt.name |
-> Sort (cost=1363.15..1363.18 rows=10 width=46) |
Sort Key: p.client_id, ttr.taxonomy_id, tt.name |
-> Nested Loop Left Join (cost=212.15..1362.99 rows=10 width=46) |
-> Hash Join (cost=212.00..1360.51 rows=10 width=35) |
Hash Cond: (ttr.object_id = p.id) |
-> Seq Scan on tbl_term_taxonomy_relationships ttr (cost=0.00..1147.89 rows=235 width=35) |
Filter: ((taxonomy_id IS NOT NULL) AND (value IS NOT NULL) AND (term_id = 1) AND (object_type = 1)) |
-> Hash (cost=208.02..208.02 rows=319 width=8) |
-> Bitmap Heap Scan on tbl_projects p (cost=50.18..208.02 rows=319 width=8) |
Recheck Cond: (client_id = ANY ('{5,149,89,2601,918,2181,12,57,20,1492,15,3296,2091,287,989,14,426,90,876,2125}'::integer[])) |
Filter: (project_status = 3) |
-> Bitmap Index Scan on tbl_projects_client_id_idx (cost=0.00..50.10 rows=609 width=0) |
Index Cond: (client_id = ANY ('{5,149,89,2601,918,2181,12,57,20,1492,15,3296,2091,287,989,14,426,90,876,2125}'::integer[])) |
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies tt (cost=0.14..0.25 rows=1 width=15) |
Index Cond: (ttr.taxonomy_id = id) |