Query Metrics

3100 Database Queries
90 Different statements
243.03 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
38.11 ms
(15.68%)
535
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
]
33.66 ms
(13.85%)
535
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  412060
]
11.42 ms
(4.70%)
137
SELECT * FROM object_localized_data_Governorate WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  195
]
10.26 ms
(4.22%)
123
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
]
9.80 ms
(4.03%)
137
SELECT * FROM object_relations_Governorate WHERE src_id = ?
Parameters:
[
  195
]
8.73 ms
(3.59%)
77
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:
[
  187
]
8.60 ms
(3.54%)
91
SELECT * FROM object_localized_data_manned_alert_notification WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  412060
]
8.49 ms
(3.49%)
91
SELECT * FROM object_relations_manned_alert_notification WHERE src_id = ?
Parameters:
[
  412060
]
8.11 ms
(3.34%)
137
SELECT * FROM object_store_Governorate WHERE oo_id = ? FOR UPDATE
Parameters:
[
  195
]
7.75 ms
(3.19%)
106
SELECT * FROM object_localized_data_alert_hazard WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2076
]
7.24 ms
(2.98%)
93
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:
[
  187
]
6.19 ms
(2.55%)
91
SELECT * FROM object_store_manned_alert_notification WHERE oo_id = ? FOR UPDATE
Parameters:
[
  412060
]
6.17 ms
(2.54%)
106
SELECT * FROM object_relations_alert_hazard WHERE src_id = ?
Parameters:
[
  2076
]
5.59 ms
(2.30%)
106
SELECT * FROM object_store_alert_hazard WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2076
]
5.18 ms
(2.13%)
60
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  5
]
5.02 ms
(2.07%)
96
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "manned_alert_notification"
]
3.15 ms
(1.30%)
42
SELECT * FROM object_localized_data_centers WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  389818
]
2.95 ms
(1.21%)
29
SELECT * FROM object_localized_data_Region WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  37
]
2.73 ms
(1.12%)
42
SELECT * FROM object_relations_centers WHERE src_id = ?
Parameters:
[
  389818
]
2.51 ms
(1.03%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "ar"
]
2.37 ms
(0.97%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "Rch0AJUsi13EwVVuJN5G8FB38Svrqcdkoz2i+vuYN14="
]
2.25 ms
(0.93%)
21
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  187
]
2.23 ms
(0.92%)
42
SELECT * FROM object_store_centers WHERE oo_id = ? FOR UPDATE
Parameters:
[
  389818
]
2.21 ms
(0.91%)
27
SELECT * FROM object_localized_data_alert_status WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2075
]
2.12 ms
(0.87%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "Rch0AJUsi13EwVVuJN5G8FB38Svrqcdkoz2i+vuYN14="
]
2.11 ms
(0.87%)
2
SELECT object_localized_manned_alert_notification_ar.id as id, object_localized_manned_alert_notification_ar.type as `type` FROM object_localized_manned_alert_notification_ar WHERE (isEws = ? And Status = ? AND (`toDate` >= ?)  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1 ORDER BY `lastModifiedDate` DESC
Parameters:
[
  true
  "active"
  1786812979
]
1.98 ms
(0.81%)
29
SELECT * FROM object_relations_Region WHERE src_id = ?
Parameters:
[
  37
]
1.87 ms
(0.77%)
2
SELECT COUNT(*) FROM object_localized_manned_alert_notification_ar WHERE (isEws = ? And Status = ? AND (`toDate` >= ?)  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1
Parameters:
[
  true
  "active"
  1786812979
]
1.81 ms
(0.74%)
29
SELECT * FROM object_store_Region WHERE oo_id = ? FOR UPDATE
Parameters:
[
  37
]
1.73 ms
(0.71%)
21
SELECT * FROM object_localized_data_aa WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2088
]
1.72 ms
(0.71%)
27
SELECT * FROM object_relations_alert_status WHERE src_id = ?
Parameters:
[
  2075
]
1.64 ms
(0.67%)
17
SELECT * FROM object_localized_data_alert_type WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2056
]
1.55 ms
(0.64%)
27
SELECT * FROM object_store_alert_status WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2075
]
1.45 ms
(0.60%)
12
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:
[
  412603
]
1.44 ms
(0.59%)
21
SELECT * FROM object_relations_aa WHERE src_id = ?
Parameters:
[
  2088
]
1.41 ms
(0.58%)
13
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  5
]
1.35 ms
(0.56%)
21
SELECT * FROM object_store_aa WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2088
]
1.21 ms
(0.50%)
17
SELECT * FROM object_relations_alert_type WHERE src_id = ?
Parameters:
[
  2056
]
1.04 ms
(0.43%)
17
SELECT * FROM object_store_alert_type WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2056
]
0.99 ms
(0.41%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_ar WHERE (IFNULL(isEws, 0) = ? AND (`toDate` >= ?)  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1
Parameters:
[
  0
  1786812980
]
0.94 ms
(0.38%)
1
SELECT object_localized_manned_alert_notification_ar.id as id, object_localized_manned_alert_notification_ar.type as `type` FROM object_localized_manned_alert_notification_ar WHERE (IFNULL(isEws, 0) = ? AND (`toDate` >= ?)  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1 ORDER BY `alertId` DESC
Parameters:
[
  0
  1786812980
]
0.90 ms
(0.37%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,212,196,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  210
]
0.85 ms
(0.35%)
1
SELECT object_localized_manned_alert_notification_ar.id as id, object_localized_manned_alert_notification_ar.type as `type` FROM object_localized_manned_alert_notification_ar WHERE (isEws = ? And Status = ? AND (`toDate` >= ?)  AND ((alertId = 308083 ))  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1 ORDER BY `lastModifiedDate` DESC
Parameters:
[
  true
  "active"
  1786812979
]
0.85 ms
(0.35%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,136,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  41
]
0.77 ms
(0.32%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,196,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  212
]
0.76 ms
(0.31%)
3
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:
[
  "/ar/test-early-warning/308083"
  "path"
  "auto_create"
  "/ar/test-early-warning/308083"
  "path_query"
  "https://devncmpublic.centricdxb.com/ar/test-early-warning/308083"
  "entire_uri"
]
0.73 ms
(0.30%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_ar WHERE (isEws = ? And Status = ? AND (`toDate` >= ?)  AND ((alertId = 308083 ))  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1
Parameters:
[
  true
  "active"
  1786812979
]
0.63 ms
(0.26%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  91
]
0.60 ms
(0.25%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,28,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  35
]
0.56 ms
(0.23%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,93,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  107
]
0.54 ms
(0.22%)
12
SELECT * FROM versions WHERE id = ?
Parameters:
[
  1274359
]
0.54 ms
(0.22%)
7
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:
[
  7
]
0.53 ms
(0.22%)
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:
[
  28
]
0.49 ms
(0.20%)
1
SELECT object_localized_manned_alert_notification_ar.id as id, object_localized_manned_alert_notification_ar.type as `type` FROM object_localized_manned_alert_notification_ar WHERE (alertId = ? AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1 LIMIT 1
Parameters:
[
  "308083"
]
0.47 ms
(0.20%)
3
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.43 ms
(0.18%)
1
SELECT search_term, page_url, search_count FROM most_searched_terms ORDER BY search_count DESC LIMIT 10
Parameters:
[]
0.40 ms
(0.16%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,6,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  189
]
0.37 ms
(0.15%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,44,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  162
]
0.32 ms
(0.13%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,77,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  64
]
0.31 ms
(0.13%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,91,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  101
]
0.30 ms
(0.12%)
1
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '753'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.29 ms
(0.12%)
1
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '1369'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.27 ms
(0.11%)
4
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.25 ms
(0.10%)
2
SELECT * FROM object_localized_data_District WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  375063
]
0.25 ms
(0.10%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/ar/test-early-warning/"
  "308083"
]
0.25 ms
(0.10%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,95,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  102
]
0.24 ms
(0.10%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "devncmpublic.centricdxb.com"
  "%"devncmpublic.centricdxb.com"%"
]
0.20 ms
(0.08%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  189
]
0.20 ms
(0.08%)
2
SELECT * FROM object_localized_data_municipality WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  33163
]
0.19 ms
(0.08%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "Rch0AJUsi13EwVVuJN5G8FB38Svrqcdkoz2i+vuYN14="
]
0.19 ms
(0.08%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.18 ms
(0.08%)
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.17 ms
(0.07%)
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
  "Rch0AJUsi13EwVVuJN5G8FB38Svrqcdkoz2i+vuYN14="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "Rch0AJUsi13EwVVuJN5G8FB38Svrqcdkoz2i+vuYN14="
]
0.17 ms
(0.07%)
2
SELECT * FROM object_relations_municipality WHERE src_id = ?
Parameters:
[
  33163
]
0.16 ms
(0.07%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,157,196,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  179
]
0.16 ms
(0.06%)
2
SELECT * FROM object_relations_District WHERE src_id = ?
Parameters:
[
  375063
]
0.15 ms
(0.06%)
1
SELECT id FROM versions WHERE cid = ? AND ctype = ?  AND autoSave = 0 ORDER BY `id` ASC
Parameters:
[
  412603
  "object"
]
0.13 ms
(0.06%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  5
]
0.13 ms
(0.06%)
2
SELECT * FROM object_store_municipality WHERE oo_id = ? FOR UPDATE
Parameters:
[
  33163
]
0.12 ms
(0.05%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.12 ms
(0.05%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.12 ms
(0.05%)
2
SELECT * FROM object_store_District WHERE oo_id = ? FOR UPDATE
Parameters:
[
  375063
]
0.11 ms
(0.05%)
1
SELECT id FROM website_settings
Parameters:
[]
0.10 ms
(0.04%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.09 ms
(0.04%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  0
]
0.08 ms
(0.03%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/ar/test-early-warning/308083"
]
0.08 ms
(0.03%)
1
SELECT id,domains FROM sites
Parameters:
[]
0.06 ms
(0.03%)
1
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  0
]
0.06 ms
(0.02%)
1
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  0
]
0.06 ms
(0.02%)
1
SELECT * FROM users_workspaces_object 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.