Query Metrics
331
Database Queries
29
Different statements
71.50 ms
Query time
0
Invalid entities
198
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
18.81 ms (26.30%) |
104 |
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.position AS position_3, t0.enabled AS enabled_4, t0.number_id AS number_id_5, t0.is_virtual AS is_virtual_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.related_category_id AS related_category_id_10, t0.parent_category_id AS parent_category_id_11 FROM products_categories t0 WHERE t0.enabled = ? AND t0.parent_category_id = ? ORDER BY t0.position ASC
Parameters:
[ 1 "409c9ecf-ff18-4b18-9cc1-b8acf8f30f48" ] |
|
15.99 ms (22.36%) |
104 |
SELECT t0.position AS position_1, t0.is_main AS is_main_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.id AS id_5, t0.category_id AS category_id_6, t0.media_id AS media_id_7 FROM products_categories_medias t0 WHERE t0.category_id = ?
Parameters:
[
"409c9ecf-ff18-4b18-9cc1-b8acf8f30f48"
]
|
|
5.17 ms (7.23%) |
1 |
SELECT p0_.id AS id_0, p1_.id AS id_1, p1_.name AS name_2, p0_.name AS name_3, p1_.slug AS slug_4, p0_.slug AS slug_5, p0_.position AS position_6 FROM products p2_ LEFT JOIN products_rel_categories p4_ ON p2_.id = p4_.product_id LEFT JOIN products_categories p3_ ON p3_.id = p4_.category_id INNER JOIN products_brands p5_ ON p2_.brand_id = p5_.id INNER JOIN products_brands p6_ ON p2_.brand_id = p6_.id INNER JOIN products_rel_feature_values p7_ ON p2_.id = p7_.product_id INNER JOIN products_feature_values p0_ ON p0_.id = p7_.feature_value_id INNER JOIN products_features p1_ ON p0_.feature_id = p1_.id INNER JOIN products_categories_rel_products_features p8_ ON p1_.id = p8_.feature_id AND (p8_.feature_id = p1_.id AND p8_.category_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) WHERE p2_.show_only_in_pack = ? AND p3_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND p5_.enabled = ? AND p2_.status = ? GROUP BY p0_.id, p1_.id, p1_.name, p0_.name, p1_.slug, p0_.slug, p0_.position, p8_.position ORDER BY p3_.name ASC, p8_.position ASC, p0_.position ASC
Parameters:
[ "bc7c8b41-4ab9-431a-8bd1-02287baae2d9" "0709b595-d1f1-4d84-848a-467421e0b9d8" "17b4781d-f123-4b65-9b7b-576df8253c52" "222c127e-d842-4734-8d75-54062d7366b9" "4eaefc8f-6d0a-4b8a-b798-aea3cdaad159" "6eb664db-a89c-4465-93f0-a3b006b79f5e" "7e9ebc60-a0b6-4f9e-a2df-e11e8e09033a" "7f8d97ff-7124-4dda-9ead-905dc5cfd9cd" "9cf0b93e-a2eb-4a90-94b6-0200f55311bb" "c660fa3f-a741-42cb-badf-5ca3ffb23682" "f6774865-109d-4306-ab60-34a4746f6fd6" 0 "bc7c8b41-4ab9-431a-8bd1-02287baae2d9" "0709b595-d1f1-4d84-848a-467421e0b9d8" "17b4781d-f123-4b65-9b7b-576df8253c52" "222c127e-d842-4734-8d75-54062d7366b9" "4eaefc8f-6d0a-4b8a-b798-aea3cdaad159" "6eb664db-a89c-4465-93f0-a3b006b79f5e" "7e9ebc60-a0b6-4f9e-a2df-e11e8e09033a" "7f8d97ff-7124-4dda-9ead-905dc5cfd9cd" "9cf0b93e-a2eb-4a90-94b6-0200f55311bb" "c660fa3f-a741-42cb-badf-5ca3ffb23682" "f6774865-109d-4306-ab60-34a4746f6fd6" 1 1 ] |
|
4.95 ms (6.92%) |
20 |
SELECT t0.name AS name_1, t0.enabled AS enabled_2, t0.slug AS slug_3, t0.position AS position_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.id AS id_7, t0.feature_id AS feature_id_8 FROM products_feature_values t0 INNER JOIN products_rel_feature_values ON t0.id = products_rel_feature_values.feature_value_id WHERE products_rel_feature_values.product_id = ?
Parameters:
[
182
]
|
|
4.70 ms (6.58%) |
20 |
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.position AS position_3, t0.enabled AS enabled_4, t0.number_id AS number_id_5, t0.is_virtual AS is_virtual_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.related_category_id AS related_category_id_10, t0.parent_category_id AS parent_category_id_11 FROM products_categories t0 INNER JOIN products_rel_categories ON t0.id = products_rel_categories.category_id WHERE products_rel_categories.product_id = ?
Parameters:
[
182
]
|
|
3.88 ms (5.42%) |
20 |
SELECT t0.position AS position_1, t0.is_main AS is_main_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.id AS id_5, t0.product_id AS product_id_6, t0.media_id AS media_id_7 FROM products_medias t0 WHERE t0.product_id = ?
Parameters:
[
182
]
|
|
2.68 ms (3.75%) |
11 |
SELECT t0.content_type AS content_type_1, t0.filename AS filename_2, t0.file_extension AS file_extension_3, t0.path AS path_4, t0.md5 AS md5_5, t0.file_size AS file_size_6, t0.width AS width_7, t0.height AS height_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.id AS id_11, t12.content_type AS content_type_13, t12.filename AS filename_14, t12.file_extension AS file_extension_15, t12.path AS path_16, t12.md5 AS md5_17, t12.file_size AS file_size_18, t12.width AS width_19, t12.height AS height_20, t12.created_at AS created_at_21, t12.updated_at AS updated_at_22, t12.id AS id_23, t12.media_watermark_id AS media_watermark_id_24 FROM media_watermark t0 LEFT JOIN media t12 ON t12.media_watermark_id = t0.id WHERE t0.id = ?
Parameters:
[
"b1e59a9a-1b64-48e3-8331-e48ab5a68166"
]
|
|
2.60 ms (3.64%) |
11 |
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.position AS position_3, t0.enabled AS enabled_4, t0.number_id AS number_id_5, t0.is_virtual AS is_virtual_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.related_category_id AS related_category_id_10, t0.parent_category_id AS parent_category_id_11 FROM products_categories t0 WHERE t0.parent_category_id = ?
Parameters:
[
"bc7c8b41-4ab9-431a-8bd1-02287baae2d9"
]
|
|
2.36 ms (3.30%) |
12 |
SELECT t0.content_type AS content_type_1, t0.filename AS filename_2, t0.file_extension AS file_extension_3, t0.path AS path_4, t0.md5 AS md5_5, t0.file_size AS file_size_6, t0.width AS width_7, t0.height AS height_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.id AS id_11, t0.media_watermark_id AS media_watermark_id_12 FROM media t0 WHERE t0.id = ?
Parameters:
[
"fe3aee96-22ee-47b4-841d-6d42a8e20929"
]
|
|
1.66 ms (2.32%) |
1 |
SELECT p0_.slug AS slug_0, p0_.name AS name_1, p0_.description AS description_2, p0_.description_short AS description_short_3, p0_.supplier_reference AS supplier_reference_4, p0_.manufacturer_reference AS manufacturer_reference_5, p0_.ean AS ean_6, p0_.position AS position_7, p0_.status AS status_8, p0_.tax_type AS tax_type_9, p0_.showcase AS showcase_10, p0_.on_offer AS on_offer_11, p0_.new AS new_12, p0_.kit AS kit_13, p0_.show_only_in_pack AS show_only_in_pack_14, p0_.price_buy AS price_buy_15, p0_.price_sell AS price_sell_16, p0_.price_offer AS price_offer_17, p0_.soa AS soa_18, p0_.stock AS stock_19, p0_.stock_supplier AS stock_supplier_20, p0_.min AS min_21, p0_.max AS max_22, p0_.period AS period_23, p0_.internal_comments AS internal_comments_24, p0_.created_at AS created_at_25, p0_.updated_at AS updated_at_26, p0_.last_activation_at AS last_activation_at_27, p0_.product_specs AS product_specs_28, p0_.cron_export_status AS cron_export_status_29, p0_.id AS id_30, CASE WHEN p0_.price_offer IS NOT NULL THEN p0_.price_offer ELSE p0_.price_sell END AS sclr_31, p0_.brand_id AS brand_id_32, p0_.created_by_user AS created_by_user_33, p0_.updated_by_user AS updated_by_user_34, p0_.last_activation_by_user AS last_activation_by_user_35 FROM products p0_ LEFT JOIN products_rel_categories p2_ ON p0_.id = p2_.product_id LEFT JOIN products_categories p1_ ON p1_.id = p2_.category_id INNER JOIN products_brands p3_ ON p0_.brand_id = p3_.id WHERE p0_.show_only_in_pack = ? AND p1_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND p3_.enabled = ? AND p0_.status = ? ORDER BY p3_.name ASC, sclr_31 DESC LIMIT 20 OFFSET 20
Parameters:
[ 0 "bc7c8b41-4ab9-431a-8bd1-02287baae2d9" "0709b595-d1f1-4d84-848a-467421e0b9d8" "17b4781d-f123-4b65-9b7b-576df8253c52" "222c127e-d842-4734-8d75-54062d7366b9" "4eaefc8f-6d0a-4b8a-b798-aea3cdaad159" "6eb664db-a89c-4465-93f0-a3b006b79f5e" "7e9ebc60-a0b6-4f9e-a2df-e11e8e09033a" "7f8d97ff-7124-4dda-9ead-905dc5cfd9cd" "9cf0b93e-a2eb-4a90-94b6-0200f55311bb" "c660fa3f-a741-42cb-badf-5ca3ffb23682" "f6774865-109d-4306-ab60-34a4746f6fd6" 1 1 ] |
|
1.18 ms (1.65%) |
1 |
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.position AS position_3, t0.enabled AS enabled_4, t0.number_id AS number_id_5, t0.is_virtual AS is_virtual_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.related_category_id AS related_category_id_10, t0.parent_category_id AS parent_category_id_11 FROM products_categories t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
"objetivos"
]
|
|
1.09 ms (1.52%) |
5 |
SELECT t0.keyname AS keyname_1, t0.value AS value_2, t0.label AS label_3, t0.description AS description_4, t0.id AS id_5 FROM configuration t0 WHERE t0.keyname = ? LIMIT 1
Parameters:
[
"info_header_contact_1"
]
|
|
0.91 ms (1.27%) |
5 |
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.enabled AS enabled_3, t0.multiple AS multiple_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.id AS id_7 FROM products_features t0 WHERE t0.id = ?
Parameters:
[
"71d2e133-0f1c-446a-907f-0f527de3810c"
]
|
|
0.81 ms (1.13%) |
1 |
SELECT p0_.slug AS slug_0, p0_.name AS name_1 FROM products p1_ LEFT JOIN products_rel_categories p3_ ON p1_.id = p3_.product_id LEFT JOIN products_categories p2_ ON p2_.id = p3_.category_id INNER JOIN products_brands p4_ ON p1_.brand_id = p4_.id INNER JOIN products_brands p0_ ON p1_.brand_id = p0_.id WHERE p1_.show_only_in_pack = ? AND p2_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND p4_.enabled = ? AND p1_.status = ? GROUP BY p0_.id ORDER BY p0_.name ASC
Parameters:
[ 0 "bc7c8b41-4ab9-431a-8bd1-02287baae2d9" "0709b595-d1f1-4d84-848a-467421e0b9d8" "17b4781d-f123-4b65-9b7b-576df8253c52" "222c127e-d842-4734-8d75-54062d7366b9" "4eaefc8f-6d0a-4b8a-b798-aea3cdaad159" "6eb664db-a89c-4465-93f0-a3b006b79f5e" "7e9ebc60-a0b6-4f9e-a2df-e11e8e09033a" "7f8d97ff-7124-4dda-9ead-905dc5cfd9cd" "9cf0b93e-a2eb-4a90-94b6-0200f55311bb" "c660fa3f-a741-42cb-badf-5ca3ffb23682" "f6774865-109d-4306-ab60-34a4746f6fd6" 1 1 ] |
|
0.68 ms (0.95%) |
1 |
SELECT count(1) AS sclr_0 FROM products p0_ LEFT JOIN products_rel_categories p2_ ON p0_.id = p2_.product_id LEFT JOIN products_categories p1_ ON p1_.id = p2_.category_id INNER JOIN products_brands p3_ ON p0_.brand_id = p3_.id WHERE p0_.show_only_in_pack = ? AND p1_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND p3_.enabled = ? AND p0_.status = ?
Parameters:
[ 0 "bc7c8b41-4ab9-431a-8bd1-02287baae2d9" "0709b595-d1f1-4d84-848a-467421e0b9d8" "17b4781d-f123-4b65-9b7b-576df8253c52" "222c127e-d842-4734-8d75-54062d7366b9" "4eaefc8f-6d0a-4b8a-b798-aea3cdaad159" "6eb664db-a89c-4465-93f0-a3b006b79f5e" "7e9ebc60-a0b6-4f9e-a2df-e11e8e09033a" "7f8d97ff-7124-4dda-9ead-905dc5cfd9cd" "9cf0b93e-a2eb-4a90-94b6-0200f55311bb" "c660fa3f-a741-42cb-badf-5ca3ffb23682" "f6774865-109d-4306-ab60-34a4746f6fd6" 1 1 ] |
|
0.62 ms (0.87%) |
1 |
SELECT p0_.slug AS slug_0, p0_.name AS name_1, p0_.slug AS slug_2 FROM products p1_ LEFT JOIN products_rel_categories p2_ ON p1_.id = p2_.product_id LEFT JOIN products_categories p0_ ON p0_.id = p2_.category_id INNER JOIN products_brands p3_ ON p1_.brand_id = p3_.id INNER JOIN products_brands p4_ ON p1_.brand_id = p4_.id WHERE p1_.show_only_in_pack = ? AND p0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND p3_.enabled = ? AND p1_.status = ? GROUP BY p0_.id ORDER BY p0_.name ASC
Parameters:
[ 0 "bc7c8b41-4ab9-431a-8bd1-02287baae2d9" "0709b595-d1f1-4d84-848a-467421e0b9d8" "17b4781d-f123-4b65-9b7b-576df8253c52" "222c127e-d842-4734-8d75-54062d7366b9" "4eaefc8f-6d0a-4b8a-b798-aea3cdaad159" "6eb664db-a89c-4465-93f0-a3b006b79f5e" "7e9ebc60-a0b6-4f9e-a2df-e11e8e09033a" "7f8d97ff-7124-4dda-9ead-905dc5cfd9cd" "9cf0b93e-a2eb-4a90-94b6-0200f55311bb" "c660fa3f-a741-42cb-badf-5ca3ffb23682" "f6774865-109d-4306-ab60-34a4746f6fd6" 1 1 ] |
|
0.44 ms (0.62%) |
1 |
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.position AS position_3, t0.enabled AS enabled_4, t0.number_id AS number_id_5, t0.is_virtual AS is_virtual_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.related_category_id AS related_category_id_10, t0.parent_category_id AS parent_category_id_11 FROM products_categories t0 WHERE t0.enabled = ? AND t0.parent_category_id IS NULL ORDER BY t0.position ASC
Parameters:
[
1
]
|
|
0.34 ms (0.47%) |
1 |
SELECT b0_.name AS name_0, b0_.link_to AS link_to_1, b0_.status AS status_2, b0_.created_at AS created_at_3, b0_.updated_at AS updated_at_4, b0_.id AS id_5 FROM banners b0_ INNER JOIN banner_location_position b1_ ON b0_.id = b1_.banner_id WHERE b0_.status = ? AND b1_.location = ? AND b1_.category_id = ? ORDER BY b1_.position ASC LIMIT 30
Parameters:
[ 2 2 "bc7c8b41-4ab9-431a-8bd1-02287baae2d9" ] |
|
0.30 ms (0.42%) |
1 |
SELECT b0_.name AS name_0, b0_.link_to AS link_to_1, b0_.status AS status_2, b0_.created_at AS created_at_3, b0_.updated_at AS updated_at_4, b0_.id AS id_5 FROM banners b0_ INNER JOIN banner_location_position b1_ ON b0_.id = b1_.banner_id WHERE b0_.status = ? AND b1_.location = ? ORDER BY b1_.position ASC LIMIT 30
Parameters:
[ 2 3 ] |
|
0.27 ms (0.37%) |
1 |
SELECT count(1) AS sclr_0 FROM banners b0_ INNER JOIN banner_location_position b1_ ON b0_.id = b1_.banner_id WHERE b0_.status = ? AND b1_.location = ? AND b1_.category_id = ?
Parameters:
[ 2 2 "bc7c8b41-4ab9-431a-8bd1-02287baae2d9" ] |
|
0.26 ms (0.37%) |
1 |
SELECT b0_.name AS name_0, b0_.link_to AS link_to_1, b0_.status AS status_2, b0_.created_at AS created_at_3, b0_.updated_at AS updated_at_4, b0_.id AS id_5 FROM banners b0_ INNER JOIN banner_location_position b1_ ON b0_.id = b1_.banner_id WHERE b0_.status = ? AND b1_.location = ? AND b1_.brand_id = ? ORDER BY b1_.position ASC LIMIT 30
Parameters:
[ 2 7 "fb1de7e0-7c13-403b-b871-b1c5286d53a8" ] |
|
0.26 ms (0.36%) |
1 |
SELECT p0_.name AS name_0, p0_.url AS url_1, p0_.status AS status_2, p0_.date_start AS date_start_3, p0_.date_end AS date_end_4, p0_.created_at AS created_at_5, p0_.updated_at AS updated_at_6, p0_.id AS id_7 FROM promotions p0_ WHERE p0_.status = ? ORDER BY p0_.date_start ASC LIMIT 30
Parameters:
[
1
]
|
|
0.25 ms (0.35%) |
1 |
SELECT b0_.name AS name_0, b0_.link_to AS link_to_1, b0_.status AS status_2, b0_.created_at AS created_at_3, b0_.updated_at AS updated_at_4, b0_.id AS id_5 FROM banners b0_ INNER JOIN banner_location_position b1_ ON b0_.id = b1_.banner_id WHERE b0_.status = ? AND b1_.location = ? AND b1_.category_id = ? AND b1_.brand_id = ? ORDER BY b1_.position ASC LIMIT 30
Parameters:
[ 2 6 "bc7c8b41-4ab9-431a-8bd1-02287baae2d9" "fb1de7e0-7c13-403b-b871-b1c5286d53a8" ] |
|
0.25 ms (0.35%) |
1 |
SELECT count(1) AS sclr_0 FROM banners b0_ INNER JOIN banner_location_position b1_ ON b0_.id = b1_.banner_id WHERE b0_.status = ? AND b1_.location = ? AND b1_.category_id = ? AND b1_.brand_id = ?
Parameters:
[ 2 6 "bc7c8b41-4ab9-431a-8bd1-02287baae2d9" "fb1de7e0-7c13-403b-b871-b1c5286d53a8" ] |
|
0.24 ms (0.34%) |
1 |
SELECT count(1) AS sclr_0 FROM banners b0_ INNER JOIN banner_location_position b1_ ON b0_.id = b1_.banner_id WHERE b0_.status = ? AND b1_.location = ?
Parameters:
[ 2 3 ] |
|
0.22 ms (0.31%) |
1 |
SELECT count(1) AS sclr_0 FROM banners b0_ INNER JOIN banner_location_position b1_ ON b0_.id = b1_.banner_id WHERE b0_.status = ? AND b1_.location = ? AND b1_.brand_id = ?
Parameters:
[ 2 7 "fb1de7e0-7c13-403b-b871-b1c5286d53a8" ] |
|
0.20 ms (0.28%) |
1 |
SELECT t0.position AS position_1, t0.is_main AS is_main_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.id AS id_5, t0.brand_id AS brand_id_6, t0.media_id AS media_id_7 FROM brands_medias t0 WHERE t0.brand_id = ?
Parameters:
[
"fb1de7e0-7c13-403b-b871-b1c5286d53a8"
]
|
|
0.19 ms (0.26%) |
1 |
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.position AS position_3, t0.enabled AS enabled_4, t0.number_id AS number_id_5, t0.is_virtual AS is_virtual_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.related_category_id AS related_category_id_10, t0.parent_category_id AS parent_category_id_11 FROM products_categories t0 WHERE t0.id = ?
Parameters:
[
"409c9ecf-ff18-4b18-9cc1-b8acf8f30f48"
]
|
|
0.19 ms (0.26%) |
1 |
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.enabled AS enabled_3, t0.number_id AS number_id_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.id AS id_7 FROM products_brands t0 WHERE t0.id = ?
Parameters:
[
"fb1de7e0-7c13-403b-b871-b1c5286d53a8"
]
|
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 |
|---|---|
| Fotoboom\Product\Domain\Category | 104 |
| Fotoboom\Product\Domain\FeatureValue | 27 |
| Fotoboom\Product\Domain\Product | 20 |
| Fotoboom\Media\Domain\Media | 12 |
| Fotoboom\Product\Domain\Media | 11 |
| Fotoboom\Media\Domain\MediaWatermark | 11 |
| Fotoboom\Product\Domain\Feature | 5 |
| Fotoboom\Configuration\Domain\Configuration | 5 |
| Fotoboom\Product\Domain\Brand | 1 |
| Fotoboom\User\Domain\User | 1 |
| Fotoboom\Product\Domain\BrandMedia | 1 |