Query Metrics

1269 Database Queries
93 Different statements
528.60 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
56.32 ms
(10.65%)
180
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  93331
]
52.06 ms
(9.85%)
180
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:
[
  93331
]
40.50 ms
(7.66%)
54
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  4
]
35.25 ms
(6.67%)
82
SELECT * FROM object_relations_Governorate WHERE src_id = ?
Parameters:
[
  97
]
32.88 ms
(6.22%)
82
SELECT * FROM object_localized_data_Governorate WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  97
]
27.50 ms
(5.20%)
82
SELECT * FROM object_store_Governorate WHERE oo_id = ? FOR UPDATE
Parameters:
[
  97
]
24.35 ms
(4.61%)
63
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:
[
  22
]
23.84 ms
(4.51%)
73
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:
[
  328392
]
22.97 ms
(4.35%)
36
SELECT * FROM object_localized_data_manned_alert_notification WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  353121
]
15.08 ms
(2.85%)
10
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "OurServices"
]
14.28 ms
(2.70%)
12
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  4
]
14.27 ms
(2.70%)
14
SELECT * FROM object_relations_OurServices WHERE src_id = ?
Parameters:
[
  93331
]
13.85 ms
(2.62%)
20
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  2
]
12.49 ms
(2.36%)
36
SELECT * FROM object_relations_manned_alert_notification WHERE src_id = ?
Parameters:
[
  353121
]
10.86 ms
(2.06%)
48
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:
[
  22
]
10.13 ms
(1.92%)
8
SELECT * FROM object_store_alert_status WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2396
]
9.22 ms
(1.75%)
14
SELECT * FROM object_localized_data_OurServices WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  93331
]
9.05 ms
(1.71%)
36
SELECT * FROM object_store_manned_alert_notification WHERE oo_id = ? FOR UPDATE
Parameters:
[
  353121
]
7.10 ms
(1.34%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
6.30 ms
(1.19%)
14
SELECT * FROM object_store_alert_hazard WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2397
]
6.22 ms
(1.18%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "tDRWQaShy8ONy3WLH95gFc2pWJ/KslV4th4Eg7eanMY="
]
5.86 ms
(1.11%)
1
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '1167'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
5.73 ms
(1.08%)
13
SELECT * FROM object_relations_Region WHERE src_id = ?
Parameters:
[
  36
]
5.46 ms
(1.03%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/en/services/our-services/"
  "request-for-permit-license-for-an-existing-meteorological-station"
]
4.22 ms
(0.80%)
8
SELECT * FROM object_relations_alert_status WHERE src_id = ?
Parameters:
[
  2396
]
3.62 ms
(0.69%)
13
SELECT * FROM object_store_Region WHERE oo_id = ? FOR UPDATE
Parameters:
[
  36
]
3.58 ms
(0.68%)
14
SELECT * FROM object_store_OurServices WHERE oo_id = ? FOR UPDATE
Parameters:
[
  93331
]
3.20 ms
(0.60%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,89,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  100
]
3.16 ms
(0.60%)
14
SELECT * FROM object_relations_alert_hazard WHERE src_id = ?
Parameters:
[
  2397
]
2.92 ms
(0.55%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 93335
Parameters:
[]
2.89 ms
(0.55%)
3
SELECT * FROM object_relations_aa WHERE src_id = ?
Parameters:
[
  2053
]
2.86 ms
(0.54%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "tDRWQaShy8ONy3WLH95gFc2pWJ/KslV4th4Eg7eanMY="
]
2.63 ms
(0.50%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
2.30 ms
(0.43%)
13
SELECT * FROM object_localized_data_Region WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  36
]
2.13 ms
(0.40%)
1
SELECT * FROM object_store_Category WHERE oo_id = ? FOR UPDATE
Parameters:
[
  93271
]
2.06 ms
(0.39%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,92,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  106
]
1.80 ms
(0.34%)
14
SELECT * FROM object_localized_data_alert_hazard WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2397
]
1.71 ms
(0.32%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,76,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  63
]
1.68 ms
(0.32%)
1
SELECT object_localized_OurServices_en.id as id, object_localized_OurServices_en.type as `type` FROM object_localized_OurServices_en WHERE (`url` = 'request-for-permit-license-for-an-existing-meteorological-station'  AND  object_localized_OurServices_en.type IN ('variant','object')) AND object_localized_OurServices_en.published = 1 LIMIT 1
Parameters:
[]
1.61 ms
(0.30%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,195,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  160
]
1.36 ms
(0.26%)
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  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:
[
  1782591133
]
1.35 ms
(0.26%)
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:
[]
1.35 ms
(0.26%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  89
]
1.15 ms
(0.22%)
6
SELECT * FROM object_relations_municipality WHERE src_id = ?
Parameters:
[
  33430
]
1.09 ms
(0.21%)
8
SELECT * FROM object_localized_data_alert_status WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2396
]
1.04 ms
(0.20%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,84,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  17
]
0.94 ms
(0.18%)
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.91 ms
(0.17%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "tDRWQaShy8ONy3WLH95gFc2pWJ/KslV4th4Eg7eanMY="
]
0.85 ms
(0.16%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,135,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  22
]
0.75 ms
(0.14%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/en/services/our-services/request-for-permit-license-for-an-existing-meteorological-station"
]
0.74 ms
(0.14%)
1
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:
[
  1782591133
]
0.74 ms
(0.14%)
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:
[
  135
]
0.73 ms
(0.14%)
6
SELECT * FROM object_localized_data_municipality WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  33430
]
0.71 ms
(0.13%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.60 ms
(0.11%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,25,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  161
]
0.57 ms
(0.11%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 93311
Parameters:
[]
0.56 ms
(0.11%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.55 ms
(0.10%)
6
SELECT * FROM object_store_municipality WHERE oo_id = ? FOR UPDATE
Parameters:
[
  33430
]
0.54 ms
(0.10%)
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:
[
  "/en/services/our-services/request-for-permit-license-for-an-existing-meteorological-station"
  "path"
  "auto_create"
  "/en/services/our-services/request-for-permit-license-for-an-existing-meteorological-station"
  "path_query"
  "https://devncmpublic.centricdxb.com/en/services/our-services/request-for-permit-license-for-an-existing-meteorological-station"
  "entire_uri"
]
0.51 ms
(0.10%)
3
SELECT * FROM object_localized_data_aa WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2053
]
0.51 ms
(0.10%)
1
SELECT * FROM object_localized_data_Category WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  93271
]
0.49 ms
(0.09%)
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.47 ms
(0.09%)
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
  "tDRWQaShy8ONy3WLH95gFc2pWJ/KslV4th4Eg7eanMY="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "tDRWQaShy8ONy3WLH95gFc2pWJ/KslV4th4Eg7eanMY="
]
0.44 ms
(0.08%)
1
SELECT object_localized_OurServices_en.id as id, object_localized_OurServices_en.type as `type` FROM object_localized_OurServices_en WHERE ((`category__id` = ? AND `category__type` = ?)  AND  object_localized_OurServices_en.type IN ('object','variant','folder')) AND object_localized_OurServices_en.published = 1 ORDER BY `orderId` ASC
Parameters:
[
  93271
  "object"
]
0.37 ms
(0.07%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,94,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  103
]
0.36 ms
(0.07%)
1
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '1181'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
0.34 ms
(0.06%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 93305
Parameters:
[]
0.32 ms
(0.06%)
3
SELECT * FROM object_store_aa WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2053
]
0.32 ms
(0.06%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 93334
Parameters:
[]
0.32 ms
(0.06%)
2
SELECT * FROM object_relations_alert_type WHERE src_id = ?
Parameters:
[
  2043
]
0.31 ms
(0.06%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 93322
Parameters:
[]
0.30 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` = '1020'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
0.27 ms
(0.05%)
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.26 ms
(0.05%)
2
SELECT * FROM object_localized_data_alert_type WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2043
]
0.24 ms
(0.05%)
2
SELECT * FROM object_store_alert_type WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2043
]
0.23 ms
(0.04%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.22 ms
(0.04%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 93314
Parameters:
[]
0.22 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.21 ms
(0.04%)
1
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '1180'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
0.20 ms
(0.04%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.17 ms
(0.03%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  4
]
0.17 ms
(0.03%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,2,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  188
]
0.13 ms
(0.02%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 93332
Parameters:
[]
0.12 ms
(0.02%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 93312
Parameters:
[]
0.12 ms
(0.02%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "devncmpublic.centricdxb.com"
  "%"devncmpublic.centricdxb.com"%"
]
0.11 ms
(0.02%)
1
SELECT * FROM object_relations_Category WHERE src_id = ?
Parameters:
[
  93271
]
0.08 ms
(0.01%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 93339
Parameters:
[]
0.07 ms
(0.01%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 93336
Parameters:
[]
0.07 ms
(0.01%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 93313
Parameters:
[]
0.07 ms
(0.01%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 93333
Parameters:
[]
0.06 ms
(0.01%)
1
SELECT id,domains FROM sites
Parameters:
[]
0.05 ms
(0.01%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 93291
Parameters:
[]
0.05 ms
(0.01%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 93331
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.