Advertisement
tmccanna

query without deleted = 'f'

Sep 10th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. QUERY PLAN
  2. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  3. Hash Full Join (cost=12.33..121.65 rows=12 width=877) (actual time=0.054..0.067 rows=5 loops=1)
  4. Hash Cond: ((aum.usr = ausp.usr) AND (aum.id = ausp.usr_message))
  5. Filter: (((ausp.id IS NOT NULL) OR (NOT aum.deleted)) AND ((LEAST(ausp.stop_date, aum.stop_date) IS NULL) OR (LEAST(ausp.stop_date, aum.stop_date) > '2020-09-10 12:03:16.286173-04'::timestamp with time zone)))
  6. -> Index Scan using aum_usr on usr_message aum (cost=0.43..109.11 rows=36 width=777) (actual time=0.010..0.015 rows=5 loops=1)
  7. Index Cond: (usr = 3690472)
  8. -> Hash (cost=11.85..11.85 rows=3 width=44) (actual time=0.031..0.031 rows=5 loops=1)
  9. Buckets: 1024 Batches: 1 Memory Usage: 9kB
  10. -> Index Scan using actor_usr_standing_penalty_usr_idx on usr_standing_penalty ausp (cost=0.43..11.85 rows=3 width=44) (actual time=0.019..0.027 rows=5 loops=1)
  11. Index Cond: (usr = 3690472)
  12. Planning time: 0.354 ms
  13. Execution time: 0.107 ms
  14. (11 rows)
  15.  
  16. (END)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement