Query Metrics

2564 Database Queries
99 Different statements
418.37 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
214.47 ms
(51.26%)
1
SELECT COUNT(*) FROM objects WHERE ( objects.type IN ('object','variant','folder')) AND objects.published = 1
Parameters:
[]
30.29 ms
(7.24%)
427
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:
[
  412060
]
25.85 ms
(6.18%)
427
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  412060
]
9.27 ms
(2.22%)
131
SELECT * FROM object_localized_data_Governorate WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  195
]
8.07 ms
(1.93%)
131
SELECT * FROM object_relations_Governorate WHERE src_id = ?
Parameters:
[
  195
]
7.60 ms
(1.82%)
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:
[
  374
]
7.59 ms
(1.81%)
85
SELECT * FROM object_localized_data_manned_alert_notification WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  412060
]
7.46 ms
(1.78%)
85
SELECT * FROM object_relations_manned_alert_notification WHERE src_id = ?
Parameters:
[
  412060
]
6.91 ms
(1.65%)
131
SELECT * FROM object_store_Governorate WHERE oo_id = ? FOR UPDATE
Parameters:
[
  195
]
5.60 ms
(1.34%)
85
SELECT * FROM object_store_manned_alert_notification WHERE oo_id = ? FOR UPDATE
Parameters:
[
  412060
]
5.32 ms
(1.27%)
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:
[
  186
]
4.60 ms
(1.10%)
62
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  4
]
4.50 ms
(1.08%)
63
SELECT * FROM object_localized_data_alert_hazard WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2076
]
4.48 ms
(1.07%)
42
SELECT * FROM object_store_centers WHERE oo_id = ? FOR UPDATE
Parameters:
[
  389818
]
4.42 ms
(1.06%)
60
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:
[
  186
]
3.93 ms
(0.94%)
42
SELECT * FROM object_localized_data_centers WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  389818
]
3.63 ms
(0.87%)
63
SELECT * FROM object_relations_alert_hazard WHERE src_id = ?
Parameters:
[
  2076
]
3.39 ms
(0.81%)
11
SELECT * FROM object_localized_data_alert_type WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2056
]
3.31 ms
(0.79%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
3.19 ms
(0.76%)
63
SELECT * FROM object_store_alert_hazard WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2076
]
3.17 ms
(0.76%)
42
SELECT * FROM object_relations_centers WHERE src_id = ?
Parameters:
[
  389818
]
3.00 ms
(0.72%)
55
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "manned_alert_notification"
]
2.81 ms
(0.67%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "1ffTwzJmn2qHB3+48Q3ffaHEsQUPiHXCDNPOubbhcmc="
]
2.76 ms
(0.66%)
22
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  186
]
2.45 ms
(0.58%)
2
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 (isEws = ? And Status = ? AND (`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:
[
  true
  "active"
  1786813054
]
2.17 ms
(0.52%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "1ffTwzJmn2qHB3+48Q3ffaHEsQUPiHXCDNPOubbhcmc="
]
2.14 ms
(0.51%)
2
SELECT COUNT(*) FROM object_localized_manned_alert_notification_en WHERE (isEws = ? And Status = ? AND (`toDate` >= ?)  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1
Parameters:
[
  true
  "active"
  1786813054
]
1.81 ms
(0.43%)
23
SELECT * FROM object_localized_data_Region WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  37
]
1.73 ms
(0.41%)
7
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/test-early-warning/308052"
  "path"
  "auto_create"
  "/en/test-early-warning/308052"
  "path_query"
  "https://devncmpublic.centricdxb.com/en/test-early-warning/308052"
  "entire_uri"
]
1.68 ms
(0.40%)
21
SELECT * FROM object_localized_data_alert_status WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2075
]
1.33 ms
(0.32%)
21
SELECT * FROM object_relations_alert_status WHERE src_id = ?
Parameters:
[
  2075
]
1.32 ms
(0.32%)
23
SELECT * FROM object_relations_Region WHERE src_id = ?
Parameters:
[
  37
]
1.32 ms
(0.31%)
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 (IFNULL(isEws, 0) = ? AND (`toDate` >= ?)  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1 ORDER BY `alertId` DESC
Parameters:
[
  0
  1786813054
]
1.24 ms
(0.30%)
23
SELECT * FROM object_store_Region WHERE oo_id = ? FOR UPDATE
Parameters:
[
  37
]
1.22 ms
(0.29%)
7
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
1.17 ms
(0.28%)
21
SELECT * FROM object_store_alert_status WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2075
]
1.15 ms
(0.28%)
15
SELECT * FROM object_localized_data_aa WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2088
]
1.12 ms
(0.27%)
13
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  4
]
0.95 ms
(0.23%)
15
SELECT * FROM object_relations_aa WHERE src_id = ?
Parameters:
[
  2088
]
0.89 ms
(0.21%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_en WHERE (IFNULL(isEws, 0) = ? AND (`toDate` >= ?)  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1
Parameters:
[
  0
  1786813054
]
0.85 ms
(0.20%)
15
SELECT * FROM object_store_aa WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2088
]
0.84 ms
(0.20%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,2,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  188
]
0.81 ms
(0.19%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,87,195,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  201
]
0.81 ms
(0.19%)
11
SELECT * FROM object_relations_alert_type WHERE src_id = ?
Parameters:
[
  2056
]
0.79 ms
(0.19%)
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 (isEws = ? And Status = ? AND (`toDate` >= ?)  AND ((alertId = 308052 ))  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:
[
  true
  "active"
  1786813054
]
0.73 ms
(0.17%)
6
SELECT name, type, data, cid, inheritable, cpath FROM properties WHERE
                     (
                         (cid IN (1,411634,2040,2039,2034) AND inheritable = 1)
                         OR cid = ? ) AND ctype='object'
Parameters:
[
  411815
]
0.72 ms
(0.17%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,195,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  87
]
0.69 ms
(0.16%)
11
SELECT * FROM object_store_alert_type WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2056
]
0.65 ms
(0.16%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_en WHERE (isEws = ? And Status = ? AND (`toDate` >= ?)  AND ((alertId = 308052 ))  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1
Parameters:
[
  true
  "active"
  1786813054
]
0.56 ms
(0.13%)
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:
[
  "308052"
]
0.56 ms
(0.13%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,135,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  22
]
0.54 ms
(0.13%)
7
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.51 ms
(0.12%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  89
]
0.46 ms
(0.11%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,25,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  161
]
0.46 ms
(0.11%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  188
]
0.44 ms
(0.11%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,92,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  106
]
0.43 ms
(0.10%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,84,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  17
]
0.43 ms
(0.10%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,76,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  63
]
0.43 ms
(0.10%)
1
SELECT objects.id as id, objects.type as `type` FROM objects WHERE ( objects.type IN ('object','variant','folder')) AND objects.published = 1 ORDER BY `modificationDate` DESC   LIMIT 1
Parameters:
[]
0.39 ms
(0.09%)
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:
[
  "%/test-early-warning/308052"
]
0.36 ms
(0.09%)
6
SELECT * FROM versions WHERE id = ?
Parameters:
[
  1267079
]
0.34 ms
(0.08%)
1
SELECT search_term, page_url, search_count FROM most_searched_terms ORDER BY search_count DESC LIMIT 10
Parameters:
[]
0.32 ms
(0.08%)
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.32 ms
(0.08%)
4
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.31 ms
(0.08%)
1
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '753'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
0.31 ms
(0.08%)
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:
[
  "%/test-early-warning/308052"
  "yes"
]
0.27 ms
(0.07%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "devncmpublic.centricdxb.com"
  "%"devncmpublic.centricdxb.com"%"
]
0.26 ms
(0.06%)
1
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '1369'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
0.24 ms
(0.06%)
1
SELECT object_Suggestions.id as id, object_Suggestions.type as `type` FROM object_Suggestions WHERE (page LIKE ? AND  object_Suggestions.type IN ('object','variant','folder')) AND object_Suggestions.published = 1
Parameters:
[
  "%/test-early-warning/308052"
]
0.24 ms
(0.06%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,89,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  100
]
0.22 ms
(0.05%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,94,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  103
]
0.22 ms
(0.05%)
2
SELECT * FROM object_localized_data_District WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  375063
]
0.21 ms
(0.05%)
2
SELECT * FROM object_localized_data_municipality WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  33163
]
0.19 ms
(0.05%)
2
SELECT * FROM object_relations_District WHERE src_id = ?
Parameters:
[
  375063
]
0.19 ms
(0.05%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/en/test-early-warning/"
  "308052"
]
0.18 ms
(0.04%)
1
SELECT id FROM versions WHERE cid = ? AND ctype = ?  AND autoSave = 0 ORDER BY `id` ASC
Parameters:
[
  411815
  "object"
]
0.17 ms
(0.04%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "1ffTwzJmn2qHB3+48Q3ffaHEsQUPiHXCDNPOubbhcmc="
]
0.17 ms
(0.04%)
2
SELECT * FROM object_relations_municipality WHERE src_id = ?
Parameters:
[
  33163
]
0.17 ms
(0.04%)
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
  "1ffTwzJmn2qHB3+48Q3ffaHEsQUPiHXCDNPOubbhcmc="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "1ffTwzJmn2qHB3+48Q3ffaHEsQUPiHXCDNPOubbhcmc="
]
0.16 ms
(0.04%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,160,195,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  175
]
0.16 ms
(0.04%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  4
]
0.15 ms
(0.04%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.14 ms
(0.03%)
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.03%)
2
SELECT * FROM object_store_District WHERE oo_id = ? FOR UPDATE
Parameters:
[
  375063
]
0.14 ms
(0.03%)
2
SELECT * FROM object_store_municipality WHERE oo_id = ? FOR UPDATE
Parameters:
[
  33163
]
0.14 ms
(0.03%)
1
SELECT id FROM website_settings
Parameters:
[]
0.12 ms
(0.03%)
1
SELECT COUNT(*) FROM documents WHERE published = 1
Parameters:
[]
0.12 ms
(0.03%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  0
]
0.11 ms
(0.03%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.11 ms
(0.03%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.10 ms
(0.02%)
1
SELECT * FROM object_relations_PushNotificationLog WHERE src_id = ?
Parameters:
[
  413109
]
0.09 ms
(0.02%)
1
SELECT id,domains FROM sites
Parameters:
[]
0.08 ms
(0.02%)
1
SELECT * FROM object_store_PushNotificationLog WHERE oo_id = ? FOR UPDATE
Parameters:
[
  413109
]
0.08 ms
(0.02%)
1
SELECT documents.id, documents.type FROM documents WHERE published = 1 ORDER BY `modificationDate` DESC   LIMIT 1
Parameters:
[]
0.08 ms
(0.02%)
1
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  0
]
0.07 ms
(0.02%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.07 ms
(0.02%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/en/test-early-warning/308052"
]
0.07 ms
(0.02%)
1
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  0
]
0.06 ms
(0.02%)
1
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  0
]

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.