Você está na página 1de 1

"Unique (cost=94893.83..94893.

84 rows=1 width=33)"
" -> Sort (cost=94893.83..94893.84 rows=1 width=33)"
" Sort Key: comp.ds_competencia"
" -> Nested Loop (cost=31350.35..94893.82 rows=1 width=33)"
" Join Filter: (taskinst.procinst_ = procinstcore.id_proc_inst)"
" -> Hash Join (cost=31349.79..92110.94 rows=2293 width=53)"
" Hash Cond: (proctrf.id_competencia =
(comp.id_competencia)::integer)"
" -> Nested Loop (cost=31346.95..92074.03 rows=2971 width=24)"
" -> Hash Join (cost=31346.53..85053.50 rows=2971
width=12)"
" Hash Cond: (taskinst.task_ =
(tl.id_task_jbpm)::integer)"
" -> Bitmap Heap Scan on jbpm_taskinstance taskinst
(cost=503.06..38410.22 rows=22488 width=16)"
" Recheck Cond: ((name_)::text = 'ASSESSOR -
Confirmar urgncia'::text)"
" Filter: ((NOT issuspended_) AND isopen_)"
" -> Bitmap Index Scan on idx_tskinst_name2
(cost=0.00..497.44 rows=22488 width=0)"
" Index Cond: (((name_)::text =
'ASSESSOR - Confirmar urgncia'::text) AND (isopen_ = true))"
" -> Hash (cost=30637.44..30637.44 rows=16482
width=8)"
" -> HashAggregate (cost=30472.62..30637.44
rows=16482 width=8)"
" Group Key: (tl.id_processo)::integer,
(tl.id_task_jbpm)::integer"
" -> Bitmap Heap Scan on
tb_proc_localizacao_ibpm tl (cost=2593.80..29648.54 rows=164816 width=8)"
" Recheck Cond:
(((id_localizacao)::integer = 5) AND ((id_papel)::integer = 1469))"
" -> Bitmap Index Scan on
tjmg_tb_processo_localizacao_ibpm_id_localizacao_idx2 (cost=0.00..2552.59
rows=164816 width=0)"
" Index Cond:
(((id_localizacao)::integer = 5) AND ((id_papel)::integer = 1469))"
" -> Index Scan using idx_tb_processo_trf31 on
tb_processo_trf proctrf (cost=0.43..2.35 rows=1 width=12)"
" Index Cond: ((id_processo_trf)::integer =
(tl.id_processo)::integer)"
" -> Hash (cost=1.86..1.86 rows=78 width=37)"
" -> Seq Scan on tb_competencia comp (cost=0.00..1.86
rows=78 width=37)"
" Filter: in_ativo"
" -> Index Scan using tb_processo_instance_pkey on
tb_processo_instance procinstcore (cost=0.56..1.20 rows=1 width=16)"
" Index Cond: (id_processo =
(proctrf.id_processo_trf)::integer)"
" Filter: (in_ativo AND (((id_orgao_julgador)::integer = 229) OR
((id_orgao_julgador IS NULL) AND ((proctrf.id_orgao_julgador)::integer = 229))))"

Você também pode gostar