Query Metrics
38
Database Queries
16
Different statements
55.12 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
11.73 ms (21.29%) |
12 |
SELECT t0.yaml AS yaml_1, t0.customConfig AS customConfig_2, t0.baseConfig AS baseConfig_3, t0.translationLocales AS translationLocales_4, t0.id AS id_5, t0.uid AS uid_6, t0.createdAt AS createdAt_7, t0.updatedAt AS updatedAt_8, t0.touchedAt AS touchedAt_9, t0.tenant AS tenant_10, t0.createdBy AS createdBy_11, t0.updatedBy AS updatedBy_12, t0.touchedBy AS touchedBy_13 FROM notis__notification_config t0 WHERE t0.tenant = ? AND ((t0.tenant = 1)) LIMIT 1
Parameters:
[
1
]
|
6.52 ms (11.83%) |
1 |
SELECT COUNT(DISTINCT n0_.id) AS sclr_0 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_ WHERE (n3_.role IN (?)) AND (n3_.discarded = 0) AND (n3_.tenant = 1))) AND (n0_.discarded = 0) AND (n0_.tenant = 1)
Parameters:
[
"community"
]
|
5.00 ms (9.08%) |
3 |
SELECT COUNT(DISTINCT n0_.id) AS sclr_0 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_ WHERE (n3_.role IN (?) AND JSON_CONTAINS( JSON_EXTRACT(n3_.metadata, '$.\"_orgs\"'), ?) = 1) AND (n3_.discarded = 0) AND (n3_.tenant = 1))) AND (n0_.discarded = 0) AND (n0_.tenant = 1)
Parameters:
[ "community" ""ORG-REVIEW"" ] |
4.84 ms (8.78%) |
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"
]
|
4.67 ms (8.47%) |
3 |
SELECT COUNT(DISTINCT n0_.id) AS sclr_0 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_ WHERE (n3_.role IN (?, ?, ?) AND JSON_CONTAINS( JSON_EXTRACT(n3_.metadata, '$.\"_orgs\"'), ?) = 1) AND (n3_.discarded = 0) AND (n3_.tenant = 1))) AND (n0_.discarded = 0) AND (n0_.tenant = 1)
Parameters:
[ "guardian" "parent" "relative" ""ORG-REVIEW"" ] |
4.49 ms (8.14%) |
3 |
SELECT COUNT(DISTINCT n0_.id) AS sclr_0 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_ WHERE (n3_.role IN (?, ?, ?, ?, ?) AND JSON_CONTAINS( JSON_EXTRACT(n3_.metadata, '$.\"_orgs\"'), ?) = 1) AND (n3_.discarded = 0) AND (n3_.tenant = 1))) AND (n0_.discarded = 0) AND (n0_.tenant = 1)
Parameters:
[ "administrator" "aide" "proctor" "teacher" "staff" ""ORG-REVIEW"" ] |
4.26 ms (7.73%) |
2 |
SELECT DISTINCT id_2 FROM (SELECT DISTINCT id_2, name_0 FROM (SELECT n0_.name AS name_0, n0_.types AS types_1, n0_.id AS id_2, n0_.uid AS uid_3, n0_.createdAt AS createdAt_4, n0_.updatedAt AS updatedAt_5, n0_.touchedAt AS touchedAt_6, n0_.onerosterId AS onerosterId_7, n0_.onerosterArchived AS onerosterArchived_8, n0_.flags AS flags_9, n0_.alias AS alias_10, n0_.conditionQuery AS conditionQuery_11, n0_.discr AS discr_12 FROM notis__list n0_ WHERE ((n0_.tenant = 1)) AND n0_.discr IN ('district', 'static', 'school', 'condition')) dctrn_result_inner ORDER BY name_0 ASC) dctrn_result LIMIT 12
Parameters:
[] |
3.60 ms (6.53%) |
1 |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_2 FROM (SELECT n0_.name AS name_0, n0_.types AS types_1, n0_.id AS id_2, n0_.uid AS uid_3, n0_.createdAt AS createdAt_4, n0_.updatedAt AS updatedAt_5, n0_.touchedAt AS touchedAt_6, n0_.onerosterId AS onerosterId_7, n0_.onerosterArchived AS onerosterArchived_8, n0_.flags AS flags_9, n0_.alias AS alias_10, n0_.conditionQuery AS conditionQuery_11, n0_.discr AS discr_12 FROM notis__list n0_ WHERE ((n0_.tenant = 1)) AND n0_.discr IN ('district', 'static', 'school', 'condition') ORDER BY n0_.name ASC) dctrn_result) dctrn_table
Parameters:
[] |
2.00 ms (3.63%) |
2 |
SELECT n0_.name AS name_0, n0_.types AS types_1, n0_.id AS id_2, n0_.uid AS uid_3, n0_.createdAt AS createdAt_4, n0_.updatedAt AS updatedAt_5, n0_.touchedAt AS touchedAt_6, n0_.onerosterId AS onerosterId_7, n0_.onerosterArchived AS onerosterArchived_8, n0_.flags AS flags_9, n0_.alias AS alias_10, n0_.conditionQuery AS conditionQuery_11, n0_.discr AS discr_12, n0_.school AS school_13, n0_.tenant AS tenant_14, n0_.createdBy AS createdBy_15, n0_.updatedBy AS updatedBy_16, n0_.touchedBy AS touchedBy_17 FROM notis__list n0_ WHERE ((n0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (n0_.tenant = 1)) AND n0_.discr IN ('district', 'static', 'school', 'condition') ORDER BY n0_.name ASC
Parameters:
[ 1450 1449 1448 1468 1467 1466 1459 1458 1457 1447 1446 1445 ] |
1.94 ms (3.53%) |
1 |
SELECT COUNT(DISTINCT n0_.id) AS sclr_0 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_ WHERE (n3_.role IN (?, ?, ?)) AND (n3_.discarded = 0) AND (n3_.tenant = 1))) AND (n0_.discarded = 0) AND (n0_.tenant = 1)
Parameters:
[ "guardian" "parent" "relative" ] |
1.87 ms (3.39%) |
1 |
SELECT COUNT(DISTINCT n0_.id) AS sclr_0 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_ WHERE (n3_.role IN (?, ?, ?, ?, ?)) AND (n3_.discarded = 0) AND (n3_.tenant = 1))) AND (n0_.discarded = 0) AND (n0_.tenant = 1)
Parameters:
[ "administrator" "aide" "proctor" "teacher" "staff" ] |
1.15 ms (2.08%) |
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"
]
|
0.78 ms (1.41%) |
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.78 ms (1.41%) |
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 ] |
0.77 ms (1.41%) |
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
]
|
0.71 ms (1.29%) |
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
]
|
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.