Query Metrics

1161 Database Queries
92 Different statements
154.23 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
14.29 ms
(9.26%)
134
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:
[
  93269
]
13.85 ms
(8.98%)
134
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  93269
]
10.49 ms
(6.80%)
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:
[
  124
]
9.81 ms
(6.36%)
106
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  5
]
9.40 ms
(6.10%)
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:
[
  124
]
9.02 ms
(5.85%)
84
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:
[
  848805
]
7.82 ms
(5.07%)
52
SELECT * FROM object_store_Governorate WHERE oo_id = ? FOR UPDATE
Parameters:
[
  206
]
6.01 ms
(3.89%)
52
SELECT * FROM object_localized_data_Governorate WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  206
]
5.35 ms
(3.47%)
52
SELECT * FROM object_relations_Governorate WHERE src_id = ?
Parameters:
[
  206
]
4.73 ms
(3.07%)
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:
[
  136
]
4.29 ms
(2.78%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "4/OtgtSsqymzMiQxR457zRaxOQxBMQtxoD9ppMP906k="
]
3.28 ms
(2.12%)
20
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  6
]
3.14 ms
(2.04%)
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:
[
  "%/services/request-services?service=227276"
]
2.93 ms
(1.90%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "ar"
]
2.88 ms
(1.87%)
24
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  5
]
2.83 ms
(1.84%)
27
SELECT * FROM object_localized_data_manned_alert_notification WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  346010
]
2.73 ms
(1.77%)
1
SELECT search_term, page_url, search_count FROM most_searched_terms ORDER BY search_count DESC LIMIT 10
Parameters:
[]
2.50 ms
(1.62%)
27
SELECT * FROM object_relations_manned_alert_notification WHERE src_id = ?
Parameters:
[
  346010
]
2.12 ms
(1.37%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "4/OtgtSsqymzMiQxR457zRaxOQxBMQtxoD9ppMP906k="
]
2.00 ms
(1.30%)
15
SELECT * FROM object_localized_data_alert_hazard WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2067
]
1.98 ms
(1.28%)
27
SELECT * FROM object_store_manned_alert_notification WHERE oo_id = ? FOR UPDATE
Parameters:
[
  346010
]
1.84 ms
(1.20%)
15
SELECT * FROM object_store_alert_hazard WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2067
]
1.70 ms
(1.10%)
15
SELECT * FROM object_relations_alert_hazard WHERE src_id = ?
Parameters:
[
  2067
]
1.47 ms
(0.95%)
10
SELECT * FROM object_relations_OurServices WHERE src_id = ?
Parameters:
[
  227273
]
1.35 ms
(0.88%)
13
SELECT * FROM object_localized_data_Region WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  36
]
1.31 ms
(0.85%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,136,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  124
]
1.17 ms
(0.76%)
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 ((`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:
[
  1781718852
]
1.15 ms
(0.75%)
2
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:
[
  1781718852
]
0.99 ms
(0.64%)
10
SELECT * FROM object_localized_data_OurServices WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  227273
]
0.94 ms
(0.61%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  91
]
0.92 ms
(0.60%)
13
SELECT * FROM object_relations_Region WHERE src_id = ?
Parameters:
[
  36
]
0.92 ms
(0.60%)
13
SELECT * FROM object_store_Region WHERE oo_id = ? FOR UPDATE
Parameters:
[
  36
]
0.91 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.90 ms
(0.58%)
6
SELECT * FROM object_localized_data_alert_status WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2066
]
0.81 ms
(0.53%)
6
SELECT * FROM object_store_alert_status WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2066
]
0.80 ms
(0.52%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,28,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  35
]
0.75 ms
(0.49%)
2
SELECT object_localized_municipality_ar.id as id, object_localized_municipality_ar.type as `type` FROM object_localized_municipality_ar WHERE (`municipalityid` = '974'  AND  object_localized_municipality_ar.type IN ('variant','object')) AND object_localized_municipality_ar.published = 1 LIMIT 1
Parameters:
[]
0.75 ms
(0.49%)
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/services/request-services"
  "path"
  "auto_create"
  "/ar/services/request-services?service=227276"
  "path_query"
  "https://devncmpublic.centricdxb.com/ar/services/request-services?service=227276"
  "entire_uri"
]
0.73 ms
(0.48%)
2
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.71 ms
(0.46%)
10
SELECT * FROM object_store_OurServices WHERE oo_id = ? FOR UPDATE
Parameters:
[
  227273
]
0.66 ms
(0.43%)
10
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "Category"
]
0.66 ms
(0.43%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,196,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  157
]
0.65 ms
(0.42%)
4
SELECT * FROM object_relations_municipality WHERE src_id = ?
Parameters:
[
  33430
]
0.60 ms
(0.39%)
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.58 ms
(0.37%)
4
SELECT * FROM object_store_municipality WHERE oo_id = ? FOR UPDATE
Parameters:
[
  33430
]
0.56 ms
(0.37%)
6
SELECT * FROM object_relations_alert_status WHERE src_id = ?
Parameters:
[
  2066
]
0.51 ms
(0.33%)
2
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.51 ms
(0.33%)
2
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.51 ms
(0.33%)
4
SELECT * FROM object_localized_data_municipality WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  33430
]
0.48 ms
(0.31%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,95,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  102
]
0.45 ms
(0.29%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  124
]
0.44 ms
(0.28%)
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:
[
  "%/services/request-services?service=227276"
  "yes"
]
0.40 ms
(0.26%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,77,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  64
]
0.40 ms
(0.26%)
3
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.34 ms
(0.22%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.33 ms
(0.21%)
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:
[
  "%/services/request-services?service=227276"
]
0.32 ms
(0.21%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,44,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  162
]
0.30 ms
(0.20%)
1
SELECT object_localized_OurServices_ar.id as id, object_localized_OurServices_ar.type as `type` FROM object_localized_OurServices_ar WHERE (category__id = ? AND  object_localized_OurServices_ar.type IN ('object','variant','folder')) AND object_localized_OurServices_ar.published = 1 ORDER BY `orderId` ASC
Parameters:
[
  93269
]
0.30 ms
(0.19%)
1
SELECT object_localized_Category_en.id as id, object_localized_Category_en.type as `type` FROM object_localized_Category_en WHERE (`name` = 'Main Services'  AND  object_localized_Category_en.type IN ('variant','object')) AND object_localized_Category_en.published = 1
Parameters:
[]
0.26 ms
(0.17%)
3
SELECT * FROM object_localized_data_aa WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2157
]
0.24 ms
(0.15%)
3
SELECT * FROM object_relations_aa WHERE src_id = ?
Parameters:
[
  2157
]
0.22 ms
(0.14%)
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.22 ms
(0.14%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,157,196,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  179
]
0.20 ms
(0.13%)
3
SELECT * FROM object_store_aa WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2157
]
0.20 ms
(0.13%)
2
SELECT * FROM object_localized_data_alert_type WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2043
]
0.17 ms
(0.11%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,91,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  101
]
0.17 ms
(0.11%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  5
]
0.15 ms
(0.10%)
2
SELECT * FROM object_relations_alert_type WHERE src_id = ?
Parameters:
[
  2043
]
0.15 ms
(0.10%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  132
]
0.13 ms
(0.09%)
2
SELECT * FROM object_store_alert_type WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2043
]
0.13 ms
(0.08%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "4/OtgtSsqymzMiQxR457zRaxOQxBMQtxoD9ppMP906k="
]
0.12 ms
(0.08%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "devncmpublic.centricdxb.com"
  "%"devncmpublic.centricdxb.com"%"
]
0.11 ms
(0.07%)
1
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/ar/services/"
  "request-services"
]
0.10 ms
(0.06%)
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
  "4/OtgtSsqymzMiQxR457zRaxOQxBMQtxoD9ppMP906k="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "4/OtgtSsqymzMiQxR457zRaxOQxBMQtxoD9ppMP906k="
]
0.09 ms
(0.06%)
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.06%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 32137
Parameters:
[]
0.09 ms
(0.06%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.08 ms
(0.05%)
1
SELECT * FROM object_localized_data_Category WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  93269
]
0.07 ms
(0.05%)
1
SELECT * FROM object_url_slugs WHERE slug = '/ar/services/request-services' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.07 ms
(0.05%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 227275
Parameters:
[]
0.07 ms
(0.04%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.07 ms
(0.04%)
1
SELECT * FROM object_relations_Category WHERE src_id = ?
Parameters:
[
  93269
]
0.06 ms
(0.04%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 32161
Parameters:
[]
0.06 ms
(0.04%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 7
Parameters:
[]
0.06 ms
(0.04%)
1
SELECT * FROM object_store_Category WHERE oo_id = ? FOR UPDATE
Parameters:
[
  93269
]
0.06 ms
(0.04%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 227274
Parameters:
[]
0.05 ms
(0.03%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 6
Parameters:
[]
0.05 ms
(0.03%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 227273
Parameters:
[]
0.05 ms
(0.03%)
1
SELECT id,domains FROM sites
Parameters:
[]
0.04 ms
(0.03%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 227276
Parameters:
[]
0.04 ms
(0.03%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 2897
Parameters:
[]
0.04 ms
(0.03%)
1
select `subscriptionDetailBlock` from object_store_OurServices where oo_id  = 2898
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.