Query Metrics
136
Database Queries
16
Different statements
17.22 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
5.80 ms (33.70%) |
67 |
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"
]
|
|
3.28 ms (19.06%) |
37 |
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"
]
|
|
2.15 ms (12.48%) |
3 |
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.slug AS slug_2, m0_.short_description AS short_description_3, m0_.description AS description_4, m0_.html_content AS html_content_5, m0_.price AS price_6, m0_.vat AS vat_7, m0_.gross_price AS gross_price_8, m0_.grammage AS grammage_9, m0_.available_quantity AS available_quantity_10, m0_.order_count AS order_count_11, m0_.is_recommended AS is_recommended_12, m0_.is_visible AS is_visible_13, m0_.id_module_multilang_entry AS id_module_multilang_entry_14, m0_.id_product_category AS id_product_category_15, m0_.id_brand AS id_brand_16, m0_.id_image_file_repository AS id_image_file_repository_17 FROM module_product m0_ INNER JOIN module_multilang_entry m1_ ON m0_.id_module_multilang_entry = m1_.id INNER JOIN module_multilang_entry_lang m2_ ON m1_.id = m2_.id_module_multilang_entry INNER JOIN product_category p3_ INNER JOIN product_category p4_ ON m0_.id_product_category = p4_.id WHERE m0_.is_visible = 1 AND m0_.id_product_category IS NOT NULL AND (m2_.lang = ? AND m2_.content_edited = 1) AND p4_.lft >= p3_.lft AND p4_.rgt <= p3_.rgt AND p3_.id IN (?) ORDER BY RAND() ASC LIMIT 1
Parameters:
[ "pl" 1 ] |
|
1.11 ms (6.44%) |
1 |
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.slug AS slug_2, m0_.short_description AS short_description_3, m0_.description AS description_4, m0_.html_content AS html_content_5, m0_.price AS price_6, m0_.vat AS vat_7, m0_.gross_price AS gross_price_8, m0_.grammage AS grammage_9, m0_.available_quantity AS available_quantity_10, m0_.order_count AS order_count_11, m0_.is_recommended AS is_recommended_12, m0_.is_visible AS is_visible_13, m0_.id_module_multilang_entry AS id_module_multilang_entry_14, m0_.id_product_category AS id_product_category_15, m0_.id_brand AS id_brand_16, m0_.id_image_file_repository AS id_image_file_repository_17 FROM module_product m0_ INNER JOIN module_multilang_entry m1_ ON m0_.id_module_multilang_entry = m1_.id INNER JOIN module_multilang_entry_lang m2_ ON m1_.id = m2_.id_module_multilang_entry WHERE m0_.is_visible = 1 AND m0_.id_product_category IS NOT NULL AND (m2_.lang = ? AND m2_.content_edited = 1) ORDER BY RAND() ASC LIMIT 10
Parameters:
[
"pl"
]
|
|
1.08 ms (6.26%) |
1 |
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.slug AS slug_2, m0_.short_description AS short_description_3, m0_.description AS description_4, m0_.html_content AS html_content_5, m0_.price AS price_6, m0_.vat AS vat_7, m0_.gross_price AS gross_price_8, m0_.grammage AS grammage_9, m0_.available_quantity AS available_quantity_10, m0_.order_count AS order_count_11, m0_.is_recommended AS is_recommended_12, m0_.is_visible AS is_visible_13, b1_.id AS id_14, b1_.name AS name_15, m0_.id_module_multilang_entry AS id_module_multilang_entry_16, m0_.id_product_category AS id_product_category_17, m0_.id_brand AS id_brand_18, m0_.id_image_file_repository AS id_image_file_repository_19, b1_.id_logo_file_repository AS id_logo_file_repository_20 FROM module_product m0_ INNER JOIN module_multilang_entry m2_ ON m0_.id_module_multilang_entry = m2_.id INNER JOIN module_multilang_entry_lang m3_ ON m2_.id = m3_.id_module_multilang_entry INNER JOIN brand b1_ ON m0_.id_brand = b1_.id WHERE m0_.is_visible = 1 AND m0_.id_product_category IS NOT NULL AND (m3_.lang = ? AND m3_.content_edited = 1) GROUP BY b1_.id, b1_.name, b1_.id_logo_file_repository ORDER BY RAND() ASC LIMIT 20
Parameters:
[
"pl"
]
|
|
1.02 ms (5.95%) |
13 |
SELECT t0.id AS id_1, t0.position AS position_2, t0.id_module_product AS id_module_product_3, t0.id_file_repository AS id_file_repository_4 FROM module_product_image t0 WHERE t0.id_module_product = ? ORDER BY t0.position ASC
Parameters:
[
4
]
|
|
0.86 ms (4.98%) |
1 |
SELECT p0_.id AS id_0, p0_.name AS name_1, COUNT(m1_.id) AS sclr_2 FROM module_product m1_ INNER JOIN module_multilang_entry m2_ ON m1_.id_module_multilang_entry = m2_.id INNER JOIN module_multilang_entry_lang m3_ ON m2_.id = m3_.id_module_multilang_entry INNER JOIN product_category p4_ ON m1_.id_product_category = p4_.id INNER JOIN product_category p0_ ON (p0_.lft <= p4_.lft AND p0_.rgt >= p4_.rgt AND p0_.depth = 0) WHERE m1_.is_visible = 1 AND m1_.id_product_category IS NOT NULL AND (m3_.lang = ? AND m3_.content_edited = 1) GROUP BY p0_.id, p0_.name, p0_.slug, p0_.lft, p0_.rgt, p0_.depth ORDER BY RAND() ASC LIMIT 3
Parameters:
[
"pl"
]
|
|
0.69 ms (3.98%) |
1 |
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.slug AS slug_2, m0_.short_description AS short_description_3, m0_.description AS description_4, m0_.html_content AS html_content_5, m0_.price AS price_6, m0_.vat AS vat_7, m0_.gross_price AS gross_price_8, m0_.grammage AS grammage_9, m0_.available_quantity AS available_quantity_10, m0_.order_count AS order_count_11, m0_.is_recommended AS is_recommended_12, m0_.is_visible AS is_visible_13, m0_.id_module_multilang_entry AS id_module_multilang_entry_14, m0_.id_product_category AS id_product_category_15, m0_.id_brand AS id_brand_16, m0_.id_image_file_repository AS id_image_file_repository_17 FROM module_product m0_ INNER JOIN module_multilang_entry m1_ ON m0_.id_module_multilang_entry = m1_.id INNER JOIN module_multilang_entry_lang m2_ ON m1_.id = m2_.id_module_multilang_entry INNER JOIN product_category p3_ INNER JOIN product_category p4_ ON m0_.id_product_category = p4_.id WHERE m0_.is_visible = 1 AND m0_.id_product_category IS NOT NULL AND (m2_.lang = ? AND m2_.content_edited = 1) AND p4_.lft >= p3_.lft AND p4_.rgt <= p3_.rgt AND p3_.id IN (?) AND m0_.is_recommended = 1 ORDER BY RAND() ASC LIMIT 8
Parameters:
[ "pl" 1 ] |
|
0.46 ms (2.66%) |
5 |
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:
[
19
]
|
|
0.14 ms (0.84%) |
1 |
SELECT DISTINCT p0_.id AS id_0 FROM module_product m1_ INNER JOIN module_multilang_entry m2_ ON m1_.id_module_multilang_entry = m2_.id INNER JOIN module_multilang_entry_lang m3_ ON m2_.id = m3_.id_module_multilang_entry INNER JOIN product_category p4_ ON m1_.id_product_category = p4_.id INNER JOIN product_category p0_ ON (p0_.lft <= p4_.lft AND p0_.rgt >= p4_.rgt AND p0_.depth = 0) WHERE m1_.is_visible = 1 AND m1_.id_product_category IS NOT NULL AND (m3_.lang = ? AND m3_.content_edited = 1) AND m1_.is_recommended = 1
Parameters:
[
"pl"
]
|
|
0.14 ms (0.82%) |
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:
[
"pl"
]
|
|
0.11 ms (0.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_ 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:
[ "pl" 103 ] |
|
0.11 ms (0.62%) |
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:
[
"pl"
]
|
|
0.10 ms (0.57%) |
1 |
SELECT t0.name AS name_1, t0.value AS value_2 FROM settings t0 WHERE t0.name = ?
Parameters:
[
"app.settings"
]
|
|
0.09 ms (0.52%) |
1 |
SELECT t.foreign_key, t.value FROM translator t WHERE t.foreign_key LIKE ?
Parameters:
[
"modul_koszyk%"
]
|
|
0.08 ms (0.49%) |
1 |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.lft AS lft_3, p0_.rgt AS rgt_4, p0_.depth AS depth_5 FROM product_category p0_ WHERE p0_.id IN (?) ORDER BY p0_.lft ASC
Parameters:
[
1
]
|
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.