Query Metrics
66
Database Queries
12
Different statements
12.90 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
4.69 ms (36.39%) |
32 |
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:
[ "13" "en" "App\Admin\Modules\Translator\Entity\Translator" ] |
|
4.12 ms (31.91%) |
23 |
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:
[
"modul_artykuly_wszystkie_kategorie"
]
|
|
0.86 ms (6.68%) |
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.59 ms (4.61%) |
2 |
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.45 ms (3.47%) |
1 |
SELECT t0.name AS name_1, t0.value AS value_2 FROM settings t0 WHERE t0.name = ?
Parameters:
[
"app.settings"
]
|
|
0.39 ms (3.06%) |
1 |
SELECT count(DISTINCT m0_.id) AS sclr_0 FROM module_article m0_ INNER JOIN module_multilang_entry m7_ ON m0_.id_module_multilang_entry = m7_.id INNER JOIN module_multilang_entry_lang m8_ ON m7_.id = m8_.id_module_multilang_entry INNER JOIN module_dictionary m5_ ON m0_.id_category = m5_.id 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 LEFT JOIN ext_translations t6_ ON t6_.locale = 'en' AND t6_.field = 'value' AND t6_.object_class = 'App\\Admin\\Modules\\Module\\Entity\\ModuleDictionary' AND t6_.foreign_key = m5_.id WHERE m8_.lang = ? AND m8_.content_edited = 1
Parameters:
[
"en"
]
|
|
0.39 ms (3.01%) |
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, m5_.id AS id_5, m5_.type AS type_6, COALESCE(t6_.content, m5_.value) AS value_7, m5_.position AS position_8, m5_.is_visible AS is_visible_9, m0_.id_module_multilang_entry AS id_module_multilang_entry_10, m0_.id_category AS id_category_11, m0_.id_image_file_repository AS id_image_file_repository_12 FROM module_article m0_ INNER JOIN module_multilang_entry m7_ ON m0_.id_module_multilang_entry = m7_.id INNER JOIN module_multilang_entry_lang m8_ ON m7_.id = m8_.id_module_multilang_entry INNER JOIN module_dictionary m5_ ON m0_.id_category = m5_.id 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 LEFT JOIN ext_translations t6_ ON t6_.locale = 'en' AND t6_.field = 'value' AND t6_.object_class = 'App\\Admin\\Modules\\Module\\Entity\\ModuleDictionary' AND t6_.foreign_key = m5_.id WHERE m8_.lang = ? AND m8_.content_edited = 1 AND m0_.id IN (?) ORDER BY m7_.added_at DESC
Parameters:
[ "en" 1 ] |
|
0.35 ms (2.72%) |
1 |
SELECT m0_.id AS id_0, m0_.type AS type_1, COALESCE(t1_.content, m0_.value) AS value_2, m0_.position AS position_3, m0_.is_visible AS is_visible_4 FROM module_dictionary m0_ LEFT JOIN ext_translations t1_ ON t1_.locale = 'en' AND t1_.field = 'value' AND t1_.object_class = 'App\\Admin\\Modules\\Module\\Entity\\ModuleDictionary' AND t1_.foreign_key = m0_.id WHERE m0_.type = ? ORDER BY COALESCE(t1_.content, m0_.value) ASC
Parameters:
[
1
]
|
|
0.31 ms (2.39%) |
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"
]
|
|
0.30 ms (2.29%) |
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_.lft > ? AND s0_.rgt < ?) AND s0_.depth = ? AND s0_.slug = ? LIMIT 1
Parameters:
[ "en" 1 8 1 "specjal-offers" ] |
|
0.23 ms (1.77%) |
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.22 ms (1.70%) |
1 |
SELECT DISTINCT m0_.id AS id_0, m7_.added_at AS added_at_1 FROM module_article m0_ INNER JOIN module_multilang_entry m7_ ON m0_.id_module_multilang_entry = m7_.id INNER JOIN module_multilang_entry_lang m8_ ON m7_.id = m8_.id_module_multilang_entry INNER JOIN module_dictionary m5_ ON m0_.id_category = m5_.id 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 LEFT JOIN ext_translations t6_ ON t6_.locale = 'en' AND t6_.field = 'value' AND t6_.object_class = 'App\\Admin\\Modules\\Module\\Entity\\ModuleDictionary' AND t6_.foreign_key = m5_.id WHERE m8_.lang = ? AND m8_.content_edited = 1 ORDER BY m7_.added_at DESC LIMIT 9
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.