Query Metrics

1256 Database Queries
97 Different statements
1654.56 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
1120.66 ms
(67.73%)
1
SELECT COUNT(*) FROM objects WHERE ( objects.type IN ('object','variant','folder')) AND objects.published = 1
Parameters:
[]
51.94 ms
(3.14%)
164
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  99
]
42.16 ms
(2.55%)
164
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:
[
  99
]
33.53 ms
(2.03%)
65
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  4
]
27.64 ms
(1.67%)
88
SELECT * FROM object_relations_Governorate WHERE src_id = ?
Parameters:
[
  99
]
26.21 ms
(1.58%)
59
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:
[
  4
]
24.43 ms
(1.48%)
72
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:
[
  635
]
21.14 ms
(1.28%)
75
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:
[
  4
]
20.90 ms
(1.26%)
30
SELECT * FROM object_store_manned_alert_notification WHERE oo_id = ? FOR UPDATE
Parameters:
[
  440832
]
20.76 ms
(1.25%)
88
SELECT * FROM object_localized_data_Governorate WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  99
]
18.46 ms
(1.12%)
88
SELECT * FROM object_store_Governorate WHERE oo_id = ? FOR UPDATE
Parameters:
[
  99
]
18.32 ms
(1.11%)
5
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
16.14 ms
(0.98%)
30
SELECT * FROM object_localized_data_manned_alert_notification WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  440832
]
14.18 ms
(0.86%)
21
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  2
]
13.03 ms
(0.79%)
4
SELECT * FROM object_relations_Mountain WHERE src_id = ?
Parameters:
[
  218
]
8.90 ms
(0.54%)
14
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  4
]
8.14 ms
(0.49%)
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 (IFNULL(isEws, 0) = ? AND (`toDate` >= ?)  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1 ORDER BY `alertId` DESC
Parameters:
[
  0
  1788845560
]
7.65 ms
(0.46%)
10
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "Governorate"
]
6.97 ms
(0.42%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "B1Dz6XbQb5WKKkTCY+l6sMep0/cjy3Tm1Rz265TzKME="
]
6.77 ms
(0.41%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,195,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  87
]
6.39 ms
(0.39%)
4
SELECT * FROM object_localized_data_Mountain WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  218
]
6.35 ms
(0.38%)
17
SELECT * FROM object_store_alert_hazard WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2067
]
6.06 ms
(0.37%)
30
SELECT * FROM object_relations_manned_alert_notification WHERE src_id = ?
Parameters:
[
  440832
]
6.00 ms
(0.36%)
1
SELECT object_localized_Governorate_en.id as id, object_localized_Governorate_en.type as `type` FROM object_localized_Governorate_en WHERE (`url` = 'Al-Khurma'  AND  object_localized_Governorate_en.type IN ('variant','object')) AND object_localized_Governorate_en.published = 1 LIMIT 1
Parameters:
[]
5.60 ms
(0.34%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,25,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  161
]
5.06 ms
(0.31%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
5.01 ms
(0.30%)
5
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/en/region/makkah/governorates/"
  "Al-Khurma"
]
4.63 ms
(0.28%)
1
SELECT id FROM website_settings
Parameters:
[]
4.56 ms
(0.28%)
3
SELECT * FROM object_localized_data_alert_type WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2043
]
4.53 ms
(0.27%)
4
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
4.53 ms
(0.27%)
8
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:
[
  56
]
4.24 ms
(0.26%)
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/makkah/governorates/Al-Khurma"
  "yes"
]
3.98 ms
(0.24%)
17
SELECT * FROM object_relations_alert_hazard WHERE src_id = ?
Parameters:
[
  2067
]
3.96 ms
(0.24%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "B1Dz6XbQb5WKKkTCY+l6sMep0/cjy3Tm1Rz265TzKME="
]
3.79 ms
(0.23%)
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 (IFNULL(isEws, 0) = ? AND (`toDate` >= ?)  AND ((governorates LIKE '%,99,%' ))  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1 ORDER BY `alertId` DESC
Parameters:
[
  0
  1788845557
]
3.71 ms
(0.22%)
13
SELECT * FROM object_relations_Region WHERE src_id = ?
Parameters:
[
  33
]
3.69 ms
(0.22%)
5
SELECT * FROM object_relations_alert_status WHERE src_id = ?
Parameters:
[
  2066
]
3.30 ms
(0.20%)
4
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/en/region/makkah/governorates/Al-Khurma"
]
3.27 ms
(0.20%)
1
SELECT object_localized_Governorate_en.id as id, object_localized_Governorate_en.type as `type` FROM object_localized_Governorate_en WHERE (`govId` = '127'  AND  object_localized_Governorate_en.type IN ('variant','object')) AND object_localized_Governorate_en.published = 1 LIMIT 1
Parameters:
[]
3.10 ms
(0.19%)
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
]
3.09 ms
(0.19%)
1
SELECT * FROM object_store_twitter_feed WHERE oo_id = ? FOR UPDATE
Parameters:
[
  435656
]
3.07 ms
(0.19%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "B1Dz6XbQb5WKKkTCY+l6sMep0/cjy3Tm1Rz265TzKME="
]
3.03 ms
(0.18%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,87,195,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  201
]
2.73 ms
(0.16%)
5
SELECT * FROM object_localized_data_alert_status WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2066
]
2.62 ms
(0.16%)
1
SELECT * FROM object_relations_aa WHERE src_id = ?
Parameters:
[
  2053
]
2.58 ms
(0.16%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,76,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  65
]
2.49 ms
(0.15%)
1
SELECT search_term, page_url, search_count FROM most_searched_terms ORDER BY search_count DESC LIMIT 10
Parameters:
[]
2.46 ms
(0.15%)
1
select `factsData` from object_store_Mountain where oo_id  = 221
Parameters:
[]
2.45 ms
(0.15%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  89
]
2.23 ms
(0.13%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,84,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  17
]
2.12 ms
(0.13%)
1
SELECT objects.id as id, objects.type as `type` FROM objects WHERE ( objects.type IN ('object','variant','folder')) AND objects.published = 1 ORDER BY `modificationDate` DESC   LIMIT 1
Parameters:
[]
2.06 ms
(0.12%)
13
SELECT * FROM object_store_Region WHERE oo_id = ? FOR UPDATE
Parameters:
[
  33
]
1.99 ms
(0.12%)
3
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  635
]
1.99 ms
(0.12%)
13
SELECT * FROM object_localized_data_Region WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  33
]
1.77 ms
(0.11%)
4
SELECT * FROM object_store_Mountain WHERE oo_id = ? FOR UPDATE
Parameters:
[
  218
]
1.69 ms
(0.10%)
17
SELECT * FROM object_localized_data_alert_hazard WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2067
]
1.44 ms
(0.09%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_en WHERE (IFNULL(isEws, 0) = ? AND (`toDate` >= ?)  AND ((governorates LIKE '%,99,%' ))  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1
Parameters:
[
  0
  1788845557
]
1.36 ms
(0.08%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  3
]
1.23 ms
(0.07%)
5
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/region/makkah/governorates/Al-Khurma"
  "path"
  "auto_create"
  "/en/region/makkah/governorates/Al-Khurma"
  "path_query"
  "https://devncmpublic.centricdxb.com/en/region/makkah/governorates/Al-Khurma"
  "entire_uri"
]
1.17 ms
(0.07%)
1
SELECT COUNT(*) FROM object_localized_manned_alert_notification_en WHERE (IFNULL(isEws, 0) = ? AND (`toDate` >= ?)  AND  object_localized_manned_alert_notification_en.type IN ('object','variant','folder')) AND object_localized_manned_alert_notification_en.published = 1
Parameters:
[
  0
  1788845560
]
1.11 ms
(0.07%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,135,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  22
]
1.09 ms
(0.07%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,92,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  106
]
0.86 ms
(0.05%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,2,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  188
]
0.54 ms
(0.03%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.51 ms
(0.03%)
3
SELECT * FROM object_relations_alert_type WHERE src_id = ?
Parameters:
[
  2043
]
0.49 ms
(0.03%)
1
SELECT object_localized_Mountain_en.id as id, object_localized_Mountain_en.type as `type` FROM object_localized_Mountain_en WHERE (region__id = ? AND  object_localized_Mountain_en.type IN ('object','variant','folder')) AND object_localized_Mountain_en.published = 1
Parameters:
[
  33
]
0.48 ms
(0.03%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,94,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  103
]
0.48 ms
(0.03%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,89,88,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  100
]
0.45 ms
(0.03%)
1
SELECT object_localized_Region_en.id as id, object_localized_Region_en.type as `type` FROM object_localized_Region_en WHERE (`url` = 'makkah'  AND  object_localized_Region_en.type IN ('variant','object')) AND object_localized_Region_en.published = 1 LIMIT 1
Parameters:
[]
0.40 ms
(0.02%)
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/makkah/governorates/Al-Khurma"
]
0.36 ms
(0.02%)
1
SELECT object_localized_Governorate_en.id as id, object_localized_Governorate_en.type as `type` FROM object_localized_Governorate_en WHERE (url != ? AND region__id = ? AND  object_localized_Governorate_en.type IN ('object','variant','folder')) AND object_localized_Governorate_en.published = 1 LIMIT 6
Parameters:
[
  "Al-Khurma"
  33
]
0.34 ms
(0.02%)
1
SELECT object_localized_municipality_en.id as id, object_localized_municipality_en.type as `type` FROM object_localized_municipality_en WHERE (`municipalityid` = '1339'  AND  object_localized_municipality_en.type IN ('variant','object')) AND object_localized_municipality_en.published = 1 LIMIT 1
Parameters:
[]
0.34 ms
(0.02%)
1
SELECT id,domains FROM sites
Parameters:
[]
0.33 ms
(0.02%)
5
SELECT * FROM object_store_alert_status WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2066
]
0.33 ms
(0.02%)
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:
[
  "%/region/makkah/governorates/Al-Khurma"
]
0.32 ms
(0.02%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,225,76,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  63
]
0.29 ms
(0.02%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  4
]
0.26 ms
(0.02%)
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.21 ms
(0.01%)
3
SELECT * FROM object_store_alert_type WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2043
]
0.17 ms
(0.01%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,160,195,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  175
]
0.16 ms
(0.01%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.14 ms
(0.01%)
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
  "B1Dz6XbQb5WKKkTCY+l6sMep0/cjy3Tm1Rz265TzKME="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "B1Dz6XbQb5WKKkTCY+l6sMep0/cjy3Tm1Rz265TzKME="
]
0.14 ms
(0.01%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "devncmpublic.centricdxb.com"
  "%"devncmpublic.centricdxb.com"%"
]
0.14 ms
(0.01%)
1
SELECT * FROM object_relations_twitter_feed WHERE src_id = ?
Parameters:
[
  435656
]
0.13 ms
(0.01%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.13 ms
(0.01%)
1
SELECT COUNT(*) FROM documents WHERE published = 1
Parameters:
[]
0.13 ms
(0.01%)
1
SELECT * FROM object_localized_data_aa WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  2053
]
0.12 ms
(0.01%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.12 ms
(0.01%)
1
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  16
]
0.11 ms
(0.01%)
1
SELECT * FROM object_localized_data_municipality WHERE ooo_id = ? AND language IN ('en','ar')
Parameters:
[
  33749
]
0.10 ms
(0.01%)
1
SELECT documents.id, documents.type FROM documents WHERE published = 1 ORDER BY `modificationDate` DESC   LIMIT 1
Parameters:
[]
0.09 ms
(0.01%)
1
SELECT * FROM object_store_aa WHERE oo_id = ? FOR UPDATE
Parameters:
[
  2053
]
0.09 ms
(0.01%)
1
SELECT * FROM object_store_municipality WHERE oo_id = ? FOR UPDATE
Parameters:
[
  33749
]
0.09 ms
(0.01%)
1
select `factsData` from object_store_Mountain where oo_id  = 219
Parameters:
[]
0.09 ms
(0.01%)
1
SELECT * FROM object_relations_municipality WHERE src_id = ?
Parameters:
[
  33749
]
0.08 ms
(0.00%)
1
select `factsData` from object_store_Mountain where oo_id  = 220
Parameters:
[]
0.08 ms
(0.00%)
1
select `factsData` from object_store_Mountain where oo_id  = 218
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.