explain.depesz.com

A tool for finding a real cause for slow queries.

Result: osG

options
exclusive inclusive rows x rows loops node
0.468 422.800 ↓ 6.1 5000 1

Limit (cost=6075.61..6077.66 rows=817 width=66) (actual time=421.688..422.800 rows=5000 loops=1)

26.318 422.332 ↓ 6.1 5000 1

Sort (cost=6075.61..6077.66 rows=817 width=66) (actual time=421.686..422.332 rows=5000 loops=1)

  • Sort Key: (min(l.msoffset))ount as rl,
  • Sort Method: top-N heapsort Memory: 1713kB(toplevelrid,'|'|| (min(msoffset))::varchar)as varchar) as rqit,
134.134 396.014 ↓ 41.0 33508 1

HashAggregate (cost=5978.90..6036.09 rows=817 width=66) (actual time=337.527..396.014 rows=33508 loops=1)

21.884 261.880 ↓ 43.4 35458 1

Nested Loop (cost=18.33..5944.18 rows=817 width=66) (actual time=51.806..261.880 rows=35458 loops=1)

19.077 27.248 ↓ 43.4 35458 1

Bitmap Heap Scan on aserror_ts_20120124 ts (cost=18.33..1966.88 rows=817 width=8) (actual time=9.427..27.248 rows=35458 loops=1)

  • Recheck Cond: (as_msg_2_tsv_2 @@ '''enfinity'''::tsquery)count,
8.171 8.171 ↓ 43.4 35458 1

Bitmap Index Scan on aserror_ts_20120124_tvi (cost=0.00..18.13 rows=817 width=0) (actual time=8.171..8.171 rows=35458 loops=1)

  • Index Cond: (as_msg_2_tsv_2 @@ '''enfinity'''::tsquery)unt,
212.748 212.748 ↑ 1.0 1 35458

Index Scan using pk_aserrorlist_20120124 on aserrorlist_20120124 l (cost=0.00..4.85 rows=1 width=74) (actual time=0.005..0.006 rows=1 loops=35458)

  • Index Cond: (id = ts.id)e) then true end) as int) as oom_count,