Advertisement
chrissharp123

Untitled

Sep 9th, 2020
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.70 KB | None | 0 0
  1. evergreen=# explain analyze SELECT "aump".id,
  2. "aump".create_date,
  3. "aump".ausp_set_date,
  4. "aump".aum_create_date,
  5. "aump".read_date,
  6. "aump".org_unit,
  7. "aump".ausp_org_unit,
  8. "aump".aum_sending_lib,
  9. "aump".ausp_id,
  10. "aump".aum_id,
  11. "aump".deleted,
  12. "aump".title,
  13. "aump".usr,
  14. "aump".ausp_usr,
  15. "aump".aum_usr,
  16. "aump".message,
  17. "aump".pub,
  18. "aump".stop_date,
  19. "aump".ausp_stop_date,
  20. "aump".aum_stop_date,
  21. "aump".editor,
  22. "aump".edit_date,
  23. "aump".staff,
  24. "aump".standing_penalty,
  25. "aump".ausp_usr_message
  26. FROM actor.usr_message_penalty AS "aump"
  27. WHERE "aump".id = '2048501:11778169';
  28. -[ RECORD 1 ]------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  29. QUERY PLAN | Hash Full Join (cost=202096.81..3676686.99 rows=83858 width=875) (actual time=20666.143..23754.688 rows=1 loops=1)
  30. -[ RECORD 2 ]------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  31. QUERY PLAN | Hash Cond: (aum.id = ausp.usr_message)
  32. -[ RECORD 3 ]------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  33. QUERY PLAN | Filter: (((ausp.id IS NOT NULL) OR (NOT aum.deleted)) AND (((COALESCE((ausp.id)::text, ''::text) || ':'::text) || COALESCE((aum.id)::text, ''::text)) = '2048501:11778169'::text))
  34. -[ RECORD 4 ]------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  35. QUERY PLAN | Rows Removed by Filter: 17947287
  36. -[ RECORD 5 ]------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  37. QUERY PLAN | -> Seq Scan on usr_message aum (cost=0.00..1849829.01 rows=16771501 width=775) (actual time=0.089..6607.371 rows=16762614 loops=1)
  38. -[ RECORD 6 ]------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  39. QUERY PLAN | -> Hash (cost=124647.47..124647.47 rows=6195947 width=44) (actual time=3077.683..3077.683 rows=6195947 loops=1)
  40. -[ RECORD 7 ]------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  41. QUERY PLAN | Buckets: 8388608 Batches: 1 Memory Usage: 495454kB
  42. -[ RECORD 8 ]------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  43. QUERY PLAN | -> Seq Scan on usr_standing_penalty ausp (cost=0.00..124647.47 rows=6195947 width=44) (actual time=0.034..1116.154 rows=6195947 loops=1)
  44. -[ RECORD 9 ]------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  45. QUERY PLAN | Planning time: 1.296 ms
  46. -[ RECORD 10 ]-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  47. QUERY PLAN | Execution time: 23784.303 ms
  48.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement