Query Metrics

930 Database Queries
84 Different statements
85.36 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
7.22 ms
(8.45%)
98
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:
[
  36
]
6.96 ms
(8.15%)
96
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
]
5.46 ms
(6.40%)
80
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
]
5.03 ms
(5.89%)
98
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  36
]
4.85 ms
(5.68%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "9hhiGgxDxYn7TClypfJAqLMa5qxNPlHn7rDIqASJ6Jw="
]
4.50 ms
(5.27%)
57
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:
[
  383
]
4.16 ms
(4.88%)
60
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  5
]
3.62 ms
(4.25%)
2
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "9hhiGgxDxYn7TClypfJAqLMa5qxNPlHn7rDIqASJ6Jw="
]
3.02 ms
(3.53%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "ar"
]
2.51 ms
(2.94%)
21
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  6
]
2.26 ms
(2.64%)
37
SELECT * FROM object_localized_data_Governorate WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  50
]
2.12 ms
(2.49%)
37
SELECT * FROM object_relations_Governorate WHERE src_id = ?
Parameters:
[
  50
]
1.95 ms
(2.29%)
2
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
  "9hhiGgxDxYn7TClypfJAqLMa5qxNPlHn7rDIqASJ6Jw="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "9hhiGgxDxYn7TClypfJAqLMa5qxNPlHn7rDIqASJ6Jw="
]
1.82 ms
(2.14%)
37
SELECT * FROM object_store_Governorate WHERE oo_id = ? FOR UPDATE
Parameters:
[
  50
]
1.70 ms
(2.00%)
25
SELECT * FROM object_relations_manned_alert_notification WHERE src_id = ?
Parameters:
[
  291524
]
1.65 ms
(1.93%)
25
SELECT * FROM object_localized_data_manned_alert_notification WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  291524
]
1.55 ms
(1.81%)
25
SELECT * FROM object_store_manned_alert_notification WHERE oo_id = ? FOR UPDATE
Parameters:
[
  291524
]
1.31 ms
(1.54%)
3
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
1.12 ms
(1.32%)
13
SELECT * FROM object_localized_data_Region WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  36
]
1.11 ms
(1.30%)
14
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  5
]
1.05 ms
(1.22%)
8
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,136,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  41
]
0.87 ms
(1.02%)
13
SELECT * FROM object_relations_Region WHERE src_id = ?
Parameters:
[
  36
]
0.86 ms
(1.01%)
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:
[
  36
]
0.78 ms
(0.91%)
6
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,77,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  64
]
0.73 ms
(0.86%)
13
SELECT * FROM object_store_Region WHERE oo_id = ? FOR UPDATE
Parameters:
[
  36
]
0.70 ms
(0.82%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,93,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  107
]
0.66 ms
(0.78%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_ar WHERE (((isEws = ? OR isEws IS NULL))  AND (`toDate` >= ?)  AND ((region__id = 36 ))  AND  object_localized_manned_alert_notification_ar.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_ar.published = 1
Parameters:
[
  0
  1779250000
]
0.65 ms
(0.76%)
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/region/asir"
  "path"
  "auto_create"
  "/ar/region/asir"
  "path_query"
  "https://devncmpublic.centricdxb.com/ar/region/asir"
  "entire_uri"
]
0.63 ms
(0.74%)
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:
[
  36
]
0.61 ms
(0.72%)
7
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  383
]
0.58 ms
(0.68%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,28,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  35
]
0.58 ms
(0.67%)
6
SELECT * FROM object_localized_data_Mountain WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  25
]
0.56 ms
(0.65%)
6
SELECT * FROM object_relations_Mountain WHERE src_id = ?
Parameters:
[
  25
]
0.54 ms
(0.63%)
8
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "Region"
]
0.50 ms
(0.59%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  91
]
0.47 ms
(0.56%)
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.47 ms
(0.55%)
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.47 ms
(0.55%)
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 = ? OR isEws IS NULL))  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:
[
  0
  1779250002
]
0.44 ms
(0.51%)
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 `region__type` = ?)  AND  object_localized_Governorate_ar.type IN ('variant','object')) AND object_localized_Governorate_ar.published = 1
Parameters:
[
  36
  "object"
]
0.42 ms
(0.49%)
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 = ? OR isEws IS NULL))  AND (`toDate` >= ?)  AND ((region__id = 36 ))  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:
[
  0
  1779250000
]
0.41 ms
(0.48%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_ar WHERE (((isEws = ? OR isEws IS NULL))  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
  1779250002
]
0.39 ms
(0.46%)
6
SELECT * FROM object_store_Mountain WHERE oo_id = ? FOR UPDATE
Parameters:
[
  25
]
0.39 ms
(0.45%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,44,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  171
]
0.38 ms
(0.45%)
6
SELECT * FROM object_localized_data_alert_hazard WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2253
]
0.38 ms
(0.44%)
6
SELECT * FROM object_localized_data_alert_status WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2252
]
0.36 ms
(0.43%)
1
SELECT object_localized_Region_ar.id as id, object_localized_Region_ar.type as `type` FROM object_localized_Region_ar WHERE (`regionId` = '12'  AND  object_localized_Region_ar.type IN ('variant','object')) AND object_localized_Region_ar.published = 1 LIMIT 1
Parameters:
[]
0.35 ms
(0.41%)
1
SELECT object_localized_Region_ar.id as id, object_localized_Region_ar.type as `type` FROM object_localized_Region_ar WHERE (`url` = 'asir'  AND  object_localized_Region_ar.type IN ('variant','object')) AND object_localized_Region_ar.published = 1 LIMIT 1
Parameters:
[]
0.34 ms
(0.40%)
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:
[
  36
]
0.33 ms
(0.39%)
6
SELECT * FROM object_relations_alert_status WHERE src_id = ?
Parameters:
[
  2252
]
0.32 ms
(0.38%)
6
SELECT * FROM object_relations_alert_hazard WHERE src_id = ?
Parameters:
[
  2253
]
0.29 ms
(0.34%)
3
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/ar/region/"
  "asir"
]
0.29 ms
(0.33%)
6
SELECT * FROM object_store_alert_status WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2252
]
0.28 ms
(0.33%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,95,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  102
]
0.28 ms
(0.33%)
3
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "9hhiGgxDxYn7TClypfJAqLMa5qxNPlHn7rDIqASJ6Jw="
]
0.28 ms
(0.33%)
6
SELECT * FROM object_store_alert_hazard WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2253
]
0.26 ms
(0.31%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,134,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  42
]
0.26 ms
(0.31%)
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:
[
  "%/region/asir"
  "yes"
]
0.23 ms
(0.28%)
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:
[
  "%/region/asir"
]
0.23 ms
(0.27%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "devncmpublic.centricdxb.com"
  "%"devncmpublic.centricdxb.com"%"
]
0.19 ms
(0.22%)
3
SELECT * FROM object_localized_data_alert_type WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2043
]
0.19 ms
(0.22%)
1
SELECT search_term, page_url, search_count FROM most_searched_terms ORDER BY search_count DESC LIMIT 10
Parameters:
[]
0.17 ms
(0.20%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.16 ms
(0.19%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,91,90,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  101
]
0.15 ms
(0.18%)
3
SELECT * FROM object_relations_alert_type WHERE src_id = ?
Parameters:
[
  2043
]
0.15 ms
(0.17%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,157,136,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  179
]
0.15 ms
(0.17%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,154,136,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  178
]
0.14 ms
(0.17%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,120,77,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  144
]
0.14 ms
(0.17%)
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.17%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  5
]
0.14 ms
(0.16%)
3
SELECT * FROM object_store_alert_type WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2043
]
0.12 ms
(0.14%)
2
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/ar/region/asir"
]
0.12 ms
(0.14%)
1
SELECT id,domains FROM sites
Parameters:
[]
0.11 ms
(0.13%)
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.11%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.09 ms
(0.10%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.07 ms
(0.08%)
1
select `factsData` from object_store_Mountain where oo_id  = 239
Parameters:
[]
0.07 ms
(0.08%)
1
select `factsData` from object_store_Mountain where oo_id  = 238
Parameters:
[]
0.06 ms
(0.07%)
1
SELECT * FROM object_localized_data_aa WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2053
]
0.06 ms
(0.07%)
1
select `factsData` from object_store_Mountain where oo_id  = 25
Parameters:
[]
0.06 ms
(0.07%)
1
SELECT * FROM object_relations_aa WHERE src_id = ?
Parameters:
[
  2053
]
0.06 ms
(0.06%)
1
select `factsData` from object_store_Mountain where oo_id  = 236
Parameters:
[]
0.05 ms
(0.06%)
1
select `factsData` from object_store_Mountain where oo_id  = 235
Parameters:
[]
0.05 ms
(0.06%)
1
select `factsData` from object_store_Mountain where oo_id  = 237
Parameters:
[]
0.05 ms
(0.06%)
1
SELECT * FROM object_store_aa WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2053
]

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.