Query Metrics
28
Database Queries
24
Different statements
3.76 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
0.35 ms (9.20%) |
1 |
SELECT COUNT(DISTINCT m0_.id) AS sclr_0 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) AND m0_.id_brand IN (?)
Parameters:
[ "pl" 14 ] |
|
0.34 ms (9.06%) |
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) AND m0_.id_brand IN (?) AND m0_.id IN (?) ORDER BY m0_.is_recommended DESC, m0_.name ASC
Parameters:
[ "pl" 14 78 ] |
|
0.31 ms (8.14%) |
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:
[
324
]
|
|
0.26 ms (6.92%) |
2 |
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 4 5 ] |
|
0.25 ms (6.75%) |
1 |
SELECT DISTINCT m0_.id AS id_0, m0_.is_recommended AS is_recommended_1, m0_.name AS name_2 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) AND m0_.id_brand IN (?) ORDER BY m0_.is_recommended DESC, m0_.name ASC LIMIT 12
Parameters:
[ "pl" 14 ] |
|
0.21 ms (5.56%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.id_logo_file_repository AS id_logo_file_repository_3 FROM brand t0 WHERE t0.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 1 2 3 4 5 6 7 8 10 11 12 13 14 15 ] |
|
0.18 ms (4.70%) |
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.16 ms (4.18%) |
1 |
SELECT p0_.id AS id_0, COUNT(m1_.id) AS sclr_1 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
Parameters:
[
"pl"
]
|
|
0.15 ms (4.04%) |
1 |
SELECT m0_.grammage AS grammage_0, COUNT(m0_.id) AS sclr_1 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) GROUP BY m0_.grammage
Parameters:
[
"pl"
]
|
|
0.15 ms (3.88%) |
1 |
SELECT b0_.id AS id_0, b0_.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 brand b0_ ON m1_.id_brand = b0_.id WHERE m1_.is_visible = 1 AND m1_.id_product_category IS NOT NULL AND (m3_.lang = ? AND m3_.content_edited = 1) GROUP BY b0_.id, b0_.name, b0_.id_logo_file_repository
Parameters:
[
"pl"
]
|
|
0.14 ms (3.75%) |
1 |
SELECT p0_.id AS id_0, COUNT(m1_.id) AS sclr_1 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 ORDER BY m1_.is_recommended DESC, m1_.name ASC
Parameters:
[
"pl"
]
|
|
0.11 ms (3.00%) |
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.11 ms (2.87%) |
1 |
SELECT t.foreign_key, t.value FROM translator t WHERE t.foreign_key LIKE ?
Parameters:
[
"modul_produkty_%"
]
|
|
0.11 ms (2.82%) |
1 |
SELECT COUNT(m0_.id) AS sclr_0 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) AND (m0_.available_quantity IS NULL OR m0_.available_quantity > 0)
Parameters:
[
"pl"
]
|
|
0.11 ms (2.82%) |
1 |
SELECT b0_.id AS id_0, b0_.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 brand b0_ ON m1_.id_brand = b0_.id WHERE m1_.is_visible = 1 AND m1_.id_product_category IS NOT NULL AND (m3_.lang = ? AND m3_.content_edited = 1) GROUP BY b0_.id, b0_.name, b0_.id_logo_file_repository ORDER BY m1_.is_recommended DESC, m1_.name ASC
Parameters:
[
"pl"
]
|
|
0.11 ms (2.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_ 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.10 ms (2.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_.lft > ? AND s0_.rgt < ?) AND s0_.depth = ? AND s0_.slug = ? LIMIT 1
Parameters:
[ "pl" 1 14 1 "produkty" ] |
|
0.10 ms (2.57%) |
1 |
SELECT COUNT(m0_.id) AS sclr_0 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) AND (m0_.available_quantity IS NULL OR m0_.available_quantity > 0) ORDER BY m0_.is_recommended DESC, m0_.name ASC
Parameters:
[
"pl"
]
|
|
0.10 ms (2.55%) |
1 |
SELECT m0_.grammage AS grammage_0, COUNT(m0_.id) AS sclr_1 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) GROUP BY m0_.grammage ORDER BY m0_.is_recommended DESC, m0_.name ASC
Parameters:
[
"pl"
]
|
|
0.09 ms (2.50%) |
1 |
SELECT COUNT(m0_.id) AS sclr_0 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) AND m0_.available_quantity = 0 ORDER BY m0_.is_recommended DESC, m0_.name ASC
Parameters:
[
"pl"
]
|
|
0.09 ms (2.39%) |
1 |
SELECT COUNT(m0_.id) AS sclr_0 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) AND m0_.available_quantity = 0
Parameters:
[
"pl"
]
|
|
0.09 ms (2.34%) |
1 |
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:
[
3
]
|
|
0.09 ms (2.26%) |
1 |
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:
[
78
]
|
|
0.08 ms (2.24%) |
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:
[
"modul_produkty"
]
|
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.