Query Metrics

1564 Database Queries
78 Different statements
125.22 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
14.91 ms
(11.91%)
226
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  291524
]
14.85 ms
(11.86%)
226
SELECT objects.*, tree_locks.locked as locked FROM objects
            LEFT JOIN tree_locks ON objects.id = tree_locks.id AND tree_locks.type = 'object'
                WHERE objects.id = ?
Parameters:
[
  291524
]
10.34 ms
(8.25%)
105
SELECT assets.*, tree_locks.locked FROM assets
            LEFT JOIN tree_locks ON assets.id = tree_locks.id AND tree_locks.type = 'asset'
                WHERE assets.id = ?
Parameters:
[
  383
]
6.78 ms
(5.41%)
93
SELECT * FROM object_localized_data_Governorate WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  50
]
5.51 ms
(4.40%)
93
SELECT * FROM object_relations_Governorate WHERE src_id = ?
Parameters:
[
  50
]
4.97 ms
(3.97%)
93
SELECT * FROM object_store_Governorate WHERE oo_id = ? FOR UPDATE
Parameters:
[
  50
]
4.83 ms
(3.86%)
75
SELECT documents.*, tree_locks.locked FROM documents
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  58
]
4.60 ms
(3.67%)
57
SELECT * FROM object_localized_data_manned_alert_notification WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  291524
]
4.31 ms
(3.44%)
63
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  4
]
4.26 ms
(3.40%)
57
SELECT * FROM object_relations_manned_alert_notification WHERE src_id = ?
Parameters:
[
  291524
]
4.02 ms
(3.21%)
59
SELECT documents.*, documents_page.*, tree_locks.locked FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  58
]
3.68 ms
(2.94%)
57
SELECT * FROM object_store_manned_alert_notification WHERE oo_id = ? FOR UPDATE
Parameters:
[
  291524
]
2.95 ms
(2.36%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "q/Si9whaky8p/ZXNEAcICfNANICehTLG/gnnHN90gA8="
]
2.92 ms
(2.33%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
2.83 ms
(2.26%)
22
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  58
]
2.38 ms
(1.90%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "q/Si9whaky8p/ZXNEAcICfNANICehTLG/gnnHN90gA8="
]
1.54 ms
(1.23%)
21
SELECT * FROM object_localized_data_Region WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  36
]
1.34 ms
(1.07%)
3
SELECT object_localized_manned_alert_notification_en.id as id, object_localized_manned_alert_notification_en.type as `type` FROM object_localized_manned_alert_notification_en WHERE ((`toDate` >= ?)  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1 ORDER BY `lastModifiedDate` DESC
Parameters:
[
  1778876595
]
1.29 ms
(1.03%)
21
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "manned_alert_notification"
]
1.25 ms
(1.00%)
21
SELECT * FROM object_relations_Region WHERE src_id = ?
Parameters:
[
  36
]
1.21 ms
(0.97%)
10
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,135,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  22
]
1.13 ms
(0.90%)
21
SELECT * FROM object_store_Region WHERE oo_id = ? FOR UPDATE
Parameters:
[
  36
]
1.09 ms
(0.87%)
14
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  4
]
1.07 ms
(0.86%)
15
SELECT * FROM object_localized_data_alert_status WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2252
]
1.07 ms
(0.85%)
3
SELECT COUNT(*) FROM object_localized_manned_alert_notification_en WHERE ((`toDate` >= ?)  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1
Parameters:
[
  1778876595
]
1.02 ms
(0.81%)
15
SELECT * FROM object_localized_data_alert_hazard WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2253
]
0.95 ms
(0.75%)
5
SELECT * FROM redirects WHERE
            (
                (source = ? AND (`type` = ? OR `type` = ?)) OR
                (source = ? AND `type` = ?) OR
                (source = ? AND `type` = ?)
            ) AND active = 1 AND (regex IS NULL OR regex = 0) AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/en/early-warning/301717"
  "path"
  "auto_create"
  "/en/early-warning/301717"
  "path_query"
  "https://devncmpublic.centricdxb.com/en/early-warning/301717"
  "entire_uri"
]
0.87 ms
(0.69%)
6
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,76,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  63
]
0.84 ms
(0.67%)
15
SELECT * FROM object_relations_alert_status WHERE src_id = ?
Parameters:
[
  2252
]
0.78 ms
(0.63%)
15
SELECT * FROM object_relations_alert_hazard WHERE src_id = ?
Parameters:
[
  2253
]
0.78 ms
(0.63%)
15
SELECT * FROM object_store_alert_status WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2252
]
0.74 ms
(0.59%)
15
SELECT * FROM object_store_alert_hazard WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2253
]
0.67 ms
(0.54%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  89
]
0.67 ms
(0.54%)
1
SELECT id FROM versions WHERE cid = ? AND ctype = ?  AND autoSave = 0 ORDER BY `id` ASC
Parameters:
[
  291521
  "object"
]
0.66 ms
(0.53%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,92,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  106
]
0.58 ms
(0.46%)
7
SELECT * FROM object_localized_data_alert_type WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2043
]
0.53 ms
(0.42%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  0
]
0.53 ms
(0.42%)
7
SELECT * FROM object_localized_data_aa WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2053
]
0.51 ms
(0.41%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,84,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  17
]
0.49 ms
(0.39%)
8
SELECT documents.*, documents_link.*, tree_locks.locked FROM documents
            LEFT JOIN documents_link ON documents.id = documents_link.id
                LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  56
]
0.48 ms
(0.38%)
5
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.46 ms
(0.37%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,2,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  188
]
0.44 ms
(0.35%)
7
SELECT * FROM object_relations_alert_type WHERE src_id = ?
Parameters:
[
  2043
]
0.40 ms
(0.32%)
7
SELECT * FROM object_relations_aa WHERE src_id = ?
Parameters:
[
  2053
]
0.39 ms
(0.31%)
7
SELECT * FROM object_store_alert_type WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2043
]
0.38 ms
(0.30%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_en WHERE ((`toDate` >= ?)  AND ((alertId = 301717 ))  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1
Parameters:
[
  1778876595
]
0.37 ms
(0.30%)
6
SELECT documents.*, documents_snippet.*, tree_locks.locked FROM documents
            LEFT JOIN documents_snippet ON documents.id = documents_snippet.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  3
]
0.37 ms
(0.30%)
1
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  0
]
0.36 ms
(0.29%)
7
SELECT * FROM object_store_aa WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2053
]
0.35 ms
(0.28%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,94,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  103
]
0.33 ms
(0.27%)
1
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  0
]
0.32 ms
(0.26%)
1
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  0
]
0.30 ms
(0.24%)
2
SELECT name, type, data, cid, inheritable, cpath FROM properties WHERE
                     (
                         (cid IN (1,291438,2040,2039,2034) AND inheritable = 1)
                         OR cid = ? ) AND ctype='object'
Parameters:
[
  291521
]
0.30 ms
(0.24%)
1
SELECT object_localized_manned_alert_notification_en.id as id, object_localized_manned_alert_notification_en.type as `type` FROM object_localized_manned_alert_notification_en WHERE ((`toDate` >= ?)  AND ((alertId = 301717 ))  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1 ORDER BY `lastModifiedDate` DESC
Parameters:
[
  1778876595
]
0.30 ms
(0.24%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,25,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  161
]
0.29 ms
(0.23%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,133,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  23
]
0.28 ms
(0.22%)
1
SELECT object_localized_manned_alert_notification_en.id as id, object_localized_manned_alert_notification_en.type as `type` FROM object_localized_manned_alert_notification_en WHERE (alertId = ? AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1 LIMIT 1
Parameters:
[
  "301717"
]
0.27 ms
(0.21%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "devncmpublic.centricdxb.com"
  "%"devncmpublic.centricdxb.com"%"
]
0.26 ms
(0.21%)
1
SELECT object_Suggestions.id as id, object_Suggestions.type as `type` FROM object_Suggestions WHERE (page LIKE ? AND WasThisPageHelpful = ? AND  object_Suggestions.type IN ('object','variant','folder')) AND object_Suggestions.published = 1
Parameters:
[
  "%/early-warning/301717"
  "yes"
]
0.26 ms
(0.21%)
1
SELECT object_SuggestionAndComments.id as id, object_SuggestionAndComments.type as `type` FROM object_SuggestionAndComments WHERE (page LIKE ? AND  object_SuggestionAndComments.type IN ('object','variant','folder')) AND object_SuggestionAndComments.published = 1
Parameters:
[
  "%/early-warning/301717"
]
0.22 ms
(0.17%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/en/early-warning/"
  "301717"
]
0.20 ms
(0.16%)
2
SELECT * FROM versions WHERE id = ?
Parameters:
[
  1311883
]
0.19 ms
(0.15%)
1
SELECT search_term, page_url, search_count FROM most_searched_terms ORDER BY search_count DESC LIMIT 10
Parameters:
[]
0.19 ms
(0.15%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "q/Si9whaky8p/ZXNEAcICfNANICehTLG/gnnHN90gA8="
]
0.17 ms
(0.13%)
1
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP(NOW(6)) + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP(NOW(6)))
Parameters:
[
  300.0
  "q/Si9whaky8p/ZXNEAcICfNANICehTLG/gnnHN90gA8="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "q/Si9whaky8p/ZXNEAcICfNANICehTLG/gnnHN90gA8="
]
0.16 ms
(0.13%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,87,76,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  141
]
0.16 ms
(0.13%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  152
]
0.15 ms
(0.12%)
1
SELECT objects.id as id, objects.type as `type` FROM objects WHERE (parentId = ? AND  objects.type IN ('object','variant','folder')) AND objects.published = 1 ORDER BY `key` ASC
Parameters:
[
  2050
]
0.14 ms
(0.12%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,160,135,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  175
]
0.14 ms
(0.11%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,145,135,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  177
]
0.14 ms
(0.11%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,89,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  100
]
0.14 ms
(0.11%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  4
]
0.13 ms
(0.11%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.12 ms
(0.10%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.10 ms
(0.08%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.09 ms
(0.07%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/en/early-warning/301717"
]
0.09 ms
(0.07%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.06 ms
(0.05%)
1
SELECT id,domains FROM sites
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

No managed entities.

Entities Mapping

No mapped entities.