Query Metrics

59 Database Queries
9 Different statements
4.95 ms Query time
0 Invalid entities
148 Managed entities

Grouped Statements

Show all queries

Time Count Info
2.44 ms
(49.23%)
28
SELECT t0.id AS id_1, t0.site_name AS site_name_2, t0.phone AS phone_3, t0.whatsapp AS whatsapp_4, t0.address AS address_5, t0.payment_info AS payment_info_6, t0.email AS email_7, t0.email_sender AS email_sender_8, t0.email_received AS email_received_9, t0.facebook AS facebook_10, t0.instagram AS instagram_11, t0.linkedin AS linkedin_12, t0.twitter AS twitter_13, t0.tiktok AS tiktok_14, t0.youtube AS youtube_15, t0.pinterest AS pinterest_16, t0.logo_id AS logo_id_17, t0.logo_light_id AS logo_light_id_18, t0.favicon_id AS favicon_id_19 FROM setting t0 LIMIT 1
Parameters:
[]
0.51 ms
(10.26%)
8
SELECT t0.id AS id_1, t0.media_type AS media_type_2, t0.is_main_image AS is_main_image_3, t0.sort_order AS sort_order_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.product_id AS product_id_7, t0.media_id AS media_id_8 FROM product_media t0 WHERE t0.product_id = ?
Parameters:
[
  20
]
0.49 ms
(9.80%)
8
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.concept AS concept_4, t0.short_description AS short_description_5, t0.materials_detail AS materials_detail_6, t0.equipment_detail AS equipment_detail_7, t0.performance_details AS performance_details_8, t0.specifications AS specifications_9, t0.advantages AS advantages_10, t0.is_default AS is_default_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.product_id AS product_id_14, t0.language_id AS language_id_15 FROM product_translations t0 WHERE t0.product_id = ?
Parameters:
[
  20
]
0.43 ms
(8.78%)
8
SELECT t0.id AS id_1, t0.code AS code_2, t0.price AS price_3, t0.is_active AS is_active_4, t0.sort_order AS sort_order_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.option_group_id AS option_group_id_8 FROM product_option t0 INNER JOIN product_options ON t0.id = product_options.product_option_id WHERE product_options.product_id = ?
Parameters:
[
  20
]
0.34 ms
(6.88%)
1
SELECT COUNT(DISTINCT p0_.id) AS sclr_0 FROM product p0_ LEFT JOIN product_category p1_ ON p0_.category_id = p1_.id WHERE p0_.is_active = ?
Parameters:
[
  1
]
0.30 ms
(6.07%)
1
SELECT DISTINCT p0_.id AS id_0, p0_.code AS code_1, p0_.base_price AS base_price_2, p0_.promotional_price AS promotional_price_3, p0_.surface AS surface_4, p0_.dimensions AS dimensions_5, p0_.rooms AS rooms_6, p0_.height AS height_7, p0_.assembly_time AS assembly_time_8, p0_.energy_class AS energy_class_9, p0_.warranty_structure AS warranty_structure_10, p0_.warranty_equipment AS warranty_equipment_11, p0_.is_active AS is_active_12, p0_.is_featured AS is_featured_13, p0_.is_customizable AS is_customizable_14, p0_.sort_order AS sort_order_15, p0_.created_at AS created_at_16, p0_.updated_at AS updated_at_17, p0_.category_id AS category_id_18 FROM product p0_ LEFT JOIN product_category p1_ ON p0_.category_id = p1_.id LEFT JOIN product_translations p2_ ON p0_.id = p2_.product_id WHERE p0_.is_active = ? ORDER BY p0_.sort_order ASC, p2_.name ASC LIMIT 8
Parameters:
[
  1
]
0.20 ms
(3.96%)
3
SELECT l0_.id AS id_0, l0_.code AS code_1, l0_.name AS name_2, l0_.native_name AS native_name_3, l0_.is_active AS is_active_4, l0_.is_default AS is_default_5, l0_.sort_order AS sort_order_6 FROM language l0_ WHERE l0_.is_active = ? ORDER BY l0_.sort_order ASC, l0_.name ASC
Parameters:
[
  1
]
0.19 ms
(3.77%)
1
SELECT p0_.id AS id_0, p0_.code AS code_1, p0_.is_active AS is_active_2, p0_.is_featured AS is_featured_3, p0_.sort_order AS sort_order_4, p0_.created_at AS created_at_5, p0_.updated_at AS updated_at_6, p1_.id AS id_7, p1_.name AS name_8, p1_.description AS description_9, p1_.short_description AS short_description_10, p1_.created_at AS created_at_11, p1_.updated_at AS updated_at_12, p1_.product_category_id AS product_category_id_13, p1_.language_id AS language_id_14 FROM product_category p0_ LEFT JOIN product_category_translations p1_ ON p0_.id = p1_.product_category_id WHERE p0_.is_active = ? ORDER BY p0_.sort_order ASC
Parameters:
[
  1
]
0.06 ms
(1.25%)
1
SELECT t0.id AS id_1, t0.file_name AS file_name_2, t0.alt AS alt_3, t0.extension AS extension_4 FROM media t0 WHERE t0.id = ?
Parameters:
[
  2
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\ProductTranslation 64
App\Entity\ProductCategoryTranslation 36
App\Entity\ProductOption 14
App\Entity\Language 9
App\Entity\Product 8
App\Entity\ProductOptionGroup 6
App\Entity\ProductCategory 4
App\Entity\ProductMedia 3
App\Entity\Media 3
App\Entity\Setting 1