Query Metrics
16
Database Queries
11
Different statements
13.02 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
2.34 ms (17.96%) |
5 |
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[ "1" "en" "App\Admin\Modules\ModuleArticle\Entity\ModuleArticle" ] |
|
2.05 ms (15.74%) |
1 |
SELECT m0_.id AS id_0, COALESCE(t1_.content, m0_.title) AS title_1, COALESCE(t2_.content, m0_.lead) AS lead_2, COALESCE(t3_.content, m0_.content) AS content_3, COALESCE(t4_.content, m0_.slug) AS slug_4, m0_.id_module_multilang_entry AS id_module_multilang_entry_5, m0_.id_category AS id_category_6, m0_.id_image_file_repository AS id_image_file_repository_7 FROM module_article m0_ INNER JOIN module_multilang_entry m5_ ON m0_.id_module_multilang_entry = m5_.id INNER JOIN module_multilang_entry_lang m6_ ON m5_.id = m6_.id_module_multilang_entry LEFT JOIN ext_translations t1_ ON t1_.locale = 'en' AND t1_.field = 'title' AND t1_.object_class = 'App\\Admin\\Modules\\ModuleArticle\\Entity\\ModuleArticle' AND t1_.foreign_key = m0_.id LEFT JOIN ext_translations t2_ ON t2_.locale = 'en' AND t2_.field = 'lead' AND t2_.object_class = 'App\\Admin\\Modules\\ModuleArticle\\Entity\\ModuleArticle' AND t2_.foreign_key = m0_.id LEFT JOIN ext_translations t3_ ON t3_.locale = 'en' AND t3_.field = 'content' AND t3_.object_class = 'App\\Admin\\Modules\\ModuleArticle\\Entity\\ModuleArticle' AND t3_.foreign_key = m0_.id LEFT JOIN ext_translations t4_ ON t4_.locale = 'en' AND t4_.field = 'slug' AND t4_.object_class = 'App\\Admin\\Modules\\ModuleArticle\\Entity\\ModuleArticle' AND t4_.foreign_key = m0_.id WHERE (m6_.lang = ? AND m6_.content_edited = 1) AND COALESCE(t4_.content, m0_.slug) = ? LIMIT 1
Parameters:
[ "en" "jakas-promocja" ] |
|
1.82 ms (13.99%) |
2 |
SELECT s0_.id AS id_0, s0_.type AS type_1, s0_.name AS name_2, s0_.is_homepage AS is_homepage_3, s0_.visibility AS visibility_4, s0_.access_type AS access_type_5, s0_.page_layout AS page_layout_6, s0_.meta_title AS meta_title_7, s0_.meta_description AS meta_description_8, s0_.lft AS lft_9, s0_.rgt AS rgt_10, s0_.depth AS depth_11, s0_.lang AS lang_12, s0_.slug AS slug_13, s0_.id_target AS id_target_14 FROM structure s0_ WHERE s0_.lang = ? AND (s0_.lft > ? AND s0_.rgt < ?) AND s0_.depth = ? AND s0_.slug = ? LIMIT 1
Parameters:
[ "en" 1 8 1 "specjal-offers" ] |
|
1.61 ms (12.37%) |
1 |
SELECT m0_.id AS id_0, COALESCE(t1_.content, m0_.title) AS title_1, COALESCE(t2_.content, m0_.lead) AS lead_2, COALESCE(t3_.content, m0_.content) AS content_3, COALESCE(t4_.content, m0_.slug) AS slug_4, RAND() AS sclr_5, m0_.id_module_multilang_entry AS id_module_multilang_entry_6, m0_.id_category AS id_category_7, m0_.id_image_file_repository AS id_image_file_repository_8 FROM module_article m0_ INNER JOIN module_multilang_entry m5_ ON m0_.id_module_multilang_entry = m5_.id INNER JOIN module_multilang_entry_lang m6_ ON m5_.id = m6_.id_module_multilang_entry LEFT JOIN ext_translations t1_ ON t1_.locale = 'en' AND t1_.field = 'title' AND t1_.object_class = 'App\\Admin\\Modules\\ModuleArticle\\Entity\\ModuleArticle' AND t1_.foreign_key = m0_.id LEFT JOIN ext_translations t2_ ON t2_.locale = 'en' AND t2_.field = 'lead' AND t2_.object_class = 'App\\Admin\\Modules\\ModuleArticle\\Entity\\ModuleArticle' AND t2_.foreign_key = m0_.id LEFT JOIN ext_translations t3_ ON t3_.locale = 'en' AND t3_.field = 'content' AND t3_.object_class = 'App\\Admin\\Modules\\ModuleArticle\\Entity\\ModuleArticle' AND t3_.foreign_key = m0_.id LEFT JOIN ext_translations t4_ ON t4_.locale = 'en' AND t4_.field = 'slug' AND t4_.object_class = 'App\\Admin\\Modules\\ModuleArticle\\Entity\\ModuleArticle' AND t4_.foreign_key = m0_.id WHERE m6_.lang = ? AND m6_.content_edited = 1 ORDER BY sclr_5 ASC LIMIT 3
Parameters:
[
"en"
]
|
|
1.17 ms (8.99%) |
1 |
SELECT s0_.id AS id_0, s0_.type AS type_1, s0_.name AS name_2, s0_.is_homepage AS is_homepage_3, s0_.visibility AS visibility_4, s0_.access_type AS access_type_5, s0_.page_layout AS page_layout_6, s0_.meta_title AS meta_title_7, s0_.meta_description AS meta_description_8, s0_.lft AS lft_9, s0_.rgt AS rgt_10, s0_.depth AS depth_11, s0_.lang AS lang_12, s0_.slug AS slug_13, s0_.id_target AS id_target_14 FROM structure s0_ WHERE s0_.lang = ? AND s0_.is_homepage = 1 LIMIT 1
Parameters:
[
"en"
]
|
|
0.82 ms (6.33%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.extension AS extension_3, t0.full_name AS full_name_4, t0.file AS file_5, t0.description AS description_6, t0.updated_at AS updated_at_7, t0.added_at AS added_at_8, t0.id_file_repository_folder AS id_file_repository_folder_9, t0.id_updated_by_user AS id_updated_by_user_10, t0.id_added_by_user AS id_added_by_user_11 FROM file_repository t0 WHERE t0.id = ?
Parameters:
[
1
]
|
|
0.71 ms (5.45%) |
1 |
SELECT s0_.id AS id_0, s0_.type AS type_1, s0_.name AS name_2, s0_.is_homepage AS is_homepage_3, s0_.visibility AS visibility_4, s0_.access_type AS access_type_5, s0_.page_layout AS page_layout_6, s0_.meta_title AS meta_title_7, s0_.meta_description AS meta_description_8, s0_.lft AS lft_9, s0_.rgt AS rgt_10, s0_.depth AS depth_11, s0_.lang AS lang_12, s0_.slug AS slug_13, s0_.id_target AS id_target_14 FROM structure s0_ INNER JOIN structure_element s1_ ON s0_.id = s1_.id_structure WHERE s0_.lang = ? AND s1_.content_type = ? ORDER BY s0_.lft ASC, s1_.position ASC LIMIT 1
Parameters:
[ "en" 101 ] |
|
0.71 ms (5.44%) |
1 |
SELECT t0.id AS id_1, t0.foreign_key AS foreign_key_2, t0.value AS value_3 FROM translator t0 WHERE t0.foreign_key = ? LIMIT 1
Parameters:
[
"menu-wiecej"
]
|
|
0.67 ms (5.14%) |
1 |
SELECT t0.id AS id_1, t0.type AS type_2, t0.value AS value_3, t0.position AS position_4, t0.is_visible AS is_visible_5 FROM module_dictionary t0 WHERE t0.id = ?
Parameters:
[
6
]
|
|
0.63 ms (4.85%) |
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.title_visible AS title_visible_3, t0.content_type AS content_type_4, t0.visibility AS visibility_5, t0.position AS position_6, t0.id_structure AS id_structure_7 FROM structure_element t0 WHERE t0.id_structure = ? ORDER BY t0.position ASC
Parameters:
[
8
]
|
|
0.49 ms (3.75%) |
1 |
SELECT s0_.id AS id_0, s0_.type AS type_1, s0_.name AS name_2, s0_.is_homepage AS is_homepage_3, s0_.visibility AS visibility_4, s0_.access_type AS access_type_5, s0_.page_layout AS page_layout_6, s0_.meta_title AS meta_title_7, s0_.meta_description AS meta_description_8, s0_.lft AS lft_9, s0_.rgt AS rgt_10, s0_.depth AS depth_11, s0_.lang AS lang_12, s0_.slug AS slug_13, s0_.id_target AS id_target_14 FROM structure s0_ WHERE s0_.lang = ? ORDER BY s0_.depth ASC, s0_.lft ASC
Parameters:
[
"en"
]
|
Database Connections
| Name | Service |
|---|---|
| default | doctrine.dbal.default_connection |
Entity Managers
| Name | Service |
|---|---|
| default | doctrine.orm.default_entity_manager |
Second Level Cache
Second Level Cache is not enabled.