explain.depesz.com

PostgreSQL's explain analyze made readable

Result: AvE6

Settings
# exclusive inclusive rows x rows loops node
1. 0.067 49.381 ↑ 29.0 5 1

Sort (cost=807,151.40..807,151.76 rows=145 width=431) (actual time=49.380..49.381 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.134 ↑ 1.0 1 1

Append (cost=0.55..3.58 rows=1 width=732) (actual time=0.133..0.134 rows=1 loops=1)

4. 0.133 0.133 ↑ 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.132..0.133 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.001..0.001 rows=1 loops=1)

8.          

CTE get_event_created_max

9. 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)

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.014 0.015 ↑ 1.0 1 1

Aggregate (cost=0.02..0.04 rows=1 width=8) (actual time=0.015..0.015 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.196 ↑ 2,000,000.0 1 1

Append (cost=0.42..100,462.03 rows=2,000,000 width=128) (actual time=0.177..0.196 rows=1 loops=1)

16. 0.006 0.192 ↑ 1,000,000.0 1 1

Nested Loop Left Join (cost=0.42..35,232.74 rows=1,000,000 width=128) (actual time=0.176..0.192 rows=1 loops=1)

17. 0.003 0.168 ↑ 100.0 1 1

Nested Loop (cost=0.42..5.99 rows=100 width=1,023) (actual time=0.153..0.168 rows=1 loops=1)

18. 0.005 0.124 ↑ 1.0 1 1

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

19. 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)
20. 0.117 0.117 ↑ 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.104..0.117 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
21. 0.040 0.041 ↑ 100.0 1 1

ProjectSet (cost=0.00..0.52 rows=100 width=32) (actual time=0.040..0.041 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.000..0.001 rows=1 loops=1)

23. 0.008 0.018 ↓ 0.0 0 1

ProjectSet (cost=0.00..52.27 rows=10,000 width=32) (actual time=0.017..0.018 rows=0 loops=1)

24. 0.010 0.010 ↑ 100.0 1 1

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

25. 0.000 0.000 ↑ 1.0 1 1

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

26. 0.001 0.003 ↓ 0.0 0 1

Nested Loop Left Join (cost=0.00..35,229.29 rows=1,000,000 width=128) (actual time=0.003..0.003 rows=0 loops=1)

27. 0.001 0.002 ↓ 0.0 0 1

Nested Loop (cost=0.00..2.54 rows=100 width=64) (actual time=0.002..0.002 rows=0 loops=1)

28. 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
29. 0.000 0.000 ↓ 0.0 0

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

30. 0.000 0.000 ↓ 0.0 0

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

31. 0.000 0.000 ↓ 0.0 0

ProjectSet (cost=0.00..52.27 rows=10,000 width=32) (never executed)

32. 0.000 0.000 ↓ 0.0 0

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

33. 0.000 0.000 ↓ 0.0 0

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

34.          

CTE get_response_matchers

35. 0.346 0.711 ↑ 40,000.0 1 1

HashAggregate (cost=80,000.00..80,900.00 rows=40,000 width=96) (actual time=0.584..0.711 rows=1 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
36. 0.365 0.365 ↑ 2,000,000.0 1 1

CTE Scan on get_response_choices rc (cost=0.00..65,000.00 rows=2,000,000 width=96) (actual time=0.345..0.365 rows=1 loops=1)

37.          

CTE get_lowered_responses_pattern_array

38. 0.032 0.745 ↑ 1.0 1 1

Aggregate (cost=900.00..900.01 rows=1 width=32) (actual time=0.744..0.745 rows=1 loops=1)

39. 0.713 0.713 ↑ 40,000.0 1 1

CTE Scan on get_response_matchers rc_1 (cost=0.00..800.00 rows=40,000 width=32) (actual time=0.586..0.713 rows=1 loops=1)

40.          

CTE get_person_device_notifications

41. 0.058 3.436 ↓ 6.3 19 1

HashAggregate (cost=670.91..670.94 rows=3 width=360) (actual time=3.428..3.436 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)
42. 0.005 3.378 ↓ 6.3 19 1

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

43. 0.000 3.074 ↓ 7.5 15 1

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

44.          

Initplan (for Nested Loop)

45. 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)

46. 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.000..0.001 rows=1 loops=1)

47. 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)

48. 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)

49. 0.747 0.747 ↑ 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.746..0.747 rows=1 loops=1)

50. 0.018 0.018 ↑ 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.017..0.018 rows=1 loops=1)

51. 0.006 0.006 ↑ 1.0 1 1

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

52. 0.013 2.430 ↓ 15.0 15 1

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

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

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

54. 0.084 0.630 ↓ 15.0 15 1

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

55. 0.007 0.144 ↑ 1.0 1 1

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

  • Group Key: get_event.event_uuid
56. 0.137 0.137 ↑ 1.0 1 1

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

57. 0.050 0.402 ↑ 3.3 15 1

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

58. 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 >= $19) 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, $18)))
59. 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 >= $19) 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, $18)))
60. 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 >= $19) 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, $18)))
61. 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 >= $19) 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, $18)))
62. 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 >= $19) 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, $18)))
63. 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 >= $19) 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, $18)))
64. 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 >= $19) 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, $18)))
65. 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 >= $19) 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, $18)))
66. 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 >= $19) 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, $18)))
67. 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 >= $19) 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, $18)))
68. 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 >= $19) 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, $18)))
69. 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 >= $19) 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, $18)))
70. 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 >= $19) 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, $18)))
71. 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 >= $19) 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, $18)))
72. 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 >= $19) 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, $18)))
73. 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 >= $19) 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, $18)))
74. 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 >= $19) 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, $18)))
75. 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 >= $19) 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, $18)))
76. 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 >= $19) 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, $18)))
77. 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 >= $19) 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, $18)))
78. 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 >= $19) 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, $18)))
79. 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 >= $19) 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, $18)))
80. 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 >= $19) 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, $18)))
81. 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 >= $19) 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, $18)))
82. 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 >= $19) 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, $18)))
83. 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 >= $19) 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, $18)))
84. 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 >= $19) 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, $18)))
85. 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 >= $19) 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, $18)))
86. 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 >= $19) 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, $18)))
87. 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 >= $19) 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, $18)))
88. 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 >= $19) 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, $18)))
89. 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 >= $19) 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, $18)))
90. 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 >= $19) 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, $18)))
91. 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 >= $19) 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, $18)))
92. 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 >= $19) 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, $18)))
93. 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 >= $19) 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, $18)))
94. 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 >= $19) 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, $18)))
95. 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 >= $19) 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, $18)))
96. 0.187 0.187 ↓ 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.078..0.187 rows=15 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $19) 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, $18)))
  • Rows Removed by Filter: 23
97. 0.067 0.067 ↓ 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.067..0.067 rows=0 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $19) 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, $18)))
98. 0.059 0.059 ↓ 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.059..0.059 rows=0 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (event_uuid = get_event.event_uuid))
  • Filter: ((created_date >= $19) 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, $18)))
99. 0.022 0.022 ↓ 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.022..0.022 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $19) 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, $18)))
100. 0.008 0.008 ↓ 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.008..0.008 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $19) 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, $18)))
101. 0.009 0.009 ↓ 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.009..0.009 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $19) 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, $18)))
102. 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 >= $19) 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, $18)))
103. 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 >= $19) 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, $18)))
104. 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 >= $19) 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, $18)))
105. 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 >= $19) 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, $18)))
106. 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 >= $19) 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, $18)))
107. 0.060 0.420 ↑ 49.0 1 15

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

108. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
109. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
110. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
111. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
112. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
113. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
114. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
115. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
116. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
117. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
118. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
119. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
120. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
121. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
122. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
123. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
124. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
125. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
126. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
127. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
128. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
129. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
130. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
131. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
132. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
133. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
134. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
135. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
136. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
137. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
138. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
139. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
140. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
141. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
142. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
143. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
144. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
145. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
146. 0.180 0.180 ↑ 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.011..0.012 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
147. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
148. 0.060 0.060 ↓ 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.004..0.004 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
149. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
150. 0.045 0.045 ↓ 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.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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
151. 0.030 0.030 ↓ 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.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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
152. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
153. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
154. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
155. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
156. 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, $13)) AND (created_date >= $14))
  • Filter: (category = 'DEVICE'::text)
157. 0.015 1.260 ↓ 0.0 0 15

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

158. 1.245 1.245 ↓ 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.083..0.083 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 ($17)))
159. 0.075 0.510 ↑ 49.0 1 15

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

160. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
161. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
162. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
163. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
164. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
165. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
166. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
167. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
168. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
169. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
170. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
171. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
172. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
173. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
174. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
175. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
176. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
177. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
178. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
179. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
180. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
181. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
182. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
183. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
184. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
185. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
186. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
187. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
188. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
189. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
190. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
191. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
192. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
193. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
194. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
195. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
196. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
197. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
198. 0.105 0.105 ↑ 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.007..0.007 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
199. 0.150 0.150 ↓ 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.010..0.010 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
200. 0.120 0.120 ↓ 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.008..0.008 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
201. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
202. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
203. 0.030 0.030 ↓ 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.002..0.002 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
204. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
205. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
206. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
207. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
208. 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, $15)) AND (created_date >= $16))
  • Filter: (category = 'PERSON'::text)
209. 0.006 0.299 ↓ 4.0 4 1

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

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

Initplan (for Nested Loop Left Join)

211. 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)

212. 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)

213. 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)

214. 0.054 0.178 ↓ 4.0 4 1

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

215. 0.004 0.006 ↑ 1.0 1 1

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

  • Group Key: get_event_1.event_uuid
216. 0.002 0.002 ↑ 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.002 rows=1 loops=1)

217. 0.018 0.118 ↑ 12.2 4 1

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

218. 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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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_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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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.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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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)))
251. 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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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.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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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.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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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.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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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.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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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.048 0.048 ↓ 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.028..0.048 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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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
257. 0.011 0.011 ↓ 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.011..0.011 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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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.010 0.010 ↓ 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.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 >= $22) AND (category = 'PERSON'::text) AND (created_date <= LEAST('2019-12-10 00:00:00+00'::timestamp with time zone, $21)) 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.012 0.012 ↓ 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.012..0.012 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $22) 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, $21)) 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.013 0.013 ↓ 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.013..0.013 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $22) 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, $21)) 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.006 0.006 ↓ 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.006..0.006 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $22) 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, $21)) 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)))
262. 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 >= $22) 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, $21)) 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)))
263. 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 >= $22) 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, $21)) 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)))
264. 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 >= $22) 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, $21)) 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)))
265. 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 >= $22) 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, $21)) 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)))
266. 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 >= $22) 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, $21)) 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)))
267. 0.004 0.112 ↓ 0.0 0 4

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

268. 0.108 0.108 ↓ 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.027..0.027 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 ($20)))
269.          

CTE get_teams

270. 0.008 0.636 ↑ 3.0 1 1

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

  • Group Key: team_ntfns.team_ntfn_uuid, team_ntfns.team_parent_ntfn_uuid
271. 0.057 0.628 ↓ 1.7 5 1

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

  • Sort Key: team_ntfns.team_ntfn_uuid, team_ntfns.team_parent_ntfn_uuid
  • Sort Method: quicksort Memory: 25kB
272. 0.002 0.571 ↓ 1.7 5 1

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

273. 0.012 0.569 ↓ 1.7 5 1

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

  • Group Key: en.person_ntfn_uuid, en.team_ntfn_uuid, en.team_parent_ntfn_uuid
274. 0.016 0.557 ↓ 1.7 5 1

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

  • Sort Key: en.person_ntfn_uuid, en.team_ntfn_uuid, en.team_parent_ntfn_uuid
  • Sort Method: quicksort Memory: 25kB
275. 0.003 0.541 ↓ 1.7 5 1

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

276. 0.012 0.538 ↓ 1.7 5 1

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

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

Initplan (for GroupAggregate)

278. 0.002 0.002 ↑ 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.002..0.002 rows=1 loops=1)

279. 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)

280. 0.060 0.523 ↓ 6.3 19 1

Sort (cost=496.30..496.31 rows=3 width=96) (actual time=0.522..0.523 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
281. 0.109 0.463 ↓ 6.3 19 1

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

282. 0.012 0.012 ↓ 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.012 rows=19 loops=1)

283. 0.057 0.342 ↑ 49.0 1 19

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

284. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
285. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
286. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
287. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
288. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
289. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
290. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
291. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
292. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
293. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
294. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
295. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
296. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
297. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
298. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
299. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
300. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
301. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
302. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
303. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
304. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
305. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
306. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
307. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
308. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
309. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
310. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
311. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
312. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
313. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
314. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
315. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
316. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
317. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
318. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
319. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
320. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
321. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
322. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
323. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
324. 0.057 0.057 ↓ 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.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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
325. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
326. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
327. 0.038 0.038 ↓ 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.002..0.002 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
328. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
329. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
330. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
331. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
332. 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, $30)) AND (created_date >= $31))
  • Filter: (category = 'TEAM'::text)
333.          

CTE get_team_groups

334. 0.008 1.120 ↑ 151.5 2 1

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

335. 0.043 0.828 ↑ 3.0 1 1

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

336.          

Initplan (for Nested Loop)

337. 0.001 0.001 ↑ 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.001..0.001 rows=1 loops=1)

338. 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.001..0.001 rows=1 loops=1)

339. 0.004 0.643 ↑ 3.0 1 1

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

  • Group Key: get_teams.team_ntfn_uuid
340. 0.639 0.639 ↑ 3.0 1 1

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

341. 0.023 0.140 ↑ 49.0 1 1

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

342. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
343. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
344. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
345. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
346. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
347. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
348. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
349. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
350. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
351. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
352. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
353. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
354. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
355. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
356. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
357. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
358. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
359. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
360. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
361. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
362. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
363. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
364. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
365. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
366. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
367. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
368. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
369. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
370. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
371. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
372. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
373. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
374. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
375. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
376. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
377. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
378. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
379. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
380. 0.015 0.015 ↑ 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.015..0.015 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
381. 0.009 0.009 ↓ 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.009..0.009 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
382. 0.009 0.009 ↓ 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.009 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
383. 0.007 0.007 ↓ 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.007..0.007 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
384. 0.012 0.012 ↓ 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.012..0.012 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
385. 0.065 0.065 ↓ 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.065..0.065 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
386. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
387. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
388. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
389. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
390. 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, $35)) AND (created_date >= $36))
  • Filter: (category = 'TEAM'::text)
391. 0.074 0.284 ↓ 0.0 0 2

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

392.          

Initplan (for Nested Loop)

393. 0.001 0.001 ↑ 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.001..0.001 rows=1 loops=1)

394. 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.001..0.001 rows=1 loops=1)

395. 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)

396. 0.030 0.204 ↓ 0.0 0 2

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

397. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
398. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
399. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
400. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
401. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
402. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
403. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
404. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
405. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
406. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
407. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
408. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
409. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
410. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
411. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
412. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
413. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
414. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
415. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
416. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
417. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
418. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
419. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
420. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
421. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
422. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
423. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
424. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
425. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
426. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
427. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
428. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
429. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
430. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
431. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
432. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
433. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
434. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
435. 0.074 0.074 ↓ 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.036..0.037 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
  • Rows Removed by Filter: 0
436. 0.058 0.058 ↓ 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.029..0.029 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
437. 0.018 0.018 ↓ 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.009..0.009 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
438. 0.008 0.008 ↓ 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.004..0.004 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
439. 0.008 0.008 ↓ 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.004..0.004 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
440. 0.008 0.008 ↓ 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.004..0.004 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
441. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
442. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
443. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
444. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
445. 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, $37)) AND (created_date >= $38))
  • Filter: (category = ANY ('{TEAM,GROUP}'::text[]))
446.          

CTE get_targeted_groups

447. 0.004 1.508 ↑ 1.0 1 1

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

448.          

Initplan (for Nested Loop Left Join)

449. 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.001..0.001 rows=1 loops=1)

450. 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.001..0.001 rows=1 loops=1)

451. 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)

452. 0.042 1.341 ↑ 1.0 1 1

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

453. 0.010 1.195 ↑ 1.0 1 1

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

  • Group Key: team_group.notification_uuid, team_group.recipient_uuid
454. 0.009 1.185 ↑ 1.0 1 1

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

  • Sort Key: team_group.notification_uuid, team_group.recipient_uuid
  • Sort Method: quicksort Memory: 25kB
455. 0.004 1.176 ↑ 1.0 1 1

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

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

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

  • Filter: (team_group."row" = 1)
457. 0.025 1.169 ↑ 2.0 1 1

WindowAgg (cost=6.83..6.87 rows=2 width=60) (actual time=1.168..1.169 rows=1 loops=1)

458. 0.014 1.144 ↑ 2.0 1 1

Sort (cost=6.83..6.83 rows=2 width=52) (actual time=1.144..1.144 rows=1 loops=1)

  • Sort Key: tg_2.root_uuid, tg_2.group_level DESC
  • Sort Method: quicksort Memory: 25kB
459. 1.130 1.130 ↑ 2.0 1 1

CTE Scan on get_team_groups tg_2 (cost=0.00..6.82 rows=2 width=52) (actual time=0.983..1.130 rows=1 loops=1)

  • Filter: (category = 'GROUP'::text)
  • Rows Removed by Filter: 1
460. 0.001 0.001 ↑ 3.0 1 1

CTE Scan on get_teams team (cost=0.00..0.06 rows=3 width=40) (actual time=0.000..0.001 rows=1 loops=1)

461. 0.016 0.104 ↑ 49.0 1 1

Append (cost=0.56..172.92 rows=49 width=40) (actual time=0.025..0.104 rows=1 loops=1)

462. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
463. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
464. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
465. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
466. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
467. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
468. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
469. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
470. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
471. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
472. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
473. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
474. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
475. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
476. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
477. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
478. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
479. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
480. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
481. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
482. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
483. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
484. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
485. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
486. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
487. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
488. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
489. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
490. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
491. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
492. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
493. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
494. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
495. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
496. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
497. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
498. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
499. 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
500. 0.016 0.016 ↑ 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.015..0.016 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
501. 0.010 0.010 ↓ 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.010..0.010 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
502. 0.018 0.018 ↓ 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.018..0.018 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, $42)) AND (created_date >= $43))
  • Filter: (category = 'GROUP'::text)
503. 0.015 0.015 ↓ 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.015..0.015 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $43) 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, $42)))
504. 0.009 0.009 ↓ 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.009..0.009 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $43) 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, $42)))
505. 0.020 0.020 ↓ 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.020..0.020 rows=0 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
  • Filter: ((created_date >= $43) 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, $42)))
506. 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 >= $43) 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, $42)))
507. 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 >= $43) 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, $42)))
508. 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 >= $43) 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, $42)))
509. 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 >= $43) 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, $42)))
510. 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 >= $43) 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, $42)))
511. 0.008 0.160 ↑ 1.0 1 1

Append (cost=4.76..6.29 rows=1 width=44) (actual time=0.160..0.160 rows=1 loops=1)

512. 0.054 0.152 ↑ 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.151..0.152 rows=1 loops=1)

  • Recheck Cond: ((valid_range @> $44) 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
513. 0.004 0.098 ↓ 0.0 0 1

BitmapAnd (cost=4.76..4.76 rows=1 width=0) (actual time=0.098..0.098 rows=0 loops=1)

514. 0.065 0.065 ↑ 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.065..0.065 rows=8 loops=1)

  • Index Cond: (valid_range @> $44)
515. 0.029 0.029 ↑ 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.029..0.029 rows=1 loops=1)

  • Index Cond: (group_uuid = team_group.recipient_uuid)
516.          

CTE get_total_person_uuids

517. 0.015 0.040 ↓ 1.7 5 1

HashAggregate (cost=0.08..0.11 rows=3 width=24) (actual time=0.039..0.040 rows=5 loops=1)

  • Group Key: en_1.person_uuid
518. 0.025 0.025 ↓ 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.025 rows=19 loops=1)

519.          

CTE get_total_person_count

520. 0.005 0.007 ↑ 1.0 1 1

Aggregate (cost=0.07..0.08 rows=1 width=8) (actual time=0.007..0.007 rows=1 loops=1)

521. 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)

522.          

CTE get_person_uuids

523. 0.002 0.062 ↓ 1.7 5 1

Limit (cost=0.08..0.09 rows=3 width=24) (actual time=0.061..0.062 rows=5 loops=1)

524. 0.017 0.060 ↓ 1.7 5 1

Sort (cost=0.08..0.09 rows=3 width=24) (actual time=0.060..0.060 rows=5 loops=1)

  • Sort Key: en_agg.delivered_date_min
  • Sort Method: quicksort Memory: 25kB
525. 0.043 0.043 ↓ 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.041..0.043 rows=5 loops=1)

526.          

CTE get_person_notifications

527. 0.010 20.236 ↓ 2.3 7 1

Subquery Scan on p (cost=156,993.64..472,476.02 rows=3 width=320) (actual time=19.784..20.236 rows=7 loops=1)

528. 0.784 20.226 ↓ 2.3 7 1

GroupAggregate (cost=156,993.64..472,475.94 rows=3 width=288) (actual time=19.778..20.226 rows=7 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
529.          

Initplan (for GroupAggregate)

530. 0.008 0.008 ↑ 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.008..0.008 rows=1 loops=1)

531. 0.124 19.347 ↑ 8.2 19 1

Sort (cost=156,993.62..156,994.01 rows=156 width=337) (actual time=19.345..19.347 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
532. 0.075 19.223 ↑ 8.2 19 1

Nested Loop Left Join (cost=3.27..156,987.94 rows=156 width=337) (actual time=3.689..19.223 rows=19 loops=1)

533. 0.058 3.625 ↓ 6.3 19 1

Hash Semi Join (cost=0.10..0.20 rows=3 width=296) (actual time=3.579..3.625 rows=19 loops=1)

  • Hash Cond: (get_person_device_notifications.person_uuid = get_person_uuids.person_uuid)
534. 3.447 3.447 ↓ 6.3 19 1

CTE Scan on get_person_device_notifications (cost=0.00..0.06 rows=3 width=296) (actual time=3.431..3.447 rows=19 loops=1)

535. 0.006 0.120 ↓ 1.7 5 1

Hash (cost=0.06..0.06 rows=3 width=16) (actual time=0.120..0.120 rows=5 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 9kB
536. 0.114 0.114 ↓ 1.7 5 1

CTE Scan on get_person_uuids (cost=0.00..0.06 rows=3 width=16) (actual time=0.063..0.114 rows=5 loops=1)

537. 0.076 15.352 ↑ 1.0 1 19

Append (cost=3.18..251.11 rows=1 width=57) (actual time=0.738..0.808 rows=1 loops=19)

538. 14.497 15.276 ↑ 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.734..0.804 rows=1 loops=19)

  • Recheck Cond: (recipient_uuid = get_person_device_notifications.device_uuid)
  • Filter: ((is_visible IS TRUE) AND (valid_range @> $54) AND (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid))
  • Rows Removed by Filter: 140
  • Heap Blocks: exact=2290
539. 0.779 0.779 ↑ 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.041..0.041 rows=143 loops=19)

  • Index Cond: (recipient_uuid = get_person_device_notifications.device_uuid)
540.          

SubPlan (for Nested Loop Left Join)

541. 0.019 0.171 ↓ 0.0 0 19

Limit (cost=1,001.50..1,001.50 rows=1 width=36) (actual time=0.009..0.009 rows=0 loops=19)

542. 0.133 0.152 ↓ 0.0 0 19

Sort (cost=1,001.50..1,002.00 rows=200 width=36) (actual time=0.008..0.008 rows=0 loops=19)

  • Sort Key: (length(rm.response)) DESC
  • Sort Method: quicksort Memory: 25kB
543. 0.019 0.019 ↓ 0.0 0 19

CTE Scan on get_response_matchers rm (cost=0.00..1,000.50 rows=200 width=36) (actual time=0.001..0.001 rows=0 loops=19)

  • Filter: (((get_person_device_notifications.person_response)::text || ' '::text) ~~* response_pattern)
  • Rows Removed by Filter: 1
544.          

SubPlan (for GroupAggregate)

545. 0.019 0.057 ↓ 0.0 0 19

Limit (cost=1,001.50..1,001.50 rows=1 width=36) (actual time=0.003..0.003 rows=0 loops=19)

546. 0.019 0.038 ↓ 0.0 0 19

Sort (cost=1,001.50..1,002.00 rows=200 width=36) (actual time=0.002..0.002 rows=0 loops=19)

  • Sort Key: (length(rm_2.response)) DESC
  • Sort Method: quicksort Memory: 25kB
547. 0.019 0.019 ↓ 0.0 0 19

CTE Scan on get_response_matchers rm_2 (cost=0.00..1,000.50 rows=200 width=36) (actual time=0.001..0.001 rows=0 loops=19)

  • Filter: (((get_person_device_notifications.device_response)::text || ' '::text) ~~* response_pattern)
  • Rows Removed by Filter: 1
548. 0.002 0.030 ↑ 1.0 1 2

Limit (cost=1,001.50..1,001.50 rows=1 width=36) (actual time=0.015..0.015 rows=1 loops=2)

549. 0.022 0.028 ↑ 200.0 1 2

Sort (cost=1,001.50..1,002.00 rows=200 width=36) (actual time=0.014..0.014 rows=1 loops=2)

  • Sort Key: (length(rm_1.response)) DESC
  • Sort Method: quicksort Memory: 25kB
550. 0.006 0.006 ↑ 200.0 1 2

CTE Scan on get_response_matchers rm_1 (cost=0.00..1,000.50 rows=200 width=36) (actual time=0.003..0.003 rows=1 loops=2)

  • Filter: (((get_person_device_notifications.device_response)::text || ' '::text) ~~* response_pattern)
551.          

Initplan (for Sort)

552. 0.010 0.010 ↑ 1.0 1 1

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

553. 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)

554. 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)

555. 0.000 0.002 ↑ 1.0 1 1

Limit (cost=0.00..0.02 rows=1 width=32) (actual time=0.002..0.002 rows=1 loops=1)

556. 0.002 0.002 ↑ 1.0 1 1

CTE Scan on get_event get_event_3 (cost=0.00..0.02 rows=1 width=32) (actual time=0.002..0.002 rows=1 loops=1)

557. 0.004 0.006 ↑ 1.0 1 1

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

558. 0.002 0.002 ↑ 1.0 1 1

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

559. 0.006 0.008 ↑ 1.0 1 1

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

560. 0.002 0.002 ↑ 1.0 1 1

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

561. 0.084 49.284 ↑ 29.0 5 1

Nested Loop Left Join (cost=1,065.09..104,158.50 rows=145 width=431) (actual time=28.531..49.284 rows=5 loops=1)

562. 0.068 41.170 ↑ 29.0 5 1

Hash Left Join (cost=358.40..1,681.21 rows=145 width=412) (actual time=26.641..41.170 rows=5 loops=1)

  • Hash Cond: (person.site_uuid = site.site_uuid)
563. 0.027 39.907 ↑ 29.0 5 1

Nested Loop Left Join (cost=354.96..1,677.22 rows=145 width=406) (actual time=25.400..39.907 rows=5 loops=1)

564. 0.026 23.425 ↓ 1.7 5 1

Nested Loop Left Join (cost=354.40..1,063.56 rows=3 width=232) (actual time=22.356..23.425 rows=5 loops=1)

565. 0.018 21.669 ↓ 1.7 5 1

Nested Loop Left Join (cost=354.37..1,063.38 rows=3 width=232) (actual time=20.779..21.669 rows=5 loops=1)

566. 0.040 21.601 ↓ 1.7 5 1

Nested Loop Left Join (cost=176.60..529.98 rows=3 width=232) (actual time=20.757..21.601 rows=5 loops=1)

567. 0.578 21.081 ↓ 1.7 5 1

GroupAggregate (cost=0.08..0.30 rows=3 width=248) (actual time=20.600..21.081 rows=5 loops=1)

  • Group Key: pn.person_uuid, pn.event_uuid
568. 0.120 20.503 ↓ 2.3 7 1

Sort (cost=0.08..0.09 rows=3 width=304) (actual time=20.496..20.503 rows=7 loops=1)

  • Sort Key: pn.person_uuid, pn.event_uuid
  • Sort Method: quicksort Memory: 35kB
569. 20.383 20.383 ↓ 2.3 7 1

CTE Scan on get_person_notifications pn (cost=0.00..0.06 rows=3 width=304) (actual time=19.795..20.383 rows=7 loops=1)

570. 0.395 0.480 ↑ 1.0 1 5

Aggregate (cost=176.52..176.53 rows=1 width=32) (actual time=0.096..0.096 rows=1 loops=5)

571. 0.035 0.085 ↑ 3,333.3 3 5

ProjectSet (cost=0.00..51.52 rows=10,000 width=32) (actual time=0.016..0.017 rows=3 loops=5)

572. 0.050 0.050 ↑ 100.0 1 5

ProjectSet (cost=0.00..0.52 rows=100 width=32) (actual time=0.009..0.010 rows=1 loops=5)

573. 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)

574. 0.025 0.050 ↑ 1.0 1 5

Aggregate (cost=177.77..177.78 rows=1 width=32) (actual time=0.010..0.010 rows=1 loops=5)

575. 0.015 0.025 ↓ 0.0 0 5

ProjectSet (cost=0.00..52.77 rows=10,000 width=32) (actual time=0.005..0.005 rows=0 loops=5)

576. 0.010 0.010 ↓ 0.0 0 5

ProjectSet (cost=0.00..0.52 rows=100 width=32) (actual time=0.002..0.002 rows=0 loops=5)

577. 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)

578. 0.200 1.730 ↑ 1.0 1 5

Aggregate (cost=0.03..0.04 rows=1 width=32) (actual time=0.346..0.346 rows=1 loops=5)

579. 1.530 1.530 ↑ 1.0 1 5

CTE Scan on get_targeted_groups tg (cost=0.00..0.02 rows=1 width=120) (actual time=0.290..0.306 rows=1 loops=5)

  • Filter: (team_ntfn_uuids && (array_agg(pn.team_uuid)))
580. 0.015 16.455 ↑ 1.0 1 5

Append (cost=0.55..204.54 rows=1 width=174) (actual time=3.087..3.291 rows=1 loops=5)

581. 16.440 16.440 ↑ 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=3.085..3.288 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 @> $60))
  • Rows Removed by Filter: 490
582. 0.036 1.195 ↓ 63.0 63 1

Hash (cost=3.43..3.43 rows=1 width=22) (actual time=1.195..1.195 rows=63 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 13kB
583. 1.159 1.159 ↓ 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.045..1.159 rows=63 loops=1)

  • Index Cond: ((organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid) AND (valid_range @> $61))
  • Filter: (is_visible IS TRUE)
584. 0.215 8.030 ↑ 1.0 1 5

Aggregate (cost=706.69..706.70 rows=1 width=32) (actual time=1.606..1.606 rows=1 loops=5)

585. 0.052 7.815 ↑ 2,750.0 2 5

Hash Left Join (cost=38.59..459.19 rows=5,500 width=58) (actual time=1.558..1.563 rows=2 loops=5)

  • Hash Cond: ((((jsonb_array_elements_text(pr.roles)))::uuid) = role.role_uuid)
586. 0.025 7.625 ↑ 2,750.0 2 5

Nested Loop Left Join (cost=0.42..352.26 rows=5,500 width=16) (actual time=1.521..1.525 rows=2 loops=5)

587. 0.020 7.475 ↑ 55.0 1 5

Append (cost=0.42..117.55 rows=55 width=37) (actual time=1.494..1.495 rows=1 loops=5)

588. 7.455 7.455 ↑ 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.491..1.491 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
589. 0.030 0.125 ↑ 50.0 2 5

Result (cost=0.00..2.27 rows=100 width=16) (actual time=0.023..0.025 rows=2 loops=5)

590. 0.095 0.095 ↑ 50.0 2 5

ProjectSet (cost=0.00..0.52 rows=100 width=32) (actual time=0.018..0.019 rows=2 loops=5)

591. 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)

592. 0.017 0.138 ↓ 2.9 23 1

Hash (cost=38.06..38.06 rows=8 width=58) (actual time=0.138..0.138 rows=23 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 11kB
593. 0.076 0.121 ↓ 2.9 23 1

Bitmap Heap Scan on roles role (cost=1.98..38.06 rows=8 width=58) (actual time=0.085..0.121 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
594. 0.045 0.045 ↓ 1.4 35 1

Bitmap Index Scan on roles_organization_uuid_idx (cost=0.00..1.98 rows=25 width=0) (actual time=0.045..0.045 rows=35 loops=1)

  • Index Cond: (organization_uuid = 'fe857c89-72ec-4b77-ab22-96bd295ece2c'::uuid)
Planning time : 553.648 ms
Execution time : 74.996 ms