Query Metrics
76
Database Queries
11
Different statements
8.41 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
3.37 ms (40.11%) |
39 |
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:
[ "262" "en" "App\Admin\Modules\Translator\Entity\Translator" ] |
|
2.26 ms (26.90%) |
24 |
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:
[
"og_meta_tags_description"
]
|
|
1.42 ms (16.83%) |
1 |
SELECT p9_.id AS id_0, COALESCE(t10_.content, p9_.name) AS name_1, COUNT(m0_.id) AS sclr_2 FROM module_product m0_ INNER JOIN module_multilang_entry m12_ ON m0_.id_module_multilang_entry = m12_.id INNER JOIN module_multilang_entry_lang m13_ ON m12_.id = m13_.id_module_multilang_entry INNER JOIN product_category p6_ ON m0_.id_product_category = p6_.id INNER JOIN product_category p9_ ON (p9_.lft <= p6_.lft AND p9_.rgt >= p6_.rgt AND p9_.depth = 0) LEFT JOIN ext_translations t1_ ON t1_.locale = 'en' AND t1_.field = 'name' AND t1_.object_class = 'App\\Admin\\Modules\\ModuleProduct\\Entity\\ModuleProduct' AND t1_.foreign_key = m0_.id LEFT JOIN ext_translations t2_ ON t2_.locale = 'en' AND t2_.field = 'slug' AND t2_.object_class = 'App\\Admin\\Modules\\ModuleProduct\\Entity\\ModuleProduct' AND t2_.foreign_key = m0_.id LEFT JOIN ext_translations t3_ ON t3_.locale = 'en' AND t3_.field = 'shortDescription' AND t3_.object_class = 'App\\Admin\\Modules\\ModuleProduct\\Entity\\ModuleProduct' AND t3_.foreign_key = m0_.id LEFT JOIN ext_translations t4_ ON t4_.locale = 'en' AND t4_.field = 'description' AND t4_.object_class = 'App\\Admin\\Modules\\ModuleProduct\\Entity\\ModuleProduct' AND t4_.foreign_key = m0_.id LEFT JOIN ext_translations t5_ ON t5_.locale = 'en' AND t5_.field = 'htmlContent' AND t5_.object_class = 'App\\Admin\\Modules\\ModuleProduct\\Entity\\ModuleProduct' AND t5_.foreign_key = m0_.id LEFT JOIN product_category_translation t7_ ON t7_.locale = 'en' AND t7_.field = 'name' AND t7_.object_class = 'App\\Admin\\Modules\\ModuleProduct\\Entity\\ProductCategory' AND t7_.foreign_key = p6_.id LEFT JOIN product_category_translation t8_ ON t8_.locale = 'en' AND t8_.field = 'slug' AND t8_.object_class = 'App\\Admin\\Modules\\ModuleProduct\\Entity\\ProductCategory' AND t8_.foreign_key = p6_.id LEFT JOIN product_category_translation t10_ ON t10_.locale = 'en' AND t10_.field = 'name' AND t10_.object_class = 'App\\Admin\\Modules\\ModuleProduct\\Entity\\ProductCategory' AND t10_.foreign_key = p9_.id LEFT JOIN product_category_translation t11_ ON t11_.locale = 'en' AND t11_.field = 'slug' AND t11_.object_class = 'App\\Admin\\Modules\\ModuleProduct\\Entity\\ProductCategory' AND t11_.foreign_key = p9_.id WHERE m0_.is_visible = 1 AND m0_.id_product_category IS NOT NULL AND (m13_.lang = ? AND m13_.content_edited = 1) GROUP BY p9_.id, COALESCE(t10_.content, p9_.name), COALESCE(t11_.content, p9_.slug), p9_.lft, p9_.rgt, p9_.depth ORDER BY RAND() ASC LIMIT 3
Parameters:
[
"en"
]
|
|
0.33 ms (3.94%) |
3 |
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:
[
"37"
]
|
|
0.30 ms (3.59%) |
3 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.content_type AS content_type_3, t0.visibility AS visibility_4, t0.position AS position_5, t0.id_structure AS id_structure_6 FROM structure_element t0 WHERE t0.id_structure = ? ORDER BY t0.position ASC
Parameters:
[
9
]
|
|
0.14 ms (1.63%) |
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_.lft AS lft_7, s0_.rgt AS rgt_8, s0_.depth AS depth_9, s0_.lang AS lang_10, s0_.slug AS slug_11, s0_.updated_at AS updated_at_12, s0_.id_target AS id_target_13 FROM structure s0_ WHERE s0_.lang = ? AND s0_.is_homepage = 1 LIMIT 1
Parameters:
[
"en"
]
|
|
0.13 ms (1.50%) |
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_.lft AS lft_7, s0_.rgt AS rgt_8, s0_.depth AS depth_9, s0_.lang AS lang_10, s0_.slug AS slug_11, s0_.updated_at AS updated_at_12, s0_.id_target AS id_target_13 FROM structure s0_ WHERE s0_.lang = ? AND (s0_.lft > ? AND s0_.rgt < ?) AND s0_.depth = ? AND s0_.slug = ? LIMIT 1
Parameters:
[ "en" 1 14 1 "about-us" ] |
|
0.12 ms (1.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_.lft AS lft_7, s0_.rgt AS rgt_8, s0_.depth AS depth_9, s0_.lang AS lang_10, s0_.slug AS slug_11, s0_.updated_at AS updated_at_12, s0_.id_target AS id_target_13 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" 103 ] |
|
0.12 ms (1.40%) |
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_.lft AS lft_7, s0_.rgt AS rgt_8, s0_.depth AS depth_9, s0_.lang AS lang_10, s0_.slug AS slug_11, s0_.updated_at AS updated_at_12, s0_.id_target AS id_target_13 FROM structure s0_ WHERE s0_.lang = ? ORDER BY s0_.depth ASC, s0_.lft ASC
Parameters:
[
"en"
]
|
|
0.11 ms (1.37%) |
1 |
SELECT t0.name AS name_1, t0.value AS value_2 FROM settings t0 WHERE t0.name = ?
Parameters:
[
"app.settings"
]
|
|
0.11 ms (1.27%) |
1 |
SELECT t.foreign_key, t.value, gt.content AS translated_value FROM translator t LEFT JOIN ext_translations gt ON gt.foreign_key=t.id AND gt.object_class=? AND gt.locale=? WHERE t.foreign_key LIKE ?
Parameters:
[ "App\Admin\Modules\Translator\Entity\Translator" "en" "modul_koszyk%" ] |
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.