Query Metrics

1184 Database Queries
83 Different statements
105.12 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
11.81 ms
(11.23%)
157
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:
[
  29
]
11.70 ms
(11.13%)
157
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  29
]
6.21 ms
(5.91%)
79
SELECT * FROM object_localized_data_Governorate WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  43
]
5.93 ms
(5.64%)
70
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:
[
  373
]
5.49 ms
(5.22%)
79
SELECT * FROM object_relations_Governorate WHERE src_id = ?
Parameters:
[
  43
]
5.36 ms
(5.10%)
83
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:
[
  5
]
4.83 ms
(4.59%)
53
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  5
]
4.50 ms
(4.28%)
67
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:
[
  5
]
4.46 ms
(4.25%)
79
SELECT * FROM object_store_Governorate WHERE oo_id = ? FOR UPDATE
Parameters:
[
  43
]
3.05 ms
(2.90%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "ar"
]
2.61 ms
(2.48%)
27
SELECT * FROM object_relations_manned_alert_notification WHERE src_id = ?
Parameters:
[
  357512
]
2.56 ms
(2.44%)
27
SELECT * FROM object_localized_data_manned_alert_notification WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  357512
]
2.53 ms
(2.41%)
20
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  6
]
2.42 ms
(2.30%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "f5SyvajiwNeWJPntUBIOK86l+/xUgqs3EQQwxV9zN0k="
]
2.00 ms
(1.90%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "f5SyvajiwNeWJPntUBIOK86l+/xUgqs3EQQwxV9zN0k="
]
1.85 ms
(1.76%)
27
SELECT * FROM object_store_manned_alert_notification WHERE oo_id = ? FOR UPDATE
Parameters:
[
  357512
]
1.23 ms
(1.17%)
16
SELECT * FROM object_localized_data_alert_hazard WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2094
]
1.16 ms
(1.10%)
2
SELECT * FROM object_store_alert_type WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2043
]
1.14 ms
(1.09%)
13
SELECT * FROM object_localized_data_Region WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  29
]
1.07 ms
(1.02%)
12
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  5
]
0.98 ms
(0.93%)
16
SELECT * FROM object_relations_alert_hazard WHERE src_id = ?
Parameters:
[
  2094
]
0.87 ms
(0.82%)
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 ((`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:
[
  1783109109
]
0.86 ms
(0.82%)
13
SELECT * FROM object_relations_Region WHERE src_id = ?
Parameters:
[
  29
]
0.83 ms
(0.79%)
16
SELECT * FROM object_store_alert_hazard WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2094
]
0.79 ms
(0.76%)
13
SELECT * FROM object_store_Region WHERE oo_id = ? FOR UPDATE
Parameters:
[
  29
]
0.75 ms
(0.72%)
1
SELECT object_localized_Mountain_ar.id as id, object_localized_Mountain_ar.type as `type` FROM object_localized_Mountain_ar WHERE (region__id = ? AND  object_localized_Mountain_ar.type IN ('object','variant','folder')) AND object_localized_Mountain_ar.published = 1 LIMIT 6
Parameters:
[
  29
]
0.73 ms
(0.69%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,136,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  41
]
0.70 ms
(0.67%)
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 ((`toDate` >= ?)  AND ((region__id = 29 ))  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:
[
  1783109098
]
0.68 ms
(0.64%)
9
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "Region"
]
0.63 ms
(0.60%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,28,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  35
]
0.62 ms
(0.59%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,93,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  107
]
0.61 ms
(0.58%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  91
]
0.60 ms
(0.57%)
7
SELECT * FROM object_localized_data_municipality WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  33590
]
0.59 ms
(0.56%)
7
SELECT * FROM object_localized_data_alert_status WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2093
]
0.56 ms
(0.53%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_ar WHERE ((`toDate` >= ?)  AND ((region__id = 29 ))  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1
Parameters:
[
  1783109098
]
0.54 ms
(0.51%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,196,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  157
]
0.53 ms
(0.51%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_ar WHERE ((`toDate` >= ?)  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1
Parameters:
[
  1783109109
]
0.49 ms
(0.46%)
7
SELECT * FROM object_relations_municipality WHERE src_id = ?
Parameters:
[
  33590
]
0.46 ms
(0.44%)
7
SELECT * FROM object_relations_alert_status WHERE src_id = ?
Parameters:
[
  2093
]
0.45 ms
(0.43%)
7
SELECT * FROM object_store_municipality WHERE oo_id = ? FOR UPDATE
Parameters:
[
  33590
]
0.44 ms
(0.42%)
7
SELECT * FROM object_store_alert_status WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2093
]
0.43 ms
(0.41%)
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.41 ms
(0.39%)
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.40 ms
(0.38%)
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.38 ms
(0.36%)
1
SELECT object_localized_Region_ar.id as id, object_localized_Region_ar.type as `type` FROM object_localized_Region_ar WHERE (`regionId` = '4'  AND  object_localized_Region_ar.type IN ('variant','object')) AND object_localized_Region_ar.published = 1 LIMIT 1
Parameters:
[]
0.37 ms
(0.36%)
2
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/region/hail"
  "path"
  "auto_create"
  "/ar/region/hail"
  "path_query"
  "https://devncmpublic.centricdxb.com/ar/region/hail"
  "entire_uri"
]
0.37 ms
(0.35%)
1
SELECT object_localized_Region_ar.id as id, object_localized_Region_ar.type as `type` FROM object_localized_Region_ar WHERE (id != ? AND  object_localized_Region_ar.type IN ('object','variant','folder')) AND object_localized_Region_ar.published = 1
Parameters:
[
  29
]
0.36 ms
(0.35%)
1
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '1180'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.36 ms
(0.34%)
1
SELECT object_localized_Region_ar.id as id, object_localized_Region_ar.type as `type` FROM object_localized_Region_ar WHERE (`url` = 'hail'  AND  object_localized_Region_ar.type IN ('variant','object')) AND object_localized_Region_ar.published = 1 LIMIT 1
Parameters:
[]
0.33 ms
(0.32%)
1
SELECT object_localized_Governorate_ar.id as id, object_localized_Governorate_ar.type as `type` FROM object_localized_Governorate_ar WHERE (region__id = ? AND  object_localized_Governorate_ar.type IN ('object','variant','folder')) AND object_localized_Governorate_ar.published = 1 ORDER BY `isFamous` DESC
Parameters:
[
  29
]
0.31 ms
(0.29%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,77,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  64
]
0.30 ms
(0.29%)
2
SELECT * FROM object_localized_data_Mountain WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  246
]
0.30 ms
(0.28%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,44,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  162
]
0.29 ms
(0.27%)
3
SELECT * FROM object_localized_data_aa WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2053
]
0.28 ms
(0.26%)
3
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/ar/region/"
  "hail"
]
0.26 ms
(0.25%)
1
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '1471'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.26 ms
(0.25%)
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.22%)
3
SELECT * FROM object_relations_aa WHERE src_id = ?
Parameters:
[
  2053
]
0.22 ms
(0.21%)
2
SELECT * FROM object_localized_data_alert_type WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2043
]
0.22 ms
(0.21%)
2
SELECT * FROM object_relations_Mountain WHERE src_id = ?
Parameters:
[
  246
]
0.21 ms
(0.20%)
1
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '1020'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.21 ms
(0.20%)
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.20 ms
(0.19%)
3
SELECT * FROM object_store_aa WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2053
]
0.20 ms
(0.19%)
2
SELECT * FROM object_store_Mountain WHERE oo_id = ? FOR UPDATE
Parameters:
[
  246
]
0.20 ms
(0.19%)
1
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '1181'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.20 ms
(0.19%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "f5SyvajiwNeWJPntUBIOK86l+/xUgqs3EQQwxV9zN0k="
]
0.20 ms
(0.19%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.19 ms
(0.18%)
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.19 ms
(0.18%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.18 ms
(0.17%)
1
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '621'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.17 ms
(0.16%)
2
SELECT * FROM object_relations_alert_type WHERE src_id = ?
Parameters:
[
  2043
]
0.16 ms
(0.15%)
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.15%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  5
]
0.13 ms
(0.12%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,91,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  101
]
0.13 ms
(0.12%)
2
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/ar/region/hail"
]
0.12 ms
(0.11%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "devncmpublic.centricdxb.com"
  "%"devncmpublic.centricdxb.com"%"
]
0.11 ms
(0.10%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.11 ms
(0.10%)
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
  "f5SyvajiwNeWJPntUBIOK86l+/xUgqs3EQQwxV9zN0k="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "f5SyvajiwNeWJPntUBIOK86l+/xUgqs3EQQwxV9zN0k="
]
0.10 ms
(0.10%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.09 ms
(0.09%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.08 ms
(0.07%)
1
select `factsData` from object_store_Mountain where oo_id  = 246
Parameters:
[]
0.06 ms
(0.06%)
1
select `factsData` from object_store_Mountain where oo_id  = 247
Parameters:
[]
0.05 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.