https://staging.test.campussuite.com/_dashboard/notifications/messages/list

Query Metrics

38 Database Queries
12 Different statements
78.01 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
17.65 ms
(22.62%)
1
SELECT DISTINCT id_5 FROM (SELECT DISTINCT id_5, touchedAt_9, title_12 FROM (SELECT n0_.urgent AS urgent_0, n0_.templateChannels AS templateChannels_1, n0_.status AS status_2, n0_.facades AS facades_3, n0_.scheduledAt AS scheduledAt_4, n0_.id AS id_5, n0_.uid AS uid_6, n0_.createdAt AS createdAt_7, n0_.updatedAt AS updatedAt_8, n0_.touchedAt AS touchedAt_9, n0_.channels AS channels_10, n0_.locale AS locale_11, n0_.title AS title_12, n0_.description AS description_13, n0_.script AS script_14, n0_.html AS html_15, n0_.media AS media_16, n0_.emailName AS emailName_17, n0_.emailFrom AS emailFrom_18, n0_.smsUrl AS smsUrl_19, n0_.facebookNote AS facebookNote_20, n0_.twitterNote AS twitterNote_21, n0_.websiteBehavior AS websiteBehavior_22, n0_.websiteLevel AS websiteLevel_23, n0_.websiteEndDateTime AS websiteEndDateTime_24, n0_.flags AS flags_25, n0_.semaphore AS semaphore_26, n0_.discr AS discr_27 FROM notis__notification n0_ WHERE ((n0_.tenant = 1)) AND n0_.discr IN ('message')) dctrn_result_inner ORDER BY touchedAt_9 DESC, title_12 ASC) dctrn_result LIMIT 12
Parameters:
[]
14.66 ms
(18.79%)
1
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_5 FROM (SELECT n0_.urgent AS urgent_0, n0_.templateChannels AS templateChannels_1, n0_.status AS status_2, n0_.facades AS facades_3, n0_.scheduledAt AS scheduledAt_4, n0_.id AS id_5, n0_.uid AS uid_6, n0_.createdAt AS createdAt_7, n0_.updatedAt AS updatedAt_8, n0_.touchedAt AS touchedAt_9, n0_.channels AS channels_10, n0_.locale AS locale_11, n0_.title AS title_12, n0_.description AS description_13, n0_.script AS script_14, n0_.html AS html_15, n0_.media AS media_16, n0_.emailName AS emailName_17, n0_.emailFrom AS emailFrom_18, n0_.smsUrl AS smsUrl_19, n0_.facebookNote AS facebookNote_20, n0_.twitterNote AS twitterNote_21, n0_.websiteBehavior AS websiteBehavior_22, n0_.websiteLevel AS websiteLevel_23, n0_.websiteEndDateTime AS websiteEndDateTime_24, n0_.flags AS flags_25, n0_.semaphore AS semaphore_26, n0_.discr AS discr_27 FROM notis__notification n0_ WHERE ((n0_.tenant = 1)) AND n0_.discr IN ('message') ORDER BY n0_.touchedAt DESC, n0_.title ASC) dctrn_result) dctrn_table
Parameters:
[]
13.24 ms
(16.98%)
12
SELECT t0.status AS status_1, t0.semaphore AS semaphore_2, t0.channels AS channels_3, t0.servicesTotal AS servicesTotal_4, t0.servicesProcessing AS servicesProcessing_5, t0.servicesSucceeded AS servicesSucceeded_6, t0.servicesFailed AS servicesFailed_7, t0.messagesTotal AS messagesTotal_8, t0.messagesProcessing AS messagesProcessing_9, t0.messagesSucceeded AS messagesSucceeded_10, t0.messagesFailed AS messagesFailed_11, t0.messagesDelivered AS messagesDelivered_12, t0.messagesUndelivered AS messagesUndelivered_13, t0.firstActivityAt AS firstActivityAt_14, t0.lastActivityAt AS lastActivityAt_15, t0.lastDeliveryAt AS lastDeliveryAt_16, t0.error AS error_17, t0.errorCount AS errorCount_18, t0.id AS id_19, t0.uid AS uid_20, t0.createdAt AS createdAt_21, t0.updatedAt AS updatedAt_22, t0.touchedAt AS touchedAt_23, t0.appTotal AS appTotal_24, t0.appProcessing AS appProcessing_25, t0.appSucceeded AS appSucceeded_26, t0.appFailed AS appFailed_27, t0.appDelivered AS appDelivered_28, t0.appUndelivered AS appUndelivered_29, t0.appError AS appError_30, t0.emailTotal AS emailTotal_31, t0.emailProcessing AS emailProcessing_32, t0.emailSucceeded AS emailSucceeded_33, t0.emailFailed AS emailFailed_34, t0.emailDelivered AS emailDelivered_35, t0.emailUndelivered AS emailUndelivered_36, t0.emailOpened AS emailOpened_37, t0.emailSpammed AS emailSpammed_38, t0.emailError AS emailError_39, t0.facebookTotal AS facebookTotal_40, t0.facebookProcessing AS facebookProcessing_41, t0.facebookSucceeded AS facebookSucceeded_42, t0.facebookFailed AS facebookFailed_43, t0.facebookError AS facebookError_44, t0.instagramTotal AS instagramTotal_45, t0.instagramProcessing AS instagramProcessing_46, t0.instagramSucceeded AS instagramSucceeded_47, t0.instagramFailed AS instagramFailed_48, t0.instagramError AS instagramError_49, t0.smsTotal AS smsTotal_50, t0.smsProcessing AS smsProcessing_51, t0.smsSucceeded AS smsSucceeded_52, t0.smsFailed AS smsFailed_53, t0.smsDelivered AS smsDelivered_54, t0.smsUndelivered AS smsUndelivered_55, t0.smsError AS smsError_56, t0.twitterTotal AS twitterTotal_57, t0.twitterProcessing AS twitterProcessing_58, t0.twitterSucceeded AS twitterSucceeded_59, t0.twitterFailed AS twitterFailed_60, t0.twitterError AS twitterError_61, t0.voiceTotal AS voiceTotal_62, t0.voiceProcessing AS voiceProcessing_63, t0.voiceSucceeded AS voiceSucceeded_64, t0.voiceFailed AS voiceFailed_65, t0.voiceDelivered AS voiceDelivered_66, t0.voiceUndelivered AS voiceUndelivered_67, t0.voiceAnswered AS voiceAnswered_68, t0.voiceError AS voiceError_69, t0.websiteTotal AS websiteTotal_70, t0.websiteProcessing AS websiteProcessing_71, t0.websiteSucceeded AS websiteSucceeded_72, t0.websiteFailed AS websiteFailed_73, t0.websiteError AS websiteError_74, t0.notification AS notification_75, t0.tenant AS tenant_76, t0.createdBy AS createdBy_77, t0.updatedBy AS updatedBy_78, t0.touchedBy AS touchedBy_79 FROM notis__job t0 WHERE t0.notification = ? AND ((t0.tenant = 1)) ORDER BY t0.createdAt DESC
Parameters:
[
  2538
]
12.57 ms
(16.11%)
12
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 INNER JOIN notis__notification_x_list ON t0.id = notis__notification_x_list.list WHERE notis__notification_x_list.notification = ? AND t0.discr IN ('district', 'static', 'school', 'condition') AND ((t0.tenant = 1))
Parameters:
[
  2538
]
4.31 ms
(5.52%)
4
SELECT t0.name AS name_1, t0.type AS type_2, t0.oneRosterOrg AS oneRosterOrg_3, t0.id AS id_4, t0.uid AS uid_5, t0.createdAt AS createdAt_6, t0.updatedAt AS updatedAt_7, t0.touchedAt AS touchedAt_8, t0.ulid AS ulid_9, t0.details_phone AS details_phone_10, t0.details_fax AS details_fax_11, t0.details_links AS details_links_12, t0.details_inquiryEmails AS details_inquiryEmails_13, t0.details_checkupEmails AS details_checkupEmails_14, t0.details_sisUrl AS details_sisUrl_15, t0.details_contactManagement AS details_contactManagement_16, t0.details_address_recipient AS details_address_recipient_17, t0.details_address_organization AS details_address_organization_18, t0.details_address_street AS details_address_street_19, t0.details_address_unit AS details_address_unit_20, t0.details_address_city AS details_address_city_21, t0.details_address_state AS details_address_state_22, t0.details_address_postalCode AS details_address_postalCode_23, t0.details_address_country AS details_address_country_24, t0.branding_bust AS branding_bust_25, t0.branding_images AS branding_images_26, t0.branding_colorPrimary AS branding_colorPrimary_27, t0.branding_colorSecondary AS branding_colorSecondary_28, t0.branding_colorTertiary AS branding_colorTertiary_29, t0.branding_colorMobileHeader AS branding_colorMobileHeader_30, t0.branding_colorMobileText AS branding_colorMobileText_31, t0.mobile_shortcuts AS mobile_shortcuts_32, t0.mobile_directoryUrl AS mobile_directoryUrl_33, t0.department AS department_34, t0.tenant AS tenant_35, t0.createdBy AS createdBy_36, t0.updatedBy AS updatedBy_37, t0.touchedBy AS touchedBy_38 FROM sys__school t0 WHERE t0.oneRosterOrg = ? AND ((t0.tenant = 1)) LIMIT 1
Parameters:
[
  "ORG-DISTRICT"
]
3.59 ms
(4.60%)
2
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.53 ms
(3.25%)
1
SELECT t0.name AS name_1, t0.type AS type_2, t0.oneRosterOrg AS oneRosterOrg_3, t0.id AS id_4, t0.uid AS uid_5, t0.createdAt AS createdAt_6, t0.updatedAt AS updatedAt_7, t0.touchedAt AS touchedAt_8, t0.ulid AS ulid_9, t0.details_phone AS details_phone_10, t0.details_fax AS details_fax_11, t0.details_links AS details_links_12, t0.details_inquiryEmails AS details_inquiryEmails_13, t0.details_checkupEmails AS details_checkupEmails_14, t0.details_sisUrl AS details_sisUrl_15, t0.details_contactManagement AS details_contactManagement_16, t0.details_address_recipient AS details_address_recipient_17, t0.details_address_organization AS details_address_organization_18, t0.details_address_street AS details_address_street_19, t0.details_address_unit AS details_address_unit_20, t0.details_address_city AS details_address_city_21, t0.details_address_state AS details_address_state_22, t0.details_address_postalCode AS details_address_postalCode_23, t0.details_address_country AS details_address_country_24, t0.branding_bust AS branding_bust_25, t0.branding_images AS branding_images_26, t0.branding_colorPrimary AS branding_colorPrimary_27, t0.branding_colorSecondary AS branding_colorSecondary_28, t0.branding_colorTertiary AS branding_colorTertiary_29, t0.branding_colorMobileHeader AS branding_colorMobileHeader_30, t0.branding_colorMobileText AS branding_colorMobileText_31, t0.mobile_shortcuts AS mobile_shortcuts_32, t0.mobile_directoryUrl AS mobile_directoryUrl_33, t0.department AS department_34, t0.tenant AS tenant_35, t0.createdBy AS createdBy_36, t0.updatedBy AS updatedBy_37, t0.touchedBy AS touchedBy_38 FROM sys__school t0 WHERE t0.id = ? AND ((t0.tenant = 1))
Parameters:
[
  106
]
2.38 ms
(3.05%)
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
]
2.28 ms
(2.92%)
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
]
1.94 ms
(2.49%)
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
]
1.54 ms
(1.97%)
1
SELECT n0_.urgent AS urgent_0, n0_.templateChannels AS templateChannels_1, n0_.status AS status_2, n0_.facades AS facades_3, n0_.scheduledAt AS scheduledAt_4, n0_.id AS id_5, n0_.uid AS uid_6, n0_.createdAt AS createdAt_7, n0_.updatedAt AS updatedAt_8, n0_.touchedAt AS touchedAt_9, n0_.channels AS channels_10, n0_.locale AS locale_11, n0_.title AS title_12, n0_.description AS description_13, n0_.script AS script_14, n0_.html AS html_15, n0_.media AS media_16, n0_.emailName AS emailName_17, n0_.emailFrom AS emailFrom_18, n0_.smsUrl AS smsUrl_19, n0_.facebookNote AS facebookNote_20, n0_.twitterNote AS twitterNote_21, n0_.websiteBehavior AS websiteBehavior_22, n0_.websiteLevel AS websiteLevel_23, n0_.websiteEndDateTime AS websiteEndDateTime_24, n0_.flags AS flags_25, n0_.semaphore AS semaphore_26, n0_.discr AS discr_27, n0_.branding AS branding_28, n0_.tenant AS tenant_29, n0_.createdBy AS createdBy_30, n0_.updatedBy AS updatedBy_31, n0_.touchedBy AS touchedBy_32, n0_.recording AS recording_33, n0_.voiceCallerId AS voiceCallerId_34 FROM notis__notification n0_ WHERE ((n0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (n0_.tenant = 1)) AND n0_.discr IN ('message') ORDER BY n0_.touchedAt DESC, n0_.title ASC
Parameters:
[
  2538
  2537
  2536
  2535
  2534
  2533
  2532
  2531
  2530
  2529
  2528
  2527
]
1.33 ms
(1.70%)
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"
]

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.
Platform\SecurityBundle\Entity\Access\GroupAccount No errors.
Platform\SecurityBundle\Entity\Access\RoleAssociation\GroupRoleAssociation No errors.
Products\NotificationsBundle\Entity\Notifications\Message No errors.
Products\NotificationsBundle\Entity\AbstractNotification No errors.
App\Entity\System\School No errors.
Products\NotificationsBundle\Entity\Recording No errors.
App\Entity\System\Twilio\TwilioCallerId No errors.
Products\NotificationsBundle\Entity\AbstractList No errors.
Cms\ContainerBundle\Entity\Containers\GenericContainer No errors.
App\Entity\System\SocialAccounts\FacebookSocialAccount No errors.
App\Entity\System\SocialAccounts\InstagramSocialAccount No errors.
App\Entity\System\SocialAccounts\TwitterSocialAccount No errors.
Products\NotificationsBundle\Entity\Job No errors.
Products\NotificationsBundle\Entity\Notifications\Translations\Translation 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.
App\Entity\System\SocialAccount No errors.