QUERY PLAN
Hash Left Join (cost=120.77..173.12 rows=38 width=69)
Hash Cond: (prod.product_serie = gs.id)
-> Hash Left Join (cost=58.86..111.11 rows=38 width=44)
Hash Cond: (prod.product_component = gc.id)
-> Hash Left Join (cost=53.26..105.41 rows=38 width=32)
Hash Cond: (prod.product_type = gt.id)
-> Hash Left Join (cost=50.84..102.88 rows=38 width=24)
Hash Cond: (prod.product_brand = gb.id)
-> Bitmap Heap Scan on tbl_products prod (cost=42.93..94.88 rows=38 width=20)
Recheck Cond: (id = ANY ('{2269,2261,1562,1584,2171,2262,1372,2269,2269,1372,2261,2269,2242,2255,1234,1224,941,1372,39,672,1025,1231,1238,1245,1246,1372,2072,2073,2074,2075,2076,2077,2078,2080,2083,2084,2085,2086}'::integer[]))
-> Bitmap Index Scan on tbl_products_pkey (cost=0.00..42.92 rows=38 width=0)
Index Cond: (id = ANY ('{2269,2261,1562,1584,2171,2262,1372,2269,2269,1372,2261,2269,2242,2255,1234,1224,941,1372,39,672,1025,1231,1238,1245,1246,1372,2072,2073,2074,2075,2076,2077,2078,2080,2083,2084,2085,2086}'::integer[]))
-> Hash (cost=5.18..5.18 rows=218 width=12)
-> Seq Scan on tbl_product_brands gb (cost=0.00..5.18 rows=218 width=12)
-> Hash (cost=1.63..1.63 rows=63 width=16)
-> Seq Scan on tbl_product_types gt (cost=0.00..1.63 rows=63 width=16)
-> Hash (cost=3.60..3.60 rows=160 width=20)
-> Seq Scan on tbl_product_components gc (cost=0.00..3.60 rows=160 width=20)
-> Hash (cost=41.96..41.96 rows=1596 width=33)
-> Seq Scan on tbl_product_series gs (cost=0.00..41.96 rows=1596 width=33)