explain.depesz.com

PostgreSQL's explain analyze made readable

Result: kQA4

Settings
# exclusive inclusive rows x rows loops node
1. 0.062 43.329 ↑ 29.0 5 1

Sort (cost=178,666.72..178,667.09 rows=145 width=431) (actual time=43.329..43.329 rows=5 loops=1)

  • Sort Key: (min(pn.device_delivered_date_min))
  • Sort Method: quicksort Memory: 37kB
2.          

CTE get_event

3. 0.001 0.126 ↑ 1.0 1 1

Append (cost=0.55..3.58 rows=1 width=732) (actual time=0.125..0.126 rows=1 loops=1)

4. 0.125 0.125 ↑ 1.0 1 1

Index Scan using events_org_part_default_evn_seq_vrange_uidx on events_org_part_default e (cost=0.55..3.58 rows=1 width=732) (actual time=0.124..0.125 rows=1 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = '851e862e-2e34-48c3-b2f1-98b281aeae32'::uuid))
  • Filter: ((is_visible IS TRUE) AND (valid_range @> '2019-12-10 00:00:00+00'::timestamp with time zone))
  • Rows Removed by Filter: 4
5.          

CTE get_event_created_min

6. 0.003 0.004 ↑ 1.0 1 1

Aggregate (cost=0.02..0.03 rows=1 width=8) (actual time=0.004..0.004 rows=1 loops=1)

7. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event e_1 (cost=0.00..0.02 rows=1 width=8) (actual time=0.000..0.001 rows=1 loops=1)

8.          

CTE get_event_created_max

9. 0.003 0.004 ↑ 1.0 1 1

Aggregate (cost=0.02..0.03 rows=1 width=8) (actual time=0.004..0.004 rows=1 loops=1)

10. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event e_2 (cost=0.00..0.02 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=1)

11.          

CTE get_event_closing_max

12. 0.013 0.014 ↑ 1.0 1 1

Aggregate (cost=0.02..0.04 rows=1 width=8) (actual time=0.014..0.014 rows=1 loops=1)

13. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event e_3 (cost=0.00..0.02 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=1)

14.          

CTE get_response_choices

15. 0.001 0.241 ↓ 0.0 0 1

Append (cost=0.42..1,008.53 rows=20,000 width=128) (actual time=0.241..0.241 rows=0 loops=1)

16. 0.002 0.238 ↓ 0.0 0 1

Nested Loop (cost=0.42..355.99 rows=10,000 width=128) (actual time=0.238..0.238 rows=0 loops=1)

17. 0.004 0.168 ↑ 1.0 1 1

Nested Loop (cost=0.42..3.47 rows=1 width=991) (actual time=0.154..0.168 rows=1 loops=1)

18. 0.002 0.002 ↑ 1.0 1 1

CTE Scan on get_event e_4 (cost=0.00..0.02 rows=1 width=24) (actual time=0.001..0.002 rows=1 loops=1)

  • Filter: (choices IS NULL)
19. 0.162 0.162 ↑ 1.0 1 1

Index Scan using forms_org_seq_vrange_uidx on forms f (cost=0.42..3.44 rows=1 width=1,026) (actual time=0.150..0.162 rows=1 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (form_uuid = e_4.form_uuid))
  • Filter: ((is_visible IS TRUE) AND (valid_range @> e_4.created))
  • Rows Removed by Filter: 11
20. 0.010 0.068 ↓ 0.0 0 1

ProjectSet (cost=0.00..52.52 rows=10,000 width=64) (actual time=0.067..0.068 rows=0 loops=1)

21. 0.057 0.058 ↑ 100.0 1 1

ProjectSet (cost=0.00..0.52 rows=100 width=32) (actual time=0.056..0.058 rows=1 loops=1)

22. 0.001 0.001 ↑ 1.0 1 1

Result (cost=0.00..0.01 rows=1 width=0) (actual time=0.001..0.001 rows=1 loops=1)

23. 0.001 0.002 ↓ 0.0 0 1

Nested Loop (cost=0.00..352.54 rows=10,000 width=128) (actual time=0.002..0.002 rows=0 loops=1)

24. 0.001 0.001 ↓ 0.0 0 1

CTE Scan on get_event e_5 (cost=0.00..0.02 rows=1 width=32) (actual time=0.001..0.001 rows=0 loops=1)

  • Filter: (choices IS NOT NULL)
  • Rows Removed by Filter: 1
25. 0.000 0.000 ↓ 0.0 0

ProjectSet (cost=0.00..52.52 rows=10,000 width=64) (never executed)

26. 0.000 0.000 ↓ 0.0 0

ProjectSet (cost=0.00..0.52 rows=100 width=32) (never executed)

27. 0.000 0.000 ↓ 0.0 0

Result (cost=0.00..0.01 rows=1 width=0) (never executed)

28.          

CTE get_response_matchers

29. 0.022 0.264 ↓ 0.0 0 1

HashAggregate (cost=800.00..845.00 rows=2,000 width=96) (actual time=0.264..0.264 rows=0 loops=1)

  • Group Key: lower(COALESCE(rc.translated_response, rc.text_response)), lower((replace(replace(COALESCE(rc.translated_response, rc.text_response), '%'::text, '\%'::text), '_'::text, '\_'::text) || ' %'::text)), rc.text_response
30. 0.242 0.242 ↓ 0.0 0 1

CTE Scan on get_response_choices rc (cost=0.00..650.00 rows=20,000 width=96) (actual time=0.242..0.242 rows=0 loops=1)

31.          

CTE get_lowered_responses_pattern_array

32. 0.054 0.319 ↑ 1.0 1 1

Aggregate (cost=45.00..45.01 rows=1 width=32) (actual time=0.319..0.319 rows=1 loops=1)

33. 0.265 0.265 ↓ 0.0 0 1

CTE Scan on get_response_matchers rc_1 (cost=0.00..40.00 rows=2,000 width=32) (actual time=0.265..0.265 rows=0 loops=1)

34.          

CTE get_person_device_notifications

35. 0.042 2.590 ↓ 6.3 19 1

HashAggregate (cost=670.91..670.94 rows=3 width=360) (actual time=2.583..2.590 rows=19 loops=1)

  • Group Key: person_ntfn.recipient_uuid, person_ntfn.notification_uuid, person_ntfn.event_uuid, person_ntfn.parent_ntfn_uuid, (CASE WHEN (person_ntfn.delinked_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) THEN person_ntfn.delinked_date ELSE NULL::timestamp with time zone END), device_ntfn.recipient_uuid, device_ntfn.notification_uuid, (CASE WHEN (device_ntfn.failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) THEN device_ntfn.failed_date ELSE NULL::timestamp with time zone END), (CASE WHEN (device_ntfn.delivered_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) THEN device_ntfn.delivered_date ELSE NULL::timestamp with time zone END), (CASE WHEN (device_response.received <= '2019-12-10 00:00:00+00'::timestamp with time zone) THEN device_ntfn.responded_date ELSE NULL::timestamp with time zone END), (CASE WHEN (device_response.received <= '2019-12-10 00:00:00+00'::timestamp with time zone) THEN 'RESPONDED'::text WHEN (device_ntfn.delivered_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) THEN 'DELIVERED'::text WHEN (device_ntfn.failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) THEN 'FAILED'::text WHEN (live_ntfn.pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) THEN 'PENDING'::text ELSE ''::text END), (CASE WHEN (live_ntfn.pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) THEN live_ntfn.pending_date ELSE NULL::timestamp with time zone END), device_response.response_uuid, (CASE WHEN (device_response.received <= '2019-12-10 00:00:00+00'::timestamp with time zone) THEN device_response.response ELSE NULL::character varying END), (CASE WHEN (device_response.received <= '2019-12-10 00:00:00+00'::timestamp with time zone) THEN device_response.received ELSE NULL::timestamp with time zone END), device_response.recipient_type, (NULL::uuid), (NULL::character varying), (NULL::timestamp with time zone), (NULL::character varying), (NULL::timestamp with time zone), (NULL::timestamp with time zone)
36. 0.005 2.548 ↓ 6.3 19 1

Append (cost=2.40..670.74 rows=3 width=360) (actual time=0.585..2.548 rows=19 loops=1)

37. 0.000 2.282 ↓ 7.5 15 1

Nested Loop (cost=2.40..493.34 rows=2 width=335) (actual time=0.583..2.282 rows=15 loops=1)

38.          

Initplan (forNested Loop)

39. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event_closing_max e_6 (cost=0.00..0.02 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=1)

40. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event_created_min e_7 (cost=0.00..0.02 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=1)

41. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event_closing_max e_8 (cost=0.00..0.02 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=1)

42. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event_created_min e_9 (cost=0.00..0.02 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=1)

43. 0.322 0.322 ↑ 1.0 1 1

CTE Scan on get_lowered_responses_pattern_array rc_2 (cost=0.00..0.02 rows=1 width=32) (actual time=0.321..0.322 rows=1 loops=1)

44. 0.017 0.017 ↑ 1.0 1 1

CTE Scan on get_event_closing_max e_10 (cost=0.00..0.02 rows=1 width=8) (actual time=0.016..0.017 rows=1 loops=1)

45. 0.005 0.005 ↑ 1.0 1 1

CTE Scan on get_event_created_min (cost=0.00..0.02 rows=1 width=8) (actual time=0.005..0.005 rows=1 loops=1)

46. 0.015 1.750 ↓ 15.0 15 1

Nested Loop Left Join (cost=1.70..335.27 rows=1 width=122) (actual time=0.493..1.750 rows=15 loops=1)

  • Join Filter: (device_ntfn.responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)
47. 0.083 0.970 ↓ 15.0 15 1

Nested Loop (cost=1.15..331.67 rows=1 width=80) (actual time=0.418..0.970 rows=15 loops=1)

48. 0.053 0.572 ↓ 15.0 15 1

Nested Loop (cost=0.58..173.56 rows=1 width=24) (actual time=0.302..0.572 rows=15 loops=1)

49. 0.006 0.136 ↑ 1.0 1 1

HashAggregate (cost=0.02..0.03 rows=1 width=16) (actual time=0.136..0.136 rows=1 loops=1)

  • Group Key: get_event.event_uuid
50. 0.130 0.130 ↑ 1.0 1 1

CTE Scan on get_event (cost=0.00..0.02 rows=1 width=16) (actual time=0.128..0.130 rows=1 loops=1)

51. 0.045 0.383 ↑ 3.3 15 1

Append (cost=0.56..173.04 rows=49 width=40) (actual time=0.117..0.383 rows=15 loops=1)

52. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly__organization_uuid_event_uuid_idx5 on notifications_summary_weekly_partitioned_2019_w5 live_ntfn (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
53. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly__organization_uuid_event_uuid_idx6 on notifications_summary_weekly_partitioned_2019_w6 live_ntfn_1 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
54. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly__organization_uuid_event_uuid_idx7 on notifications_summary_weekly_partitioned_2019_w7 live_ntfn_2 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
55. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly__organization_uuid_event_uuid_idx8 on notifications_summary_weekly_partitioned_2019_w8 live_ntfn_3 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
56. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly__organization_uuid_event_uuid_idx9 on notifications_summary_weekly_partitioned_2019_w9 live_ntfn_4 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
57. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx10 on notifications_summary_weekly_partitioned_2019_w10 live_ntfn_5 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
58. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx11 on notifications_summary_weekly_partitioned_2019_w11 live_ntfn_6 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
59. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx12 on notifications_summary_weekly_partitioned_2019_w12 live_ntfn_7 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
60. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx13 on notifications_summary_weekly_partitioned_2019_w13 live_ntfn_8 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
61. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx14 on notifications_summary_weekly_partitioned_2019_w14 live_ntfn_9 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
62. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx15 on notifications_summary_weekly_partitioned_2019_w15 live_ntfn_10 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
63. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx16 on notifications_summary_weekly_partitioned_2019_w16 live_ntfn_11 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
64. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx17 on notifications_summary_weekly_partitioned_2019_w17 live_ntfn_12 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
65. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx18 on notifications_summary_weekly_partitioned_2019_w18 live_ntfn_13 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
66. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx19 on notifications_summary_weekly_partitioned_2019_w19 live_ntfn_14 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
67. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx20 on notifications_summary_weekly_partitioned_2019_w20 live_ntfn_15 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
68. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx21 on notifications_summary_weekly_partitioned_2019_w21 live_ntfn_16 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
69. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx22 on notifications_summary_weekly_partitioned_2019_w22 live_ntfn_17 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
70. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx23 on notifications_summary_weekly_partitioned_2019_w23 live_ntfn_18 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
71. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx24 on notifications_summary_weekly_partitioned_2019_w24 live_ntfn_19 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
72. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx25 on notifications_summary_weekly_partitioned_2019_w25 live_ntfn_20 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
73. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx26 on notifications_summary_weekly_partitioned_2019_w26 live_ntfn_21 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
74. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx27 on notifications_summary_weekly_partitioned_2019_w27 live_ntfn_22 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
75. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx28 on notifications_summary_weekly_partitioned_2019_w28 live_ntfn_23 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
76. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx29 on notifications_summary_weekly_partitioned_2019_w29 live_ntfn_24 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
77. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx30 on notifications_summary_weekly_partitioned_2019_w30 live_ntfn_25 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
78. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx31 on notifications_summary_weekly_partitioned_2019_w31 live_ntfn_26 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
79. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx32 on notifications_summary_weekly_partitioned_2019_w32 live_ntfn_27 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
80. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx33 on notifications_summary_weekly_partitioned_2019_w33 live_ntfn_28 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
81. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx34 on notifications_summary_weekly_partitioned_2019_w34 live_ntfn_29 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
82. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx35 on notifications_summary_weekly_partitioned_2019_w35 live_ntfn_30 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
83. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx36 on notifications_summary_weekly_partitioned_2019_w36 live_ntfn_31 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
84. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx37 on notifications_summary_weekly_partitioned_2019_w37 live_ntfn_32 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
85. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx38 on notifications_summary_weekly_partitioned_2019_w38 live_ntfn_33 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
86. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx39 on notifications_summary_weekly_partitioned_2019_w39 live_ntfn_34 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
87. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx40 on notifications_summary_weekly_partitioned_2019_w40 live_ntfn_35 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
88. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx41 on notifications_summary_weekly_partitioned_2019_w41 live_ntfn_36 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
89. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx42 on notifications_summary_weekly_partitioned_2019_w42 live_ntfn_37 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
90. 0.177 0.177 ↓ 15.0 15 1

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx43 on notifications_summary_weekly_partitioned_2019_w43 live_ntfn_38 (cost=0.56..3.59 rows=1 width=40) (actual time=0.080..0.177 rows=15 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
  • Rows Removed by Filter: 23
91. 0.062 0.062 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx44 on notifications_summary_weekly_partitioned_2019_w44 live_ntfn_39 (cost=0.56..3.59 rows=1 width=40) (actual time=0.062..0.062 rows=0 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
92. 0.058 0.058 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx45 on notifications_summary_weekly_partitioned_2019_w45 live_ntfn_40 (cost=0.56..3.59 rows=1 width=40) (actual time=0.058..0.058 rows=0 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
93. 0.006 0.006 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx46 on notifications_summary_weekly_partitioned_2019_w46 live_ntfn_41 (cost=0.14..3.18 rows=1 width=40) (actual time=0.006..0.006 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (get_event.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
94. 0.010 0.010 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx47 on notifications_summary_weekly_partitioned_2019_w47 live_ntfn_42 (cost=0.14..3.18 rows=1 width=40) (actual time=0.010..0.010 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (get_event.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
95. 0.025 0.025 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx48 on notifications_summary_weekly_partitioned_2019_w48 live_ntfn_43 (cost=0.14..3.18 rows=1 width=40) (actual time=0.025..0.025 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (get_event.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
96. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx49 on notifications_summary_weekly_partitioned_2019_w49 live_ntfn_44 (cost=0.14..3.18 rows=1 width=40) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (get_event.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
97. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx50 on notifications_summary_weekly_partitioned_2019_w50 live_ntfn_45 (cost=0.14..3.18 rows=1 width=40) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (get_event.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
98. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx51 on notifications_summary_weekly_partitioned_2019_w51 live_ntfn_46 (cost=0.14..3.18 rows=1 width=40) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (get_event.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
99. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx52 on notifications_summary_weekly_partitioned_2019_w52 live_ntfn_47 (cost=0.14..3.18 rows=1 width=40) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (get_event.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
100. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx53 on notifications_summary_weekly_part_default live_ntfn_48 (cost=0.14..3.18 rows=1 width=40) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $17) AND (pending_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) AND (category = 'LIVE'::text) AND (get_event.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $16)))
101. 0.060 0.315 ↑ 49.0 1 15

Append (cost=0.56..157.61 rows=49 width=72) (actual time=0.010..0.021 rows=1 loops=15)

102. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w5_pkey on notifications_summary_weekly_partitioned_2019_w5 device_ntfn (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
103. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w6_pkey on notifications_summary_weekly_partitioned_2019_w6 device_ntfn_1 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
104. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w7_pkey on notifications_summary_weekly_partitioned_2019_w7 device_ntfn_2 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
105. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w8_pkey on notifications_summary_weekly_partitioned_2019_w8 device_ntfn_3 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
106. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w9_pkey on notifications_summary_weekly_partitioned_2019_w9 device_ntfn_4 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
107. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w10_pkey on notifications_summary_weekly_partitioned_2019_w10 device_ntfn_5 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
108. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w11_pkey on notifications_summary_weekly_partitioned_2019_w11 device_ntfn_6 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
109. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w12_pkey on notifications_summary_weekly_partitioned_2019_w12 device_ntfn_7 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
110. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w13_pkey on notifications_summary_weekly_partitioned_2019_w13 device_ntfn_8 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
111. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w14_pkey on notifications_summary_weekly_partitioned_2019_w14 device_ntfn_9 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
112. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w15_pkey on notifications_summary_weekly_partitioned_2019_w15 device_ntfn_10 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
113. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w16_pkey on notifications_summary_weekly_partitioned_2019_w16 device_ntfn_11 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
114. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w17_pkey on notifications_summary_weekly_partitioned_2019_w17 device_ntfn_12 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
115. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w18_pkey on notifications_summary_weekly_partitioned_2019_w18 device_ntfn_13 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
116. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w19_pkey on notifications_summary_weekly_partitioned_2019_w19 device_ntfn_14 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
117. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w20_pkey on notifications_summary_weekly_partitioned_2019_w20 device_ntfn_15 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
118. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w21_pkey on notifications_summary_weekly_partitioned_2019_w21 device_ntfn_16 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
119. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w22_pkey on notifications_summary_weekly_partitioned_2019_w22 device_ntfn_17 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
120. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w23_pkey on notifications_summary_weekly_partitioned_2019_w23 device_ntfn_18 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
121. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w24_pkey on notifications_summary_weekly_partitioned_2019_w24 device_ntfn_19 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
122. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w25_pkey on notifications_summary_weekly_partitioned_2019_w25 device_ntfn_20 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
123. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w26_pkey on notifications_summary_weekly_partitioned_2019_w26 device_ntfn_21 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
124. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w27_pkey on notifications_summary_weekly_partitioned_2019_w27 device_ntfn_22 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
125. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w28_pkey on notifications_summary_weekly_partitioned_2019_w28 device_ntfn_23 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
126. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w29_pkey on notifications_summary_weekly_partitioned_2019_w29 device_ntfn_24 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
127. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w30_pkey on notifications_summary_weekly_partitioned_2019_w30 device_ntfn_25 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
128. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w31_pkey on notifications_summary_weekly_partitioned_2019_w31 device_ntfn_26 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
129. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w32_pkey on notifications_summary_weekly_partitioned_2019_w32 device_ntfn_27 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
130. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w33_pkey on notifications_summary_weekly_partitioned_2019_w33 device_ntfn_28 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
131. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w34_pkey on notifications_summary_weekly_partitioned_2019_w34 device_ntfn_29 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
132. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w35_pkey on notifications_summary_weekly_partitioned_2019_w35 device_ntfn_30 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
133. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w36_pkey on notifications_summary_weekly_partitioned_2019_w36 device_ntfn_31 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
134. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w37_pkey on notifications_summary_weekly_partitioned_2019_w37 device_ntfn_32 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
135. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w38_pkey on notifications_summary_weekly_partitioned_2019_w38 device_ntfn_33 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
136. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w39_pkey on notifications_summary_weekly_partitioned_2019_w39 device_ntfn_34 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
137. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w40_pkey on notifications_summary_weekly_partitioned_2019_w40 device_ntfn_35 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
138. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w41_pkey on notifications_summary_weekly_partitioned_2019_w41 device_ntfn_36 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
139. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w42_pkey on notifications_summary_weekly_partitioned_2019_w42 device_ntfn_37 (cost=0.56..3.58 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
140. 0.135 0.135 ↑ 1.0 1 15

Index Scan using notifications_summary_weekly_partitioned_2019_w43_pkey on notifications_summary_weekly_partitioned_2019_w43 device_ntfn_38 (cost=0.56..3.59 rows=1 width=72) (actual time=0.009..0.009 rows=1 loops=15)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
141. 0.030 0.030 ↓ 0.0 0 15

Index Scan using notifications_summary_weekly_partitioned_2019_w44_pkey on notifications_summary_weekly_partitioned_2019_w44 device_ntfn_39 (cost=0.56..3.59 rows=1 width=72) (actual time=0.002..0.002 rows=0 loops=15)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
142. 0.045 0.045 ↓ 0.0 0 15

Index Scan using notifications_summary_weekly_partitioned_2019_w45_pkey on notifications_summary_weekly_partitioned_2019_w45 device_ntfn_40 (cost=0.56..3.59 rows=1 width=72) (actual time=0.003..0.003 rows=0 loops=15)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
143. 0.015 0.015 ↓ 0.0 0 15

Index Scan using notifications_summary_weekly_partitioned_2019_w46_pkey on notifications_summary_weekly_partitioned_2019_w46 device_ntfn_41 (cost=0.15..1.26 rows=1 width=72) (actual time=0.001..0.001 rows=0 loops=15)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
144. 0.015 0.015 ↓ 0.0 0 15

Index Scan using notifications_summary_weekly_partitioned_2019_w47_pkey on notifications_summary_weekly_partitioned_2019_w47 device_ntfn_42 (cost=0.15..1.26 rows=1 width=72) (actual time=0.001..0.001 rows=0 loops=15)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
145. 0.015 0.015 ↓ 0.0 0 15

Index Scan using notifications_summary_weekly_partitioned_2019_w48_pkey on notifications_summary_weekly_partitioned_2019_w48 device_ntfn_43 (cost=0.15..1.26 rows=1 width=72) (actual time=0.001..0.001 rows=0 loops=15)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
146. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w49_pkey on notifications_summary_weekly_partitioned_2019_w49 device_ntfn_44 (cost=0.15..1.26 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
147. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w50_pkey on notifications_summary_weekly_partitioned_2019_w50 device_ntfn_45 (cost=0.15..1.26 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
148. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w51_pkey on notifications_summary_weekly_partitioned_2019_w51 device_ntfn_46 (cost=0.15..1.26 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
149. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w52_pkey on notifications_summary_weekly_partitioned_2019_w52 device_ntfn_47 (cost=0.15..1.26 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
150. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_part_default_pkey on notifications_summary_weekly_part_default device_ntfn_48 (cost=0.15..1.26 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = live_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $11)) AND (created_date >= $12))
  • Filter: (category = 'DEVICE'::text)
151. 0.000 0.765 ↓ 0.0 0 15

Append (cost=0.55..3.59 rows=1 width=58) (actual time=0.051..0.051 rows=0 loops=15)

152. 0.765 0.765 ↓ 0.0 0 15

Index Scan using responses_org_part_default_notification_uuid_idx on responses_org_part_default device_response (cost=0.55..3.59 rows=1 width=58) (actual time=0.051..0.051 rows=0 loops=15)

  • Index Cond: (notification_uuid = device_ntfn.notification_uuid)
  • Filter: ((is_visible IS TRUE) AND (valid_range @> '2019-12-10 00:00:00+00'::timestamp with time zone) AND (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (((response)::text || ' '::text) ~~* ANY ($15)))
  • Rows Removed by Filter: 0
153. 0.075 0.420 ↑ 49.0 1 15

Append (cost=0.56..157.39 rows=49 width=72) (actual time=0.007..0.028 rows=1 loops=15)

154. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w5_pkey on notifications_summary_weekly_partitioned_2019_w5 person_ntfn (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
155. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w6_pkey on notifications_summary_weekly_partitioned_2019_w6 person_ntfn_1 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
156. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w7_pkey on notifications_summary_weekly_partitioned_2019_w7 person_ntfn_2 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
157. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w8_pkey on notifications_summary_weekly_partitioned_2019_w8 person_ntfn_3 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
158. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w9_pkey on notifications_summary_weekly_partitioned_2019_w9 person_ntfn_4 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
159. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w10_pkey on notifications_summary_weekly_partitioned_2019_w10 person_ntfn_5 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
160. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w11_pkey on notifications_summary_weekly_partitioned_2019_w11 person_ntfn_6 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
161. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w12_pkey on notifications_summary_weekly_partitioned_2019_w12 person_ntfn_7 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
162. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w13_pkey on notifications_summary_weekly_partitioned_2019_w13 person_ntfn_8 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
163. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w14_pkey on notifications_summary_weekly_partitioned_2019_w14 person_ntfn_9 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
164. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w15_pkey on notifications_summary_weekly_partitioned_2019_w15 person_ntfn_10 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
165. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w16_pkey on notifications_summary_weekly_partitioned_2019_w16 person_ntfn_11 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
166. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w17_pkey on notifications_summary_weekly_partitioned_2019_w17 person_ntfn_12 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
167. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w18_pkey on notifications_summary_weekly_partitioned_2019_w18 person_ntfn_13 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
168. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w19_pkey on notifications_summary_weekly_partitioned_2019_w19 person_ntfn_14 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
169. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w20_pkey on notifications_summary_weekly_partitioned_2019_w20 person_ntfn_15 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
170. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w21_pkey on notifications_summary_weekly_partitioned_2019_w21 person_ntfn_16 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
171. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w22_pkey on notifications_summary_weekly_partitioned_2019_w22 person_ntfn_17 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
172. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w23_pkey on notifications_summary_weekly_partitioned_2019_w23 person_ntfn_18 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
173. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w24_pkey on notifications_summary_weekly_partitioned_2019_w24 person_ntfn_19 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
174. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w25_pkey on notifications_summary_weekly_partitioned_2019_w25 person_ntfn_20 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
175. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w26_pkey on notifications_summary_weekly_partitioned_2019_w26 person_ntfn_21 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
176. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w27_pkey on notifications_summary_weekly_partitioned_2019_w27 person_ntfn_22 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
177. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w28_pkey on notifications_summary_weekly_partitioned_2019_w28 person_ntfn_23 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
178. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w29_pkey on notifications_summary_weekly_partitioned_2019_w29 person_ntfn_24 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
179. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w30_pkey on notifications_summary_weekly_partitioned_2019_w30 person_ntfn_25 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
180. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w31_pkey on notifications_summary_weekly_partitioned_2019_w31 person_ntfn_26 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
181. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w32_pkey on notifications_summary_weekly_partitioned_2019_w32 person_ntfn_27 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
182. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w33_pkey on notifications_summary_weekly_partitioned_2019_w33 person_ntfn_28 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
183. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w34_pkey on notifications_summary_weekly_partitioned_2019_w34 person_ntfn_29 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
184. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w35_pkey on notifications_summary_weekly_partitioned_2019_w35 person_ntfn_30 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
185. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w36_pkey on notifications_summary_weekly_partitioned_2019_w36 person_ntfn_31 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
186. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w37_pkey on notifications_summary_weekly_partitioned_2019_w37 person_ntfn_32 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
187. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w38_pkey on notifications_summary_weekly_partitioned_2019_w38 person_ntfn_33 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
188. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w39_pkey on notifications_summary_weekly_partitioned_2019_w39 person_ntfn_34 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
189. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w40_pkey on notifications_summary_weekly_partitioned_2019_w40 person_ntfn_35 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
190. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w41_pkey on notifications_summary_weekly_partitioned_2019_w41 person_ntfn_36 (cost=0.56..3.59 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
191. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w42_pkey on notifications_summary_weekly_partitioned_2019_w42 person_ntfn_37 (cost=0.56..3.58 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
192. 0.090 0.090 ↑ 1.0 1 15

Index Scan using notifications_summary_weekly_partitioned_2019_w43_pkey on notifications_summary_weekly_partitioned_2019_w43 person_ntfn_38 (cost=0.56..3.59 rows=1 width=72) (actual time=0.006..0.006 rows=1 loops=15)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
193. 0.105 0.105 ↓ 0.0 0 15

Index Scan using notifications_summary_weekly_partitioned_2019_w44_pkey on notifications_summary_weekly_partitioned_2019_w44 person_ntfn_39 (cost=0.56..3.59 rows=1 width=72) (actual time=0.007..0.007 rows=0 loops=15)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
194. 0.105 0.105 ↓ 0.0 0 15

Index Scan using notifications_summary_weekly_partitioned_2019_w45_pkey on notifications_summary_weekly_partitioned_2019_w45 person_ntfn_40 (cost=0.56..3.59 rows=1 width=72) (actual time=0.007..0.007 rows=0 loops=15)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
195. 0.015 0.015 ↓ 0.0 0 15

Index Scan using notifications_summary_weekly_partitioned_2019_w46_pkey on notifications_summary_weekly_partitioned_2019_w46 person_ntfn_41 (cost=0.15..1.23 rows=1 width=72) (actual time=0.001..0.001 rows=0 loops=15)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
196. 0.015 0.015 ↓ 0.0 0 15

Index Scan using notifications_summary_weekly_partitioned_2019_w47_pkey on notifications_summary_weekly_partitioned_2019_w47 person_ntfn_42 (cost=0.15..1.23 rows=1 width=72) (actual time=0.001..0.001 rows=0 loops=15)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
197. 0.015 0.015 ↓ 0.0 0 15

Index Scan using notifications_summary_weekly_partitioned_2019_w48_pkey on notifications_summary_weekly_partitioned_2019_w48 person_ntfn_43 (cost=0.15..1.23 rows=1 width=72) (actual time=0.001..0.001 rows=0 loops=15)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
198. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w49_pkey on notifications_summary_weekly_partitioned_2019_w49 person_ntfn_44 (cost=0.15..1.23 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
199. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w50_pkey on notifications_summary_weekly_partitioned_2019_w50 person_ntfn_45 (cost=0.15..1.23 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
200. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w51_pkey on notifications_summary_weekly_partitioned_2019_w51 person_ntfn_46 (cost=0.15..1.23 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
201. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w52_pkey on notifications_summary_weekly_partitioned_2019_w52 person_ntfn_47 (cost=0.15..1.23 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
202. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_part_default_pkey on notifications_summary_weekly_part_default person_ntfn_48 (cost=0.15..1.23 rows=1 width=72) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = device_ntfn.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $13)) AND (created_date >= $14))
  • Filter: (category = 'PERSON'::text)
203. 0.004 0.261 ↓ 4.0 4 1

Nested Loop Left Join (cost=1.20..177.36 rows=1 width=314) (actual time=0.103..0.261 rows=4 loops=1)

  • Join Filter: (person_resp_ntfn.responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)
204.          

Initplan (forNested Loop Left Join)

205. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_lowered_responses_pattern_array rc_3 (cost=0.00..0.02 rows=1 width=32) (actual time=0.001..0.001 rows=1 loops=1)

206. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event_closing_max e_11 (cost=0.00..0.02 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=1)

207. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event_created_min e_12 (cost=0.00..0.02 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=1)

208. 0.036 0.158 ↓ 4.0 4 1

Nested Loop (cost=0.58..173.68 rows=1 width=88) (actual time=0.077..0.158 rows=4 loops=1)

209. 0.004 0.005 ↑ 1.0 1 1

HashAggregate (cost=0.02..0.03 rows=1 width=16) (actual time=0.005..0.005 rows=1 loops=1)

  • Group Key: get_event_1.event_uuid
210. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event get_event_1 (cost=0.00..0.02 rows=1 width=16) (actual time=0.001..0.001 rows=1 loops=1)

211. 0.013 0.117 ↑ 12.2 4 1

Append (cost=0.56..173.16 rows=49 width=88) (actual time=0.037..0.117 rows=4 loops=1)

212. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly__organization_uuid_event_uuid_idx5 on notifications_summary_weekly_partitioned_2019_w5 person_resp_ntfn (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
213. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly__organization_uuid_event_uuid_idx6 on notifications_summary_weekly_partitioned_2019_w6 person_resp_ntfn_1 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
214. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly__organization_uuid_event_uuid_idx7 on notifications_summary_weekly_partitioned_2019_w7 person_resp_ntfn_2 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
215. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly__organization_uuid_event_uuid_idx8 on notifications_summary_weekly_partitioned_2019_w8 person_resp_ntfn_3 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
216. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly__organization_uuid_event_uuid_idx9 on notifications_summary_weekly_partitioned_2019_w9 person_resp_ntfn_4 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
217. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx10 on notifications_summary_weekly_partitioned_2019_w10 person_resp_ntfn_5 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
218. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx11 on notifications_summary_weekly_partitioned_2019_w11 person_resp_ntfn_6 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
219. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx12 on notifications_summary_weekly_partitioned_2019_w12 person_resp_ntfn_7 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
220. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx13 on notifications_summary_weekly_partitioned_2019_w13 person_resp_ntfn_8 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
221. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx14 on notifications_summary_weekly_partitioned_2019_w14 person_resp_ntfn_9 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
222. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx15 on notifications_summary_weekly_partitioned_2019_w15 person_resp_ntfn_10 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
223. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx16 on notifications_summary_weekly_partitioned_2019_w16 person_resp_ntfn_11 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
224. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx17 on notifications_summary_weekly_partitioned_2019_w17 person_resp_ntfn_12 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
225. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx18 on notifications_summary_weekly_partitioned_2019_w18 person_resp_ntfn_13 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
226. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx19 on notifications_summary_weekly_partitioned_2019_w19 person_resp_ntfn_14 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
227. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx20 on notifications_summary_weekly_partitioned_2019_w20 person_resp_ntfn_15 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
228. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx21 on notifications_summary_weekly_partitioned_2019_w21 person_resp_ntfn_16 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
229. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx22 on notifications_summary_weekly_partitioned_2019_w22 person_resp_ntfn_17 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
230. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx23 on notifications_summary_weekly_partitioned_2019_w23 person_resp_ntfn_18 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
231. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx24 on notifications_summary_weekly_partitioned_2019_w24 person_resp_ntfn_19 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
232. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx25 on notifications_summary_weekly_partitioned_2019_w25 person_resp_ntfn_20 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
233. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx26 on notifications_summary_weekly_partitioned_2019_w26 person_resp_ntfn_21 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
234. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx27 on notifications_summary_weekly_partitioned_2019_w27 person_resp_ntfn_22 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
235. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx28 on notifications_summary_weekly_partitioned_2019_w28 person_resp_ntfn_23 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
236. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx29 on notifications_summary_weekly_partitioned_2019_w29 person_resp_ntfn_24 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
237. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx30 on notifications_summary_weekly_partitioned_2019_w30 person_resp_ntfn_25 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
238. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx31 on notifications_summary_weekly_partitioned_2019_w31 person_resp_ntfn_26 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
239. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx32 on notifications_summary_weekly_partitioned_2019_w32 person_resp_ntfn_27 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
240. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx33 on notifications_summary_weekly_partitioned_2019_w33 person_resp_ntfn_28 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
241. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx34 on notifications_summary_weekly_partitioned_2019_w34 person_resp_ntfn_29 (cost=0.56..3.59 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
242. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx35 on notifications_summary_weekly_partitioned_2019_w35 person_resp_ntfn_30 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
243. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx36 on notifications_summary_weekly_partitioned_2019_w36 person_resp_ntfn_31 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
244. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx37 on notifications_summary_weekly_partitioned_2019_w37 person_resp_ntfn_32 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
245. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx38 on notifications_summary_weekly_partitioned_2019_w38 person_resp_ntfn_33 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
246. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx39 on notifications_summary_weekly_partitioned_2019_w39 person_resp_ntfn_34 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
247. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx40 on notifications_summary_weekly_partitioned_2019_w40 person_resp_ntfn_35 (cost=0.56..3.60 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
248. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx41 on notifications_summary_weekly_partitioned_2019_w41 person_resp_ntfn_36 (cost=0.56..3.59 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
249. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx42 on notifications_summary_weekly_partitioned_2019_w42 person_resp_ntfn_37 (cost=0.56..3.59 rows=1 width=88) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
250. 0.042 0.042 ↓ 4.0 4 1

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx43 on notifications_summary_weekly_partitioned_2019_w43 person_resp_ntfn_38 (cost=0.56..3.60 rows=1 width=88) (actual time=0.025..0.042 rows=4 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
  • Rows Removed by Filter: 34
251. 0.010 0.010 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx44 on notifications_summary_weekly_partitioned_2019_w44 person_resp_ntfn_39 (cost=0.56..3.60 rows=1 width=88) (actual time=0.010..0.010 rows=0 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
252. 0.012 0.012 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx45 on notifications_summary_weekly_partitioned_2019_w45 person_resp_ntfn_40 (cost=0.56..3.60 rows=1 width=88) (actual time=0.012..0.012 rows=0 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event_1.event_uuid))
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
253. 0.006 0.006 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx46 on notifications_summary_weekly_partitioned_2019_w46 person_resp_ntfn_41 (cost=0.14..3.18 rows=1 width=88) (actual time=0.006..0.006 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (get_event_1.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
254. 0.006 0.006 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx47 on notifications_summary_weekly_partitioned_2019_w47 person_resp_ntfn_42 (cost=0.14..3.18 rows=1 width=88) (actual time=0.006..0.006 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (get_event_1.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
255. 0.028 0.028 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx48 on notifications_summary_weekly_partitioned_2019_w48 person_resp_ntfn_43 (cost=0.14..3.18 rows=1 width=88) (actual time=0.028..0.028 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (get_event_1.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
256. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx49 on notifications_summary_weekly_partitioned_2019_w49 person_resp_ntfn_44 (cost=0.14..3.18 rows=1 width=88) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (get_event_1.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
257. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx50 on notifications_summary_weekly_partitioned_2019_w50 person_resp_ntfn_45 (cost=0.14..3.18 rows=1 width=88) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (get_event_1.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
258. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx51 on notifications_summary_weekly_partitioned_2019_w51 person_resp_ntfn_46 (cost=0.14..3.18 rows=1 width=88) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (get_event_1.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
259. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx52 on notifications_summary_weekly_partitioned_2019_w52 person_resp_ntfn_47 (cost=0.14..3.18 rows=1 width=88) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (get_event_1.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
260. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_organization_uuid_event_uuid_idx53 on notifications_summary_weekly_part_default person_resp_ntfn_48 (cost=0.14..3.18 rows=1 width=88) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $20) AND (category = 'PERSON'::text) AND (get_event_1.event_uuid = event_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $19)) AND ((responded_date <= '2019-12-10 00:00:00+00'::timestamp with time zone) OR (failed_date <= '2019-12-10 00:00:00+00'::timestamp with time zone)))
261. 0.004 0.096 ↓ 0.0 0 4

Append (cost=0.55..3.59 rows=1 width=58) (actual time=0.024..0.024 rows=0 loops=4)

262. 0.092 0.092 ↓ 0.0 0 4

Index Scan using responses_org_part_default_notification_uuid_idx on responses_org_part_default pr_1 (cost=0.55..3.59 rows=1 width=58) (actual time=0.023..0.023 rows=0 loops=4)

  • Index Cond: (notification_uuid = person_resp_ntfn.notification_uuid)
  • Filter: ((is_visible IS TRUE) AND (valid_range @> '2019-12-10 00:00:00+00'::timestamp with time zone) AND (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (((response)::text || ' '::text) ~~* ANY ($18)))
  • Rows Removed by Filter: 0
263.          

CTE get_teams

264. 0.007 0.533 ↑ 3.0 1 1

GroupAggregate (cost=496.63..496.71 rows=3 width=56) (actual time=0.533..0.533 rows=1 loops=1)

  • Group Key: team_ntfns.team_ntfn_uuid, team_ntfns.team_parent_ntfn_uuid
265. 0.026 0.526 ↓ 1.7 5 1

Sort (cost=496.63..496.64 rows=3 width=56) (actual time=0.526..0.526 rows=5 loops=1)

  • Sort Key: team_ntfns.team_ntfn_uuid, team_ntfns.team_parent_ntfn_uuid
  • Sort Method: quicksort Memory: 25kB
266. 0.001 0.500 ↓ 1.7 5 1

Subquery Scan on team_ntfns (cost=496.49..496.61 rows=3 width=56) (actual time=0.498..0.500 rows=5 loops=1)

267. 0.009 0.499 ↓ 1.7 5 1

GroupAggregate (cost=496.49..496.58 rows=3 width=72) (actual time=0.497..0.499 rows=5 loops=1)

  • Group Key: en.person_ntfn_uuid, en.team_ntfn_uuid, en.team_parent_ntfn_uuid
268. 0.013 0.490 ↓ 1.7 5 1

Sort (cost=496.49..496.50 rows=3 width=80) (actual time=0.489..0.490 rows=5 loops=1)

  • Sort Key: en.person_ntfn_uuid, en.team_ntfn_uuid, en.team_parent_ntfn_uuid
  • Sort Method: quicksort Memory: 25kB
269. 0.001 0.477 ↓ 1.7 5 1

Subquery Scan on en (cost=496.34..496.47 rows=3 width=80) (actual time=0.471..0.477 rows=5 loops=1)

270. 0.012 0.476 ↓ 1.7 5 1

GroupAggregate (cost=496.34..496.44 rows=3 width=128) (actual time=0.470..0.476 rows=5 loops=1)

  • Group Key: n.person_uuid, n.person_ntfn_uuid, team_ntfn.notification_uuid, team_ntfn.parent_ntfn_uuid
271.          

Initplan (forGroupAggregate)

272. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event_closing_max e_13 (cost=0.00..0.02 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=1)

273. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event_created_min e_14 (cost=0.00..0.02 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=1)

274. 0.026 0.462 ↓ 6.3 19 1

Sort (cost=496.30..496.31 rows=3 width=96) (actual time=0.461..0.462 rows=19 loops=1)

  • Sort Key: n.person_uuid, n.person_ntfn_uuid, team_ntfn.notification_uuid, team_ntfn.parent_ntfn_uuid
  • Sort Method: quicksort Memory: 27kB
275. 0.068 0.436 ↓ 6.3 19 1

Nested Loop (cost=0.56..496.28 rows=3 width=96) (actual time=0.102..0.436 rows=19 loops=1)

276. 0.007 0.007 ↓ 6.3 19 1

CTE Scan on get_person_device_notifications n (cost=0.00..0.06 rows=3 width=80) (actual time=0.001..0.007 rows=19 loops=1)

277. 0.057 0.361 ↑ 49.0 1 19

Append (cost=0.56..164.92 rows=49 width=32) (actual time=0.006..0.019 rows=1 loops=19)

278. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w5_pkey on notifications_summary_weekly_partitioned_2019_w5 team_ntfn (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
279. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w6_pkey on notifications_summary_weekly_partitioned_2019_w6 team_ntfn_1 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
280. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w7_pkey on notifications_summary_weekly_partitioned_2019_w7 team_ntfn_2 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
281. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w8_pkey on notifications_summary_weekly_partitioned_2019_w8 team_ntfn_3 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
282. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w9_pkey on notifications_summary_weekly_partitioned_2019_w9 team_ntfn_4 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
283. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w10_pkey on notifications_summary_weekly_partitioned_2019_w10 team_ntfn_5 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
284. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w11_pkey on notifications_summary_weekly_partitioned_2019_w11 team_ntfn_6 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
285. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w12_pkey on notifications_summary_weekly_partitioned_2019_w12 team_ntfn_7 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
286. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w13_pkey on notifications_summary_weekly_partitioned_2019_w13 team_ntfn_8 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
287. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w14_pkey on notifications_summary_weekly_partitioned_2019_w14 team_ntfn_9 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
288. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w15_pkey on notifications_summary_weekly_partitioned_2019_w15 team_ntfn_10 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
289. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w16_pkey on notifications_summary_weekly_partitioned_2019_w16 team_ntfn_11 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
290. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w17_pkey on notifications_summary_weekly_partitioned_2019_w17 team_ntfn_12 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
291. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w18_pkey on notifications_summary_weekly_partitioned_2019_w18 team_ntfn_13 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
292. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w19_pkey on notifications_summary_weekly_partitioned_2019_w19 team_ntfn_14 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
293. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w20_pkey on notifications_summary_weekly_partitioned_2019_w20 team_ntfn_15 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
294. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w21_pkey on notifications_summary_weekly_partitioned_2019_w21 team_ntfn_16 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
295. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w22_pkey on notifications_summary_weekly_partitioned_2019_w22 team_ntfn_17 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
296. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w23_pkey on notifications_summary_weekly_partitioned_2019_w23 team_ntfn_18 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
297. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w24_pkey on notifications_summary_weekly_partitioned_2019_w24 team_ntfn_19 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
298. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w25_pkey on notifications_summary_weekly_partitioned_2019_w25 team_ntfn_20 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
299. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w26_pkey on notifications_summary_weekly_partitioned_2019_w26 team_ntfn_21 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
300. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w27_pkey on notifications_summary_weekly_partitioned_2019_w27 team_ntfn_22 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
301. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w28_pkey on notifications_summary_weekly_partitioned_2019_w28 team_ntfn_23 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
302. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w29_pkey on notifications_summary_weekly_partitioned_2019_w29 team_ntfn_24 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
303. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w30_pkey on notifications_summary_weekly_partitioned_2019_w30 team_ntfn_25 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
304. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w31_pkey on notifications_summary_weekly_partitioned_2019_w31 team_ntfn_26 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
305. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w32_pkey on notifications_summary_weekly_partitioned_2019_w32 team_ntfn_27 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
306. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w33_pkey on notifications_summary_weekly_partitioned_2019_w33 team_ntfn_28 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
307. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w34_pkey on notifications_summary_weekly_partitioned_2019_w34 team_ntfn_29 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
308. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w35_pkey on notifications_summary_weekly_partitioned_2019_w35 team_ntfn_30 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
309. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w36_pkey on notifications_summary_weekly_partitioned_2019_w36 team_ntfn_31 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
310. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w37_pkey on notifications_summary_weekly_partitioned_2019_w37 team_ntfn_32 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
311. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w38_pkey on notifications_summary_weekly_partitioned_2019_w38 team_ntfn_33 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
312. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w39_pkey on notifications_summary_weekly_partitioned_2019_w39 team_ntfn_34 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
313. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w40_pkey on notifications_summary_weekly_partitioned_2019_w40 team_ntfn_35 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
314. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w41_pkey on notifications_summary_weekly_partitioned_2019_w41 team_ntfn_36 (cost=0.56..3.59 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
315. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w42_pkey on notifications_summary_weekly_partitioned_2019_w42 team_ntfn_37 (cost=0.56..3.58 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
316. 0.095 0.095 ↑ 1.0 1 19

Index Scan using notifications_summary_weekly_partitioned_2019_w43_pkey on notifications_summary_weekly_partitioned_2019_w43 team_ntfn_38 (cost=0.56..3.59 rows=1 width=32) (actual time=0.005..0.005 rows=1 loops=19)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
317. 0.057 0.057 ↓ 0.0 0 19

Index Scan using notifications_summary_weekly_partitioned_2019_w44_pkey on notifications_summary_weekly_partitioned_2019_w44 team_ntfn_39 (cost=0.56..3.59 rows=1 width=32) (actual time=0.003..0.003 rows=0 loops=19)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
318. 0.095 0.095 ↓ 0.0 0 19

Index Scan using notifications_summary_weekly_partitioned_2019_w45_pkey on notifications_summary_weekly_partitioned_2019_w45 team_ntfn_40 (cost=0.56..3.59 rows=1 width=32) (actual time=0.005..0.005 rows=0 loops=19)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
319. 0.019 0.019 ↓ 0.0 0 19

Index Scan using notifications_summary_weekly_partitioned_2019_w46_pkey on notifications_summary_weekly_partitioned_2019_w46 team_ntfn_41 (cost=0.15..2.18 rows=1 width=32) (actual time=0.001..0.001 rows=0 loops=19)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
320. 0.019 0.019 ↓ 0.0 0 19

Index Scan using notifications_summary_weekly_partitioned_2019_w47_pkey on notifications_summary_weekly_partitioned_2019_w47 team_ntfn_42 (cost=0.15..2.18 rows=1 width=32) (actual time=0.001..0.001 rows=0 loops=19)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
321. 0.019 0.019 ↓ 0.0 0 19

Index Scan using notifications_summary_weekly_partitioned_2019_w48_pkey on notifications_summary_weekly_partitioned_2019_w48 team_ntfn_43 (cost=0.15..2.18 rows=1 width=32) (actual time=0.001..0.001 rows=0 loops=19)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
322. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w49_pkey on notifications_summary_weekly_partitioned_2019_w49 team_ntfn_44 (cost=0.15..2.18 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
323. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w50_pkey on notifications_summary_weekly_partitioned_2019_w50 team_ntfn_45 (cost=0.15..2.18 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
324. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w51_pkey on notifications_summary_weekly_partitioned_2019_w51 team_ntfn_46 (cost=0.15..2.18 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
325. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w52_pkey on notifications_summary_weekly_partitioned_2019_w52 team_ntfn_47 (cost=0.15..2.18 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
326. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_part_default_pkey on notifications_summary_weekly_part_default team_ntfn_48 (cost=0.15..2.18 rows=1 width=32) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = n.team_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $28)) AND (created_date >= $29))
  • Filter: (category = 'TEAM'::text)
327.          

CTE get_team_groups

328. 0.008 0.816 ↑ 151.5 2 1

Recursive Union (cost=0.67..46,891.06 rows=303 width=77) (actual time=0.608..0.816 rows=2 loops=1)

329. 0.037 0.662 ↑ 3.0 1 1

Nested Loop (cost=0.67..496.35 rows=3 width=77) (actual time=0.604..0.662 rows=1 loops=1)

330.          

Initplan (forNested Loop)

331. 0.000 0.000 ↑ 1.0 1 1

CTE Scan on get_event_closing_max e_15 (cost=0.00..0.02 rows=1 width=8) (actual time=0.000..0.000 rows=1 loops=1)

332. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event_created_min e_16 (cost=0.00..0.02 rows=1 width=8) (actual time=0.000..0.001 rows=1 loops=1)

333. 0.004 0.539 ↑ 3.0 1 1

HashAggregate (cost=0.07..0.10 rows=3 width=16) (actual time=0.539..0.539 rows=1 loops=1)

  • Group Key: get_teams.team_ntfn_uuid
334. 0.535 0.535 ↑ 3.0 1 1

CTE Scan on get_teams (cost=0.00..0.06 rows=3 width=16) (actual time=0.534..0.535 rows=1 loops=1)

335. 0.020 0.085 ↑ 49.0 1 1

Append (cost=0.56..164.92 rows=49 width=57) (actual time=0.028..0.085 rows=1 loops=1)

336. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w5_pkey on notifications_summary_weekly_partitioned_2019_w5 team_ntfn_49 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
337. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w6_pkey on notifications_summary_weekly_partitioned_2019_w6 team_ntfn_50 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
338. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w7_pkey on notifications_summary_weekly_partitioned_2019_w7 team_ntfn_51 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
339. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w8_pkey on notifications_summary_weekly_partitioned_2019_w8 team_ntfn_52 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
340. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w9_pkey on notifications_summary_weekly_partitioned_2019_w9 team_ntfn_53 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
341. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w10_pkey on notifications_summary_weekly_partitioned_2019_w10 team_ntfn_54 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
342. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w11_pkey on notifications_summary_weekly_partitioned_2019_w11 team_ntfn_55 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
343. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w12_pkey on notifications_summary_weekly_partitioned_2019_w12 team_ntfn_56 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
344. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w13_pkey on notifications_summary_weekly_partitioned_2019_w13 team_ntfn_57 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
345. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w14_pkey on notifications_summary_weekly_partitioned_2019_w14 team_ntfn_58 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
346. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w15_pkey on notifications_summary_weekly_partitioned_2019_w15 team_ntfn_59 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
347. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w16_pkey on notifications_summary_weekly_partitioned_2019_w16 team_ntfn_60 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
348. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w17_pkey on notifications_summary_weekly_partitioned_2019_w17 team_ntfn_61 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
349. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w18_pkey on notifications_summary_weekly_partitioned_2019_w18 team_ntfn_62 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
350. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w19_pkey on notifications_summary_weekly_partitioned_2019_w19 team_ntfn_63 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
351. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w20_pkey on notifications_summary_weekly_partitioned_2019_w20 team_ntfn_64 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
352. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w21_pkey on notifications_summary_weekly_partitioned_2019_w21 team_ntfn_65 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
353. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w22_pkey on notifications_summary_weekly_partitioned_2019_w22 team_ntfn_66 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
354. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w23_pkey on notifications_summary_weekly_partitioned_2019_w23 team_ntfn_67 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
355. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w24_pkey on notifications_summary_weekly_partitioned_2019_w24 team_ntfn_68 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
356. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w25_pkey on notifications_summary_weekly_partitioned_2019_w25 team_ntfn_69 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
357. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w26_pkey on notifications_summary_weekly_partitioned_2019_w26 team_ntfn_70 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
358. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w27_pkey on notifications_summary_weekly_partitioned_2019_w27 team_ntfn_71 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
359. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w28_pkey on notifications_summary_weekly_partitioned_2019_w28 team_ntfn_72 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
360. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w29_pkey on notifications_summary_weekly_partitioned_2019_w29 team_ntfn_73 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
361. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w30_pkey on notifications_summary_weekly_partitioned_2019_w30 team_ntfn_74 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
362. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w31_pkey on notifications_summary_weekly_partitioned_2019_w31 team_ntfn_75 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
363. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w32_pkey on notifications_summary_weekly_partitioned_2019_w32 team_ntfn_76 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
364. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w33_pkey on notifications_summary_weekly_partitioned_2019_w33 team_ntfn_77 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
365. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w34_pkey on notifications_summary_weekly_partitioned_2019_w34 team_ntfn_78 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
366. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w35_pkey on notifications_summary_weekly_partitioned_2019_w35 team_ntfn_79 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
367. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w36_pkey on notifications_summary_weekly_partitioned_2019_w36 team_ntfn_80 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
368. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w37_pkey on notifications_summary_weekly_partitioned_2019_w37 team_ntfn_81 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
369. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w38_pkey on notifications_summary_weekly_partitioned_2019_w38 team_ntfn_82 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
370. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w39_pkey on notifications_summary_weekly_partitioned_2019_w39 team_ntfn_83 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
371. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w40_pkey on notifications_summary_weekly_partitioned_2019_w40 team_ntfn_84 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
372. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w41_pkey on notifications_summary_weekly_partitioned_2019_w41 team_ntfn_85 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
373. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w42_pkey on notifications_summary_weekly_partitioned_2019_w42 team_ntfn_86 (cost=0.56..3.58 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
374. 0.019 0.019 ↑ 1.0 1 1

Index Scan using notifications_summary_weekly_partitioned_2019_w43_pkey on notifications_summary_weekly_partitioned_2019_w43 team_ntfn_87 (cost=0.56..3.59 rows=1 width=54) (actual time=0.019..0.019 rows=1 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
375. 0.019 0.019 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_partitioned_2019_w44_pkey on notifications_summary_weekly_partitioned_2019_w44 team_ntfn_88 (cost=0.56..3.59 rows=1 width=54) (actual time=0.019..0.019 rows=0 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
376. 0.008 0.008 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_partitioned_2019_w45_pkey on notifications_summary_weekly_partitioned_2019_w45 team_ntfn_89 (cost=0.56..3.59 rows=1 width=54) (actual time=0.008..0.008 rows=0 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
377. 0.005 0.005 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_partitioned_2019_w46_pkey on notifications_summary_weekly_partitioned_2019_w46 team_ntfn_90 (cost=0.15..2.18 rows=1 width=80) (actual time=0.005..0.005 rows=0 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
378. 0.008 0.008 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_partitioned_2019_w47_pkey on notifications_summary_weekly_partitioned_2019_w47 team_ntfn_91 (cost=0.15..2.18 rows=1 width=80) (actual time=0.008..0.008 rows=0 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
379. 0.006 0.006 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_partitioned_2019_w48_pkey on notifications_summary_weekly_partitioned_2019_w48 team_ntfn_92 (cost=0.15..2.18 rows=1 width=80) (actual time=0.006..0.006 rows=0 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
380. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w49_pkey on notifications_summary_weekly_partitioned_2019_w49 team_ntfn_93 (cost=0.15..2.18 rows=1 width=80) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
381. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w50_pkey on notifications_summary_weekly_partitioned_2019_w50 team_ntfn_94 (cost=0.15..2.18 rows=1 width=80) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
382. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w51_pkey on notifications_summary_weekly_partitioned_2019_w51 team_ntfn_95 (cost=0.15..2.18 rows=1 width=80) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
383. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w52_pkey on notifications_summary_weekly_partitioned_2019_w52 team_ntfn_96 (cost=0.15..2.18 rows=1 width=80) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
384. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_part_default_pkey on notifications_summary_weekly_part_default team_ntfn_97 (cost=0.15..2.18 rows=1 width=80) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = get_teams.team_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $33)) AND (created_date >= $34))
  • Filter: (category = 'TEAM'::text)
385. 0.039 0.146 ↓ 0.0 0 2

Nested Loop (cost=0.60..4,638.86 rows=30 width=76) (actual time=0.042..0.073 rows=0 loops=2)

386.          

Initplan (forNested Loop)

387. 0.000 0.000 ↑ 1.0 1 1

CTE Scan on get_event_closing_max e_17 (cost=0.00..0.02 rows=1 width=8) (actual time=0.000..0.000 rows=1 loops=1)

388. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event_created_min e_18 (cost=0.00..0.02 rows=1 width=8) (actual time=0.000..0.001 rows=1 loops=1)

389. 0.004 0.004 ↑ 30.0 1 2

WorkTable Scan on get_team_groups tg_1 (cost=0.00..0.60 rows=30 width=36) (actual time=0.002..0.002 rows=1 loops=2)

390. 0.022 0.102 ↓ 0.0 0 2

Append (cost=0.56..154.11 rows=49 width=56) (actual time=0.021..0.051 rows=0 loops=2)

391. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w5_pkey on notifications_summary_weekly_partitioned_2019_w5 n_1 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
392. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w6_pkey on notifications_summary_weekly_partitioned_2019_w6 n_2 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
393. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w7_pkey on notifications_summary_weekly_partitioned_2019_w7 n_3 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
394. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w8_pkey on notifications_summary_weekly_partitioned_2019_w8 n_4 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
395. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w9_pkey on notifications_summary_weekly_partitioned_2019_w9 n_5 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
396. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w10_pkey on notifications_summary_weekly_partitioned_2019_w10 n_6 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
397. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w11_pkey on notifications_summary_weekly_partitioned_2019_w11 n_7 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
398. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w12_pkey on notifications_summary_weekly_partitioned_2019_w12 n_8 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
399. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w13_pkey on notifications_summary_weekly_partitioned_2019_w13 n_9 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
400. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w14_pkey on notifications_summary_weekly_partitioned_2019_w14 n_10 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
401. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w15_pkey on notifications_summary_weekly_partitioned_2019_w15 n_11 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
402. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w16_pkey on notifications_summary_weekly_partitioned_2019_w16 n_12 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
403. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w17_pkey on notifications_summary_weekly_partitioned_2019_w17 n_13 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
404. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w18_pkey on notifications_summary_weekly_partitioned_2019_w18 n_14 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
405. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w19_pkey on notifications_summary_weekly_partitioned_2019_w19 n_15 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
406. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w20_pkey on notifications_summary_weekly_partitioned_2019_w20 n_16 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
407. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w21_pkey on notifications_summary_weekly_partitioned_2019_w21 n_17 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
408. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w22_pkey on notifications_summary_weekly_partitioned_2019_w22 n_18 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
409. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w23_pkey on notifications_summary_weekly_partitioned_2019_w23 n_19 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
410. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w24_pkey on notifications_summary_weekly_partitioned_2019_w24 n_20 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
411. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w25_pkey on notifications_summary_weekly_partitioned_2019_w25 n_21 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
412. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w26_pkey on notifications_summary_weekly_partitioned_2019_w26 n_22 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
413. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w27_pkey on notifications_summary_weekly_partitioned_2019_w27 n_23 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
414. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w28_pkey on notifications_summary_weekly_partitioned_2019_w28 n_24 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
415. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w29_pkey on notifications_summary_weekly_partitioned_2019_w29 n_25 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
416. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w30_pkey on notifications_summary_weekly_partitioned_2019_w30 n_26 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
417. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w31_pkey on notifications_summary_weekly_partitioned_2019_w31 n_27 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
418. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w32_pkey on notifications_summary_weekly_partitioned_2019_w32 n_28 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
419. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w33_pkey on notifications_summary_weekly_partitioned_2019_w33 n_29 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
420. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w34_pkey on notifications_summary_weekly_partitioned_2019_w34 n_30 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
421. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w35_pkey on notifications_summary_weekly_partitioned_2019_w35 n_31 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
422. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w36_pkey on notifications_summary_weekly_partitioned_2019_w36 n_32 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
423. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w37_pkey on notifications_summary_weekly_partitioned_2019_w37 n_33 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
424. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w38_pkey on notifications_summary_weekly_partitioned_2019_w38 n_34 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
425. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w39_pkey on notifications_summary_weekly_partitioned_2019_w39 n_35 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
426. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w40_pkey on notifications_summary_weekly_partitioned_2019_w40 n_36 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
427. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w41_pkey on notifications_summary_weekly_partitioned_2019_w41 n_37 (cost=0.56..3.59 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
428. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w42_pkey on notifications_summary_weekly_partitioned_2019_w42 n_38 (cost=0.56..3.58 rows=1 width=54) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
429. 0.022 0.022 ↓ 0.0 0 2

Index Scan using notifications_summary_weekly_partitioned_2019_w43_pkey on notifications_summary_weekly_partitioned_2019_w43 n_39 (cost=0.56..3.59 rows=1 width=54) (actual time=0.010..0.011 rows=0 loops=2)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
  • Rows Removed by Filter: 0
430. 0.010 0.010 ↓ 0.0 0 2

Index Scan using notifications_summary_weekly_partitioned_2019_w44_pkey on notifications_summary_weekly_partitioned_2019_w44 n_40 (cost=0.56..3.59 rows=1 width=54) (actual time=0.005..0.005 rows=0 loops=2)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
431. 0.012 0.012 ↓ 0.0 0 2

Index Scan using notifications_summary_weekly_partitioned_2019_w45_pkey on notifications_summary_weekly_partitioned_2019_w45 n_41 (cost=0.56..3.59 rows=1 width=54) (actual time=0.006..0.006 rows=0 loops=2)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
432. 0.006 0.006 ↓ 0.0 0 2

Index Scan using notifications_summary_weekly_partitioned_2019_w46_pkey on notifications_summary_weekly_partitioned_2019_w46 n_42 (cost=0.15..0.82 rows=1 width=80) (actual time=0.003..0.003 rows=0 loops=2)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
433. 0.006 0.006 ↓ 0.0 0 2

Index Scan using notifications_summary_weekly_partitioned_2019_w47_pkey on notifications_summary_weekly_partitioned_2019_w47 n_43 (cost=0.15..0.82 rows=1 width=80) (actual time=0.003..0.003 rows=0 loops=2)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
434. 0.024 0.024 ↓ 0.0 0 2

Index Scan using notifications_summary_weekly_partitioned_2019_w48_pkey on notifications_summary_weekly_partitioned_2019_w48 n_44 (cost=0.15..0.82 rows=1 width=80) (actual time=0.012..0.012 rows=0 loops=2)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
435. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w49_pkey on notifications_summary_weekly_partitioned_2019_w49 n_45 (cost=0.15..0.82 rows=1 width=80) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
436. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w50_pkey on notifications_summary_weekly_partitioned_2019_w50 n_46 (cost=0.15..0.82 rows=1 width=80) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
437. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w51_pkey on notifications_summary_weekly_partitioned_2019_w51 n_47 (cost=0.15..0.82 rows=1 width=80) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
438. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w52_pkey on notifications_summary_weekly_partitioned_2019_w52 n_48 (cost=0.15..0.82 rows=1 width=80) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
439. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_part_default_pkey on notifications_summary_weekly_part_default n_49 (cost=0.15..0.82 rows=1 width=80) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = tg_1.parent_ntfn_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $35)) AND (created_date >= $36))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
440.          

CTE get_targeted_groups

441. 0.002 1.119 ↑ 1.0 1 1

Nested Loop Left Join (cost=12.39..186.81 rows=1 width=148) (actual time=1.064..1.119 rows=1 loops=1)

442.          

Initplan (forNested Loop Left Join)

443. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event_closing_max e_19 (cost=0.00..0.02 rows=1 width=8) (actual time=0.000..0.001 rows=1 loops=1)

444. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event_created_min e_20 (cost=0.00..0.02 rows=1 width=8) (actual time=0.000..0.001 rows=1 loops=1)

445. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event_created_max e_21 (cost=0.00..0.02 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=1)

446. 0.036 0.986 ↑ 1.0 1 1

Nested Loop (cost=7.56..180.45 rows=1 width=112) (actual time=0.932..0.986 rows=1 loops=1)

447. 0.008 0.876 ↑ 1.0 1 1

GroupAggregate (cost=7.00..7.03 rows=1 width=88) (actual time=0.876..0.876 rows=1 loops=1)

  • Group Key: team_group.notification_uuid, team_group.recipient_uuid
448. 0.008 0.868 ↑ 1.0 1 1

Sort (cost=7.00..7.00 rows=1 width=72) (actual time=0.868..0.868 rows=1 loops=1)

  • Sort Key: team_group.notification_uuid, team_group.recipient_uuid
  • Sort Method: quicksort Memory: 25kB
449. 0.003 0.860 ↑ 1.0 1 1

Nested Loop (cost=6.83..6.99 rows=1 width=72) (actual time=0.859..0.860 rows=1 loops=1)

  • Join Filter: (team_group.root_uuid = team.team_ntfn_uuid)
450. 0.002 0.857 ↑ 1.0 1 1

Subquery Scan on team_group (cost=6.83..6.89 rows=1 width=48) (actual time=0.856..0.857 rows=1 loops=1)

  • Filter: (team_group."row" = 1)
451. 0.019 0.855 ↑ 2.0 1 1

WindowAgg (cost=6.83..6.87 rows=2 width=60) (actual time=0.855..0.855 rows=1 loops=1)

452. 0.015 0.836 ↑ 2.0 1 1

Sort (cost=6.83..6.83 rows=2 width=52) (actual time=0.836..0.836 rows=1 loops=1)

  • Sort Key: tg_2.root_uuid, tg_2.group_level DESC
  • Sort Method: quicksort Memory: 25kB
453. 0.821 0.821 ↑ 2.0 1 1

CTE Scan on get_team_groups tg_2 (cost=0.00..6.82 rows=2 width=52) (actual time=0.734..0.821 rows=1 loops=1)

  • Filter: (category = 'GROUP'::text)
  • Rows Removed by Filter: 1
454. 0.000 0.000 ↑ 3.0 1 1

CTE Scan on get_teams team (cost=0.00..0.06 rows=3 width=40) (actual time=0.000..0.000 rows=1 loops=1)

455. 0.013 0.074 ↑ 49.0 1 1

Append (cost=0.56..172.92 rows=49 width=40) (actual time=0.021..0.074 rows=1 loops=1)

456. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w5_pkey on notifications_summary_weekly_partitioned_2019_w5 gn (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
457. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w6_pkey on notifications_summary_weekly_partitioned_2019_w6 gn_1 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
458. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w7_pkey on notifications_summary_weekly_partitioned_2019_w7 gn_2 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
459. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w8_pkey on notifications_summary_weekly_partitioned_2019_w8 gn_3 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
460. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w9_pkey on notifications_summary_weekly_partitioned_2019_w9 gn_4 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
461. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w10_pkey on notifications_summary_weekly_partitioned_2019_w10 gn_5 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
462. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w11_pkey on notifications_summary_weekly_partitioned_2019_w11 gn_6 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
463. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w12_pkey on notifications_summary_weekly_partitioned_2019_w12 gn_7 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
464. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w13_pkey on notifications_summary_weekly_partitioned_2019_w13 gn_8 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
465. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w14_pkey on notifications_summary_weekly_partitioned_2019_w14 gn_9 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
466. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w15_pkey on notifications_summary_weekly_partitioned_2019_w15 gn_10 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
467. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w16_pkey on notifications_summary_weekly_partitioned_2019_w16 gn_11 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
468. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w17_pkey on notifications_summary_weekly_partitioned_2019_w17 gn_12 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
469. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w18_pkey on notifications_summary_weekly_partitioned_2019_w18 gn_13 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
470. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w19_pkey on notifications_summary_weekly_partitioned_2019_w19 gn_14 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
471. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w20_pkey on notifications_summary_weekly_partitioned_2019_w20 gn_15 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
472. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w21_pkey on notifications_summary_weekly_partitioned_2019_w21 gn_16 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
473. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w22_pkey on notifications_summary_weekly_partitioned_2019_w22 gn_17 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
474. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w23_pkey on notifications_summary_weekly_partitioned_2019_w23 gn_18 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
475. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w24_pkey on notifications_summary_weekly_partitioned_2019_w24 gn_19 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
476. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w25_pkey on notifications_summary_weekly_partitioned_2019_w25 gn_20 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
477. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w26_pkey on notifications_summary_weekly_partitioned_2019_w26 gn_21 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
478. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w27_pkey on notifications_summary_weekly_partitioned_2019_w27 gn_22 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
479. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w28_pkey on notifications_summary_weekly_partitioned_2019_w28 gn_23 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
480. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w29_pkey on notifications_summary_weekly_partitioned_2019_w29 gn_24 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
481. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w30_pkey on notifications_summary_weekly_partitioned_2019_w30 gn_25 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
482. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w31_pkey on notifications_summary_weekly_partitioned_2019_w31 gn_26 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
483. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w32_pkey on notifications_summary_weekly_partitioned_2019_w32 gn_27 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
484. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w33_pkey on notifications_summary_weekly_partitioned_2019_w33 gn_28 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
485. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w34_pkey on notifications_summary_weekly_partitioned_2019_w34 gn_29 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
486. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w35_pkey on notifications_summary_weekly_partitioned_2019_w35 gn_30 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
487. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w36_pkey on notifications_summary_weekly_partitioned_2019_w36 gn_31 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
488. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w37_pkey on notifications_summary_weekly_partitioned_2019_w37 gn_32 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
489. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w38_pkey on notifications_summary_weekly_partitioned_2019_w38 gn_33 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
490. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w39_pkey on notifications_summary_weekly_partitioned_2019_w39 gn_34 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
491. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w40_pkey on notifications_summary_weekly_partitioned_2019_w40 gn_35 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
492. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w41_pkey on notifications_summary_weekly_partitioned_2019_w41 gn_36 (cost=0.56..3.59 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
493. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_partitioned_2019_w42_pkey on notifications_summary_weekly_partitioned_2019_w42 gn_37 (cost=0.56..3.58 rows=1 width=40) (never executed)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
494. 0.013 0.013 ↑ 1.0 1 1

Index Scan using notifications_summary_weekly_partitioned_2019_w43_pkey on notifications_summary_weekly_partitioned_2019_w43 gn_38 (cost=0.56..3.59 rows=1 width=40) (actual time=0.012..0.013 rows=1 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
495. 0.008 0.008 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_partitioned_2019_w44_pkey on notifications_summary_weekly_partitioned_2019_w44 gn_39 (cost=0.56..3.59 rows=1 width=40) (actual time=0.008..0.008 rows=0 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
496. 0.013 0.013 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_partitioned_2019_w45_pkey on notifications_summary_weekly_partitioned_2019_w45 gn_40 (cost=0.56..3.59 rows=1 width=40) (actual time=0.012..0.013 rows=0 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (notification_uuid = team_group.notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)) AND (created_date >= $41))
  • Filter: (category = 'GROUP'::text)
497. 0.012 0.012 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_pa_organization_uuid_ntfn_id_idx46 on notifications_summary_weekly_partitioned_2019_w46 gn_41 (cost=0.14..3.18 rows=1 width=40) (actual time=0.012..0.012 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $41) AND (category = 'GROUP'::text) AND (team_group.notification_uuid = notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)))
498. 0.007 0.007 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_pa_organization_uuid_ntfn_id_idx47 on notifications_summary_weekly_partitioned_2019_w47 gn_42 (cost=0.14..3.18 rows=1 width=40) (actual time=0.007..0.007 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $41) AND (category = 'GROUP'::text) AND (team_group.notification_uuid = notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)))
499. 0.008 0.008 ↓ 0.0 0 1

Index Scan using notifications_summary_weekly_pa_organization_uuid_ntfn_id_idx48 on notifications_summary_weekly_partitioned_2019_w48 gn_43 (cost=0.14..3.18 rows=1 width=40) (actual time=0.008..0.008 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $41) AND (category = 'GROUP'::text) AND (team_group.notification_uuid = notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)))
500. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_pa_organization_uuid_ntfn_id_idx49 on notifications_summary_weekly_partitioned_2019_w49 gn_44 (cost=0.14..3.18 rows=1 width=40) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $41) AND (category = 'GROUP'::text) AND (team_group.notification_uuid = notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)))
501. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_pa_organization_uuid_ntfn_id_idx50 on notifications_summary_weekly_partitioned_2019_w50 gn_45 (cost=0.14..3.18 rows=1 width=40) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $41) AND (category = 'GROUP'::text) AND (team_group.notification_uuid = notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)))
502. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_pa_organization_uuid_ntfn_id_idx51 on notifications_summary_weekly_partitioned_2019_w51 gn_46 (cost=0.14..3.18 rows=1 width=40) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $41) AND (category = 'GROUP'::text) AND (team_group.notification_uuid = notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)))
503. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_pa_organization_uuid_ntfn_id_idx52 on notifications_summary_weekly_partitioned_2019_w52 gn_47 (cost=0.14..3.18 rows=1 width=40) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $41) AND (category = 'GROUP'::text) AND (team_group.notification_uuid = notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)))
504. 0.000 0.000 ↓ 0.0 0

Index Scan using notifications_summary_weekly_pa_organization_uuid_ntfn_id_idx53 on notifications_summary_weekly_part_default gn_48 (cost=0.14..3.18 rows=1 width=40) (never executed)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $41) AND (category = 'GROUP'::text) AND (team_group.notification_uuid = notification_uuid) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $40)))
505. 0.007 0.128 ↑ 1.0 1 1

Append (cost=4.76..6.29 rows=1 width=44) (actual time=0.127..0.128 rows=1 loops=1)

506. 0.025 0.121 ↑ 1.0 1 1

Bitmap Heap Scan on groups_org_part_67 g (cost=4.76..6.28 rows=1 width=44) (actual time=0.120..0.121 rows=1 loops=1)

  • Recheck Cond: ((valid_range @> $42) AND (group_uuid = team_group.recipient_uuid))
  • Filter: ((is_visible IS TRUE) AND (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid))
  • Heap Blocks: exact=1
507. 0.003 0.096 ↓ 0.0 0 1

BitmapAnd (cost=4.76..4.76 rows=1 width=0) (actual time=0.096..0.096 rows=0 loops=1)

508. 0.058 0.058 ↑ 1.8 8 1

Bitmap Index Scan on groups_org_part_67_valid_range_idx (cost=0.00..1.75 rows=14 width=0) (actual time=0.058..0.058 rows=8 loops=1)

  • Index Cond: (valid_range @> $42)
509. 0.035 0.035 ↑ 131.0 1 1

Bitmap Index Scan on groups_org_part_67_group_uuid_idx (cost=0.00..2.76 rows=131 width=0) (actual time=0.035..0.035 rows=1 loops=1)

  • Index Cond: (group_uuid = team_group.recipient_uuid)
510.          

CTE get_total_person_uuids

511. 0.012 0.034 ↓ 1.7 5 1

HashAggregate (cost=0.08..0.11 rows=3 width=24) (actual time=0.033..0.034 rows=5 loops=1)

  • Group Key: en_1.person_uuid
512. 0.022 0.022 ↓ 6.3 19 1

CTE Scan on get_person_device_notifications en_1 (cost=0.00..0.06 rows=3 width=24) (actual time=0.001..0.022 rows=19 loops=1)

513.          

CTE get_total_person_count

514. 0.003 0.005 ↑ 1.0 1 1

Aggregate (cost=0.07..0.08 rows=1 width=8) (actual time=0.005..0.005 rows=1 loops=1)

515. 0.002 0.002 ↓ 1.7 5 1

CTE Scan on get_total_person_uuids (cost=0.00..0.06 rows=3 width=0) (actual time=0.001..0.002 rows=5 loops=1)

516.          

CTE get_person_uuids

517. 0.002 0.065 ↓ 1.7 5 1

Limit (cost=0.08..0.09 rows=3 width=24) (actual time=0.064..0.065 rows=5 loops=1)

518. 0.021 0.063 ↓ 1.7 5 1

Sort (cost=0.08..0.09 rows=3 width=24) (actual time=0.062..0.063 rows=5 loops=1)

  • Sort Key: en_agg.delivered_date_min
  • Sort Method: quicksort Memory: 25kB
519. 0.042 0.042 ↓ 1.7 5 1

CTE Scan on get_total_person_uuids en_agg (cost=0.00..0.06 rows=3 width=24) (actual time=0.040..0.042 rows=5 loops=1)

520.          

CTE get_person_notifications

521. 0.007 16.435 ↓ 1.7 5 1

Subquery Scan on p (cost=8,571.34..24,354.85 rows=3 width=320) (actual time=16.056..16.435 rows=5 loops=1)

522. 0.696 16.428 ↓ 1.7 5 1

GroupAggregate (cost=8,571.34..24,354.77 rows=3 width=288) (actual time=16.051..16.428 rows=5 loops=1)

  • Group Key: get_person_device_notifications.person_uuid, get_person_device_notifications.person_ntfn_uuid, get_person_device_notifications.person_delinked_date, get_person_device_notifications.team_uuid, get_person_device_notifications.event_uuid, ((SubPlan 34)), get_person_device_notifications.person_response_received, get_person_device_notifications.person_response_recipient_type, get_person_device_notifications.person_responded_date, get_person_device_notifications.person_failed_date
523.          

Initplan (forGroupAggregate)

524. 0.006 0.006 ↑ 1.0 1 1

CTE Scan on get_event_created_max e_22 (cost=0.00..0.02 rows=1 width=8) (actual time=0.006..0.006 rows=1 loops=1)

525. 0.060 15.707 ↑ 8.2 19 1

Sort (cost=8,571.32..8,571.71 rows=156 width=337) (actual time=15.706..15.707 rows=19 loops=1)

  • Sort Key: get_person_device_notifications.person_uuid, get_person_device_notifications.person_ntfn_uuid, get_person_device_notifications.person_delinked_date, get_person_device_notifications.team_uuid, get_person_device_notifications.event_uuid, ((SubPlan 34)), get_person_device_notifications.person_response_received, get_person_device_notifications.person_response_recipient_type, get_person_device_notifications.person_responded_date, get_person_device_notifications.person_failed_date
  • Sort Method: quicksort Memory: 29kB
526. 0.043 15.647 ↑ 8.2 19 1

Nested Loop Left Join (cost=3.27..8,565.64 rows=156 width=337) (actual time=4.564..15.647 rows=19 loops=1)

527. 0.049 2.741 ↓ 6.3 19 1

Hash Semi Join (cost=0.10..0.20 rows=3 width=296) (actual time=2.686..2.741 rows=19 loops=1)

  • Hash Cond: (get_person_device_notifications.person_uuid = get_person_uuids.person_uuid)
528. 2.620 2.620 ↓ 6.3 19 1

CTE Scan on get_person_device_notifications (cost=0.00..0.06 rows=3 width=296) (actual time=2.586..2.620 rows=19 loops=1)

529. 0.005 0.072 ↓ 1.7 5 1

Hash (cost=0.06..0.06 rows=3 width=16) (actual time=0.072..0.072 rows=5 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 9kB
530. 0.067 0.067 ↓ 1.7 5 1

CTE Scan on get_person_uuids (cost=0.00..0.06 rows=3 width=16) (actual time=0.065..0.067 rows=5 loops=1)

531. 0.057 12.749 ↑ 1.0 1 19

Append (cost=3.18..251.11 rows=1 width=57) (actual time=0.635..0.671 rows=1 loops=19)

532. 12.008 12.692 ↑ 1.0 1 19

Bitmap Heap Scan on devices_org_part_2 d (cost=3.18..251.10 rows=1 width=57) (actual time=0.633..0.668 rows=1 loops=19)

  • Recheck Cond: (recipient_uuid = get_person_device_notifications.device_uuid)
  • Filter: ((is_visible IS TRUE) AND (valid_range @> $52) AND (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid))
  • Rows Removed by Filter: 140
  • Heap Blocks: exact=2290
533. 0.684 0.684 ↑ 1.2 143 19

Bitmap Index Scan on devices_org_part_2_recipient_uuid_idx (cost=0.00..3.18 rows=166 width=0) (actual time=0.036..0.036 rows=143 loops=19)

  • Index Cond: (recipient_uuid = get_person_device_notifications.device_uuid)
534.          

SubPlan (forNested Loop Left Join)

535. 0.019 0.114 ↓ 0.0 0 19

Limit (cost=50.07..50.08 rows=1 width=36) (actual time=0.006..0.006 rows=0 loops=19)

536. 0.095 0.095 ↓ 0.0 0 19

Sort (cost=50.07..50.10 rows=10 width=36) (actual time=0.005..0.005 rows=0 loops=19)

  • Sort Key: (length(rm.response)) DESC
  • Sort Method: quicksort Memory: 25kB
537. 0.000 0.000 ↓ 0.0 0 19

CTE Scan on get_response_matchers rm (cost=0.00..50.02 rows=10 width=36) (actual time=0.000..0.000 rows=0 loops=19)

  • Filter: (((get_person_device_notifications.person_response)::text || ' '::text) ~~* response_pattern)
538.          

SubPlan (forGroupAggregate)

539. 0.000 0.019 ↓ 0.0 0 19

Limit (cost=50.07..50.08 rows=1 width=36) (actual time=0.001..0.001 rows=0 loops=19)

540. 0.019 0.019 ↓ 0.0 0 19

Sort (cost=50.07..50.10 rows=10 width=36) (actual time=0.001..0.001 rows=0 loops=19)

  • Sort Key: (length(rm_2.response)) DESC
  • Sort Method: quicksort Memory: 25kB
541. 0.000 0.000 ↓ 0.0 0 19

CTE Scan on get_response_matchers rm_2 (cost=0.00..50.02 rows=10 width=36) (actual time=0.000..0.000 rows=0 loops=19)

  • Filter: (((get_person_device_notifications.device_response)::text || ' '::text) ~~* response_pattern)
542. 0.000 0.000 ↓ 0.0 0

Limit (cost=50.07..50.08 rows=1 width=36) (never executed)

543. 0.000 0.000 ↓ 0.0 0

Sort (cost=50.07..50.10 rows=10 width=36) (never executed)

  • Sort Key: (length(rm_1.response)) DESC
544. 0.000 0.000 ↓ 0.0 0

CTE Scan on get_response_matchers rm_1 (cost=0.00..50.02 rows=10 width=36) (never executed)

  • Filter: (((get_person_device_notifications.device_response)::text || ' '::text) ~~* response_pattern)
545.          

Initplan (forSort)

546. 0.008 0.008 ↑ 1.0 1 1

CTE Scan on get_total_person_count (cost=0.00..0.02 rows=1 width=8) (actual time=0.008..0.008 rows=1 loops=1)

547. 0.002 0.004 ↑ 1.0 1 1

Limit (cost=0.00..0.02 rows=1 width=16) (actual time=0.003..0.004 rows=1 loops=1)

548. 0.002 0.002 ↑ 1.0 1 1

CTE Scan on get_event get_event_2 (cost=0.00..0.02 rows=1 width=16) (actual time=0.002..0.002 rows=1 loops=1)

549. 0.001 0.002 ↑ 1.0 1 1

Limit (cost=0.00..0.02 rows=1 width=32) (actual time=0.001..0.002 rows=1 loops=1)

550. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event get_event_3 (cost=0.00..0.02 rows=1 width=32) (actual time=0.001..0.001 rows=1 loops=1)

551. 0.004 0.005 ↑ 1.0 1 1

Aggregate (cost=0.02..0.03 rows=1 width=8) (actual time=0.005..0.005 rows=1 loops=1)

552. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event e_23 (cost=0.00..0.02 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=1)

553. 0.004 0.005 ↑ 1.0 1 1

Aggregate (cost=0.02..0.03 rows=1 width=8) (actual time=0.005..0.005 rows=1 loops=1)

554. 0.001 0.001 ↑ 1.0 1 1

CTE Scan on get_event e_24 (cost=0.00..0.02 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=1)

555. 0.072 43.243 ↑ 29.0 5 1

Nested Loop Left Join (cost=1,065.09..104,158.50 rows=145 width=431) (actual time=23.712..43.243 rows=5 loops=1)

556. 0.060 35.811 ↑ 29.0 5 1

Hash Left Join (cost=358.40..1,681.21 rows=145 width=412) (actual time=22.005..35.811 rows=5 loops=1)

  • Hash Cond: (person.site_uuid = site.site_uuid)
557. 0.016 34.595 ↑ 29.0 5 1

Nested Loop Left Join (cost=354.96..1,677.22 rows=145 width=406) (actual time=20.804..34.595 rows=5 loops=1)

558. 0.020 18.819 ↓ 1.7 5 1

Nested Loop Left Join (cost=354.40..1,063.56 rows=3 width=232) (actual time=17.897..18.819 rows=5 loops=1)

559. 0.018 17.484 ↓ 1.7 5 1

Nested Loop Left Join (cost=354.37..1,063.38 rows=3 width=232) (actual time=16.725..17.484 rows=5 loops=1)

560. 0.022 17.451 ↓ 1.7 5 1

Nested Loop Left Join (cost=176.60..529.98 rows=3 width=232) (actual time=16.718..17.451 rows=5 loops=1)

561. 0.476 16.979 ↓ 1.7 5 1

GroupAggregate (cost=0.08..0.30 rows=3 width=248) (actual time=16.597..16.979 rows=5 loops=1)

  • Group Key: pn.person_uuid, pn.event_uuid
562. 0.045 16.503 ↓ 1.7 5 1

Sort (cost=0.08..0.09 rows=3 width=304) (actual time=16.499..16.503 rows=5 loops=1)

  • Sort Key: pn.person_uuid, pn.event_uuid
  • Sort Method: quicksort Memory: 34kB
563. 16.458 16.458 ↓ 1.7 5 1

CTE Scan on get_person_notifications pn (cost=0.00..0.06 rows=3 width=304) (actual time=16.064..16.458 rows=5 loops=1)

564. 0.360 0.450 ↑ 1.0 1 5

Aggregate (cost=176.52..176.53 rows=1 width=32) (actual time=0.090..0.090 rows=1 loops=5)

565. 0.055 0.090 ↑ 3,333.3 3 5

ProjectSet (cost=0.00..51.52 rows=10,000 width=32) (actual time=0.017..0.018 rows=3 loops=5)

566. 0.035 0.035 ↑ 100.0 1 5

ProjectSet (cost=0.00..0.52 rows=100 width=32) (actual time=0.006..0.007 rows=1 loops=5)

567. 0.000 0.000 ↑ 1.0 1 5

Result (cost=0.00..0.01 rows=1 width=0) (actual time=0.000..0.000 rows=1 loops=5)

568. 0.005 0.015 ↑ 1.0 1 5

Aggregate (cost=177.77..177.78 rows=1 width=32) (actual time=0.003..0.003 rows=1 loops=5)

569. 0.005 0.010 ↓ 0.0 0 5

ProjectSet (cost=0.00..52.77 rows=10,000 width=32) (actual time=0.002..0.002 rows=0 loops=5)

570. 0.005 0.005 ↓ 0.0 0 5

ProjectSet (cost=0.00..0.52 rows=100 width=32) (actual time=0.001..0.001 rows=0 loops=5)

571. 0.000 0.000 ↑ 1.0 1 5

Result (cost=0.00..0.01 rows=1 width=0) (actual time=0.000..0.000 rows=1 loops=5)

572. 0.175 1.315 ↑ 1.0 1 5

Aggregate (cost=0.03..0.04 rows=1 width=32) (actual time=0.263..0.263 rows=1 loops=5)

573. 1.140 1.140 ↑ 1.0 1 5

CTE Scan on get_targeted_groups tg (cost=0.00..0.02 rows=1 width=120) (actual time=0.217..0.228 rows=1 loops=5)

  • Filter: (team_ntfn_uuids && (array_agg(pn.team_uuid)))
574. 0.015 15.760 ↑ 1.0 1 5

Append (cost=0.55..204.54 rows=1 width=174) (actual time=2.960..3.152 rows=1 loops=5)

575. 15.745 15.745 ↑ 1.0 1 5

Index Scan using persons_org_part_18_organization_uuid_person_uuid_sequence__idx on persons_org_part_18 person (cost=0.55..204.54 rows=1 width=174) (actual time=2.958..3.149 rows=1 loops=5)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (person_uuid = pn.person_uuid))
  • Filter: ((is_visible IS TRUE) AND (valid_range @> $58))
  • Rows Removed by Filter: 490
576. 0.028 1.156 ↓ 63.0 63 1

Hash (cost=3.43..3.43 rows=1 width=22) (actual time=1.156..1.156 rows=63 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 13kB
577. 1.128 1.128 ↓ 63.0 63 1

Index Scan using sites_org_valid_range_gist on sites site (cost=0.41..3.43 rows=1 width=22) (actual time=1.027..1.128 rows=63 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (valid_range @> $59))
  • Filter: (is_visible IS TRUE)
578. 0.205 7.360 ↑ 1.0 1 5

Aggregate (cost=706.69..706.70 rows=1 width=32) (actual time=1.472..1.472 rows=1 loops=5)

579. 0.034 7.155 ↑ 2,750.0 2 5

Hash Left Join (cost=38.59..459.19 rows=5,500 width=58) (actual time=1.427..1.431 rows=2 loops=5)

  • Hash Cond: ((((jsonb_array_elements_text(pr.roles)))::uuid) = role.role_uuid)
580. 0.020 6.985 ↑ 2,750.0 2 5

Nested Loop Left Join (cost=0.42..352.26 rows=5,500 width=16) (actual time=1.393..1.397 rows=2 loops=5)

581. 0.015 6.835 ↑ 55.0 1 5

Append (cost=0.42..117.55 rows=55 width=37) (actual time=1.366..1.367 rows=1 loops=5)

582. 6.820 6.820 ↑ 55.0 1 5

Index Scan using person_roles_org_part_2_organization_uuid_person_uuid_seque_idx on person_roles_org_part_2 pr (cost=0.42..117.27 rows=55 width=37) (actual time=1.364..1.364 rows=1 loops=5)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (person_uuid = person.person_uuid))
  • Filter: upper_inf(valid_range)
  • Rows Removed by Filter: 201
583. 0.030 0.130 ↑ 50.0 2 5

Result (cost=0.00..2.27 rows=100 width=16) (actual time=0.024..0.026 rows=2 loops=5)

584. 0.100 0.100 ↑ 50.0 2 5

ProjectSet (cost=0.00..0.52 rows=100 width=32) (actual time=0.019..0.020 rows=2 loops=5)

585. 0.000 0.000 ↑ 1.0 1 5

Result (cost=0.00..0.01 rows=1 width=0) (actual time=0.000..0.000 rows=1 loops=5)

586. 0.012 0.136 ↓ 2.9 23 1

Hash (cost=38.06..38.06 rows=8 width=58) (actual time=0.136..0.136 rows=23 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 11kB
587. 0.075 0.124 ↓ 2.9 23 1

Bitmap Heap Scan on roles role (cost=1.98..38.06 rows=8 width=58) (actual time=0.088..0.124 rows=23 loops=1)

  • Recheck Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: upper_inf(valid_range)
  • Rows Removed by Filter: 12
  • Heap Blocks: exact=6
588. 0.049 0.049 ↓ 1.4 35 1

Bitmap Index Scan on roles_organization_uuid_idx (cost=0.00..1.98 rows=25 width=0) (actual time=0.049..0.049 rows=35 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
Planning time : 628.895 ms
Execution time : 64.088 ms