https://staging.test.campussuite.com/_dashboard/notifications/lists/list/1560/view

Query Metrics

9 Database Queries
9 Different statements
41.17 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
11.36 ms
(27.59%)
1
SELECT n0_.firstName AS firstName_0, n0_.lastName AS lastName_1, n0_.language AS language_2, n0_.languageOverride AS languageOverride_3, n0_.role AS role_4, n0_.code AS code_5, n0_.metadata AS metadata_6, n0_.id AS id_7, n0_.uid AS uid_8, n0_.createdAt AS createdAt_9, n0_.updatedAt AS updatedAt_10, n0_.touchedAt AS touchedAt_11, n0_.standing AS standing_12, n0_.contactability AS contactability_13, n0_.reachability AS reachability_14, n0_.onerosterId AS onerosterId_15, n0_.onerosterArchived AS onerosterArchived_16, n0_.discarded AS discarded_17, n0_.discardedAt AS discardedAt_18, n0_.flags AS flags_19, n0_.alias AS alias_20, n0_.tenant AS tenant_21, n0_.createdBy AS createdBy_22, n0_.updatedBy AS updatedBy_23, n0_.touchedBy AS touchedBy_24 FROM notis__profile n0_ LEFT JOIN notis__profile_contact n1_ ON n0_.id = n1_.profile AND (n1_.discarded = 0) AND (n1_.tenant = 1) LEFT JOIN notis__recipient n2_ ON n1_.recipient = n2_.id AND n2_.discr IN ('email', 'phone', 'app') AND (n2_.tenant = 1) WHERE (n0_.id IN (SELECT n3_.id FROM notis__profile n3_ LEFT JOIN notis__profile_contact n4_ ON n3_.id = n4_.profile AND (n4_.discarded = 0) AND (n4_.tenant = 1) LEFT JOIN notis__recipient n5_ ON n4_.recipient = n5_.id AND n5_.discr IN ('email', 'phone', 'app') AND (n5_.tenant = 1) LEFT JOIN notis__list_subscription n6_ ON (n6_.profile = n3_.id) AND (n6_.tenant = 1) WHERE (n3_.role IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND n6_.list = ?) AND (n3_.discarded = 0) AND (n3_.tenant = 1)) AND n0_.id IN (?, ?, ?, ?)) AND (n0_.discarded = 0) AND (n0_.tenant = 1) ORDER BY n0_.lastName ASC, n0_.firstName ASC
Parameters:
[
  "administrator"
  "aide"
  "proctor"
  "teacher"
  "staff"
  "guardian"
  "parent"
  "relative"
  "student"
  "community"
  1560
  137965
  137959
  137960
  137974
]
11.08 ms
(26.91%)
1
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_7 FROM (SELECT n0_.firstName AS firstName_0, n0_.lastName AS lastName_1, n0_.language AS language_2, n0_.languageOverride AS languageOverride_3, n0_.role AS role_4, n0_.code AS code_5, n0_.metadata AS metadata_6, n0_.id AS id_7, n0_.uid AS uid_8, n0_.createdAt AS createdAt_9, n0_.updatedAt AS updatedAt_10, n0_.touchedAt AS touchedAt_11, n0_.standing AS standing_12, n0_.contactability AS contactability_13, n0_.reachability AS reachability_14, n0_.onerosterId AS onerosterId_15, n0_.onerosterArchived AS onerosterArchived_16, n0_.discarded AS discarded_17, n0_.discardedAt AS discardedAt_18, n0_.flags AS flags_19, n0_.alias AS alias_20 FROM notis__profile n0_ LEFT JOIN notis__profile_contact n1_ ON n0_.id = n1_.profile AND (n1_.discarded = 0) AND (n1_.tenant = 1) LEFT JOIN notis__recipient n2_ ON n1_.recipient = n2_.id AND n2_.discr IN ('email', 'phone', 'app') AND (n2_.tenant = 1) WHERE (n0_.id IN (SELECT n3_.id FROM notis__profile n3_ LEFT JOIN notis__profile_contact n4_ ON n3_.id = n4_.profile AND (n4_.discarded = 0) AND (n4_.tenant = 1) LEFT JOIN notis__recipient n5_ ON n4_.recipient = n5_.id AND n5_.discr IN ('email', 'phone', 'app') AND (n5_.tenant = 1) LEFT JOIN notis__list_subscription n6_ ON (n6_.profile = n3_.id) AND (n6_.tenant = 1) WHERE (n3_.role IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND n6_.list = ?) AND (n3_.discarded = 0) AND (n3_.tenant = 1))) AND (n0_.discarded = 0) AND (n0_.tenant = 1) ORDER BY n0_.lastName ASC, n0_.firstName ASC) dctrn_result) dctrn_table
Parameters:
[
  "administrator"
  "aide"
  "proctor"
  "teacher"
  "staff"
  "guardian"
  "parent"
  "relative"
  "student"
  "community"
  1560
]
5.07 ms
(12.31%)
1
SELECT DISTINCT id_7 FROM (SELECT DISTINCT id_7, lastName_1, firstName_0 FROM (SELECT n0_.firstName AS firstName_0, n0_.lastName AS lastName_1, n0_.language AS language_2, n0_.languageOverride AS languageOverride_3, n0_.role AS role_4, n0_.code AS code_5, n0_.metadata AS metadata_6, n0_.id AS id_7, n0_.uid AS uid_8, n0_.createdAt AS createdAt_9, n0_.updatedAt AS updatedAt_10, n0_.touchedAt AS touchedAt_11, n0_.standing AS standing_12, n0_.contactability AS contactability_13, n0_.reachability AS reachability_14, n0_.onerosterId AS onerosterId_15, n0_.onerosterArchived AS onerosterArchived_16, n0_.discarded AS discarded_17, n0_.discardedAt AS discardedAt_18, n0_.flags AS flags_19, n0_.alias AS alias_20 FROM notis__profile n0_ LEFT JOIN notis__profile_contact n1_ ON n0_.id = n1_.profile AND (n1_.discarded = 0) AND (n1_.tenant = 1) LEFT JOIN notis__recipient n2_ ON n1_.recipient = n2_.id AND n2_.discr IN ('email', 'phone', 'app') AND (n2_.tenant = 1) WHERE (n0_.id IN (SELECT n3_.id FROM notis__profile n3_ LEFT JOIN notis__profile_contact n4_ ON n3_.id = n4_.profile AND (n4_.discarded = 0) AND (n4_.tenant = 1) LEFT JOIN notis__recipient n5_ ON n4_.recipient = n5_.id AND n5_.discr IN ('email', 'phone', 'app') AND (n5_.tenant = 1) LEFT JOIN notis__list_subscription n6_ ON (n6_.profile = n3_.id) AND (n6_.tenant = 1) WHERE (n3_.role IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND n6_.list = ?) AND (n3_.discarded = 0) AND (n3_.tenant = 1))) AND (n0_.discarded = 0) AND (n0_.tenant = 1)) dctrn_result_inner ORDER BY lastName_1 ASC, firstName_0 ASC) dctrn_result LIMIT 12
Parameters:
[
  "administrator"
  "aide"
  "proctor"
  "teacher"
  "staff"
  "guardian"
  "parent"
  "relative"
  "student"
  "community"
  1560
]
3.72 ms
(9.05%)
1
SELECT t0.name AS name_1, t0.types AS types_2, t0.id AS id_3, t0.uid AS uid_4, t0.createdAt AS createdAt_5, t0.updatedAt AS updatedAt_6, t0.touchedAt AS touchedAt_7, t0.onerosterId AS onerosterId_8, t0.onerosterArchived AS onerosterArchived_9, t0.flags AS flags_10, t0.alias AS alias_11, t0.school AS school_12, t0.tenant AS tenant_13, t0.createdBy AS createdBy_14, t0.updatedBy AS updatedBy_15, t0.touchedBy AS touchedBy_16, t0.discr, t0.conditionQuery AS conditionQuery_17 FROM notis__list t0 WHERE t0.id = ? AND t0.discr IN ('district', 'static', 'school', 'condition') AND ((t0.tenant = 1))
Parameters:
[
  "1560"
]
2.79 ms
(6.77%)
1
SELECT c0_.account AS sclr_0, c0_.role AS sclr_1, c0_.container AS sclr_2, c0_.inheritance AS inheritance_3, c0_.school AS sclr_4, c0_.list AS sclr_5 FROM cms__security__access__role_association c0_ WHERE ((c0_.account = ?) AND (c0_.tenant = 1)) AND c0_._discr IN ('account')
Parameters:
[
  1
]
2.70 ms
(6.56%)
1
SELECT t0.email AS email_1, t0.active AS active_2, t0.policyAcceptedOn AS policyAcceptedOn_3, t0.termsAcceptedOn AS termsAcceptedOn_4, t0.password AS password_5, t0.passwordChangedAt AS passwordChangedAt_6, t0.lastLoggedInAt AS lastLoggedInAt_7, t0.metadata AS metadata_8, t0.internalUid AS internalUid_9, t0.id AS id_10, t0.uid AS uid_11, t0.createdAt AS createdAt_12, t0.updatedAt AS updatedAt_13, t0.touchedAt AS touchedAt_14, t0.onerosterId AS onerosterId_15, t0.onerosterArchived AS onerosterArchived_16, t0.importIndex AS importIndex_17, t0.specialPermissions_superUser AS specialPermissions_superUser_18, t0.systemProfile_displayName AS systemProfile_displayName_19, t0.systemProfile_firstName AS systemProfile_firstName_20, t0.systemProfile_lastName AS systemProfile_lastName_21, t0.systemProfile_avatar AS systemProfile_avatar_22, t0.systemProfile_mobilePhone AS systemProfile_mobilePhone_23, t0.tenant AS tenant_24, t0.createdBy AS createdBy_25, t0.updatedBy AS updatedBy_26, t0.touchedBy AS touchedBy_27, t0.import AS import_28 FROM cms__security__identity__account t0 WHERE t0.id = ? AND ((t0.tenant = 1))
Parameters:
[
  "1"
]
2.46 ms
(5.98%)
1
SELECT c0_.account AS sclr_0, c0_.grp AS sclr_1 FROM cms__security__identity__group_account c0_ WHERE (c0_.account = ?) AND (c0_.tenant = 1)
Parameters:
[
  1
]
1.08 ms
(2.61%)
1
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.status AS status_3, t0.emailsDisplay AS emailsDisplay_4, t0.policy AS policy_5, t0.disqusId AS disqusId_6, t0.googleToken AS googleToken_7, t0.stage AS stage_8, t0.teamworkTasklist AS teamworkTasklist_9, t0.latitude AS latitude_10, t0.longitude AS longitude_11, t0.redirects AS redirects_12, t0.redirectCodes AS redirectCodes_13, t0.debugging AS debugging_14, t0.products AS products_15, t0.hubspotId AS hubspotId_16, t0.weglotId AS weglotId_17, t0.id AS id_18, t0.uid AS uid_19, t0.createdAt AS createdAt_20, t0.updatedAt AS updatedAt_21, t0.touchedAt AS touchedAt_22, t0.data_custom0 AS data_custom0_23, t0.data_custom1 AS data_custom1_24, t0.data_custom2 AS data_custom2_25, t0.data_custom3 AS data_custom3_26, t0.authenticationTypes AS authenticationTypes_27, t0.classlinkCustomerId AS classlinkCustomerId_28, t0.cleverCustomerId AS cleverCustomerId_29, t0.gg4lCustomerId AS gg4lCustomerId_30, t0.googleCustomerId AS googleCustomerId_31, t0.microsoftCustomerId AS microsoftCustomerId_32, t0.ulid AS ulid_33, t0.locale_timezone AS locale_timezone_34, t0.ada_reportsFolder AS ada_reportsFolder_35, t0.ada_reportsPrimary AS ada_reportsPrimary_36, t0.ada_reportsDocuments AS ada_reportsDocuments_37, t0.type_primary AS type_primary_38, t0.type_secondary AS type_secondary_39 FROM cms__tenant__tenant t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "staging"
]
0.91 ms
(2.22%)
1
SELECT c0_.grp AS sclr_0, c0_.role AS sclr_1, c0_.container AS sclr_2, c0_.inheritance AS inheritance_3, c0_.school AS sclr_4, c0_.list AS sclr_5 FROM cms__security__access__role_association c0_ WHERE ((c0_.grp IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (c0_.tenant = 1)) AND c0_._discr IN ('group')
Parameters:
[
  20
  93
  97
  103
  107
  108
  112
  143
  147
  148
  156
  158
  162
  168
  172
  173
  177
  183
  187
  251
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
Cms\TenantBundle\Entity\Tenant No errors.
Platform\SecurityBundle\Entity\Identity\Account No errors.
Cms\ImportBundle\Entity\Import No errors.
Platform\SecurityBundle\Entity\Access\RoleAssociation\AccountRoleAssociation No errors.
Cms\ContainerBundle\Entity\Container No errors.
App\Entity\OAuth2\Admin\AbstractAdminToken No errors.
Products\NotificationsBundle\Entity\AbstractList No errors.
App\Entity\System\School No errors.
Products\NotificationsBundle\Entity\Lists\DistrictList No errors.
Products\NotificationsBundle\Entity\Lists\StaticList No errors.
Products\NotificationsBundle\Entity\Lists\SchoolList No errors.
Products\NotificationsBundle\Entity\Lists\ConditionList No errors.
Products\NotificationsBundle\Entity\Lists\Components\ListSubscription No errors.
Platform\SecurityBundle\Entity\Access\GroupAccount No errors.
Platform\SecurityBundle\Entity\Access\RoleAssociation\GroupRoleAssociation No errors.
Products\NotificationsBundle\Entity\Profile No errors.
Products\NotificationsBundle\Entity\ProfileContact No errors.
Products\NotificationsBundle\Entity\AbstractRecipient No errors.
Products\NotificationsBundle\Entity\Recipients\EmailRecipient No errors.
Products\NotificationsBundle\Entity\Recipients\PhoneRecipient No errors.
Products\NotificationsBundle\Entity\Recipients\AppRecipient No errors.
Products\NotificationsBundle\Entity\Checkup No errors.
App\Entity\OAuth2\App\AbstractAppToken No errors.
Products\NotificationsBundle\Entity\ProfileRelationship No errors.
Products\NotificationsBundle\Entity\AutomationRecord No errors.