Query Metrics
285
Database Queries
21
Different statements
71.34 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
9.38 ms (13.16%) |
48 |
SELECT t0.id AS id_1, t0.quantity AS quantity_2, t0.ref_distributor AS ref_distributor_3, t0.end AS end_4, t0.product_id AS product_id_5, t0.distributor_id AS distributor_id_6 FROM stock t0 WHERE t0.product_id = ?
Parameters:
[
1408
]
|
8.97 ms (12.58%) |
24 |
SELECT s0_.id AS id_0, s0_.weight AS weight_1, s0_.shipping_cost AS shipping_cost_2, s0_.carrier_id AS carrier_id_3, s0_.country_id AS country_id_4, s0_.distributor_id AS distributor_id_5 FROM shipping s0_, carriers c1_ WHERE s0_.country_id = 75 AND s0_.weight >= ? AND c1_.id = s0_.carrier_id AND c1_.actif = 1 AND s0_.distributor_id IN (?) GROUP BY s0_.carrier_id ORDER BY s0_.shipping_cost ASC
Parameters:
[ 120 "1" ] |
6.03 ms (8.45%) |
24 |
SELECT t0.id AS id_1, t0.active AS active_2, t0.first AS first_3, t0.src AS src_4, t0.product_id AS product_id_5 FROM images t0 WHERE t0.product_id = ? ORDER BY t0.first ASC
Parameters:
[
1408
]
|
5.98 ms (8.38%) |
24 |
SELECT t0.id AS id_1, t0.date_rating AS date_rating_2, t0.recommanded AS recommanded_3, t0.facility_use AS facility_use_4, t0.quality_price AS quality_price_5, t0.design AS design_6, t0.material AS material_7, t0.pseudo AS pseudo_8, t0.email AS email_9, t0.avis AS avis_10, t0.utile_in AS utile_in_11, t0.utile_out AS utile_out_12, t0.active AS active_13, t0.rating AS rating_14, t0.validated AS validated_15, t0.product_id AS product_id_16 FROM product_rating t0 WHERE t0.product_id = ?
Parameters:
[
1408
]
|
5.81 ms (8.15%) |
24 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.link AS link_4, t0.position AS position_5, t0.title AS title_6, t0.icon AS icon_7, t0.thumbnail AS thumbnail_8, t0.image AS image_9, t0.margin AS margin_10, t0.description AS description_11, t0.parent_id AS parent_id_12 FROM categories t0 INNER JOIN categories_products ON t0.id = categories_products.categories_id WHERE categories_products.products_id = ?
Parameters:
[
1408
]
|
5.67 ms (7.95%) |
24 |
SELECT t0.id AS id_1, t0.price_distributor AS price_distributor_2, t0.price_suggested AS price_suggested_3, t0.date_update AS date_update_4, t0.price AS price_5, t0.selected AS selected_6, t0.tvarate AS tvarate_7, t0.product_id AS product_id_8, t0.distributor_id AS distributor_id_9 FROM prices t0 WHERE t0.product_id = ? ORDER BY t0.selected ASC
Parameters:
[
1408
]
|
5.52 ms (7.74%) |
24 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.content AS content_4, t0.created_at AS created_at_5, t0.active AS active_6, t0.code_ean AS code_ean_7, t0.last_modification AS last_modification_8, t0.old_price AS old_price_9, t0.promo AS promo_10, t0.top AS top_11, t0.weight AS weight_12, t0.reference AS reference_13, t0.valid AS valid_14, t0.tvarate AS tvarate_15, t0.brand_id AS brand_id_16 FROM products t0 WHERE t0.reference = ?
Parameters:
[
"BC001408"
]
|
5.21 ms (7.30%) |
24 |
SELECT t0.id AS id_1, t0.price_distributor AS price_distributor_2, t0.price_suggested AS price_suggested_3, t0.date_update AS date_update_4, t0.price AS price_5, t0.selected AS selected_6, t0.tvarate AS tvarate_7, t0.product_id AS product_id_8, t0.distributor_id AS distributor_id_9 FROM prices t0 WHERE t0.product_id = ?
Parameters:
[
1408
]
|
4.53 ms (6.35%) |
24 |
SELECT t0.id AS id_1, t0.product_id AS product_id_2, t0.feature_line_id AS feature_line_id_3 FROM product_features t0 WHERE t0.product_id = ?
Parameters:
[
1408
]
|
4.44 ms (6.23%) |
28 |
SELECT t0.id AS id_1, t0.value AS value_2, t0.data AS data_3, t0.attribute_id AS attribute_id_4 FROM features_lines t0 WHERE t0.id = ?
Parameters:
[
172
]
|
2.65 ms (3.72%) |
1 |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.content AS content_3, p0_.created_at AS created_at_4, p0_.active AS active_5, p0_.code_ean AS code_ean_6, p0_.last_modification AS last_modification_7, p0_.old_price AS old_price_8, p0_.promo AS promo_9, p0_.top AS top_10, p0_.weight AS weight_11, p0_.reference AS reference_12, p0_.valid AS valid_13, p0_.tvarate AS tvarate_14, (CASE WHEN SUM(s1_.quantity) > 0 THEN 1 ELSE 0 END) AS sclr_15, p0_.brand_id AS brand_id_16 FROM products p0_ INNER JOIN stock s1_ ON (s1_.product_id = p0_.id) INNER JOIN categories_products c2_ WHERE c2_.categories_id IN (?) AND c2_.products_id = p0_.id AND p0_.active = 1 AND p0_.valid = 1 GROUP BY p0_.reference ORDER BY sclr_15 DESC, p0_.name ASC LIMIT 24
Parameters:
[
"66"
]
|
1.34 ms (1.88%) |
1 |
SELECT distinct fl.id as id, fl.value as name, fl.data as code FROM `products` as p INNER JOIN product_features as pf INNER JOIN features_lines as fl INNER JOIN features_list as flist WHERE p.id IN (SELECT products_id FROM categories_products WHERE categories_id IN (66)) AND pf.product_id = p.id AND pf.feature_line_id = fl.id AND p.active = 1 AND p.valid = 1 AND flist.id = fl.attribute_id AND flist.feature = 'Couleur' ORDER BY fl.value ASC
Parameters:
[] |
1.13 ms (1.58%) |
1 |
SELECT distinct fl.id as id, fl.value as name, fl.data as code FROM products p INNER JOIN product_features pf INNER JOIN features_lines fl INNER JOIN features_list flist WHERE p.id IN (SELECT products_id FROM categories_products WHERE categories_id IN (66)) AND pf.product_id = p.id AND pf.feature_line_id = fl.id AND p.active = 1 AND p.valid = 1 AND flist.id = fl.attribute_id AND flist.feature = 'Taille' ORDER BY fl.value ASC
Parameters:
[] |
1.06 ms (1.49%) |
1 |
SELECT distinct fl.id as id, fl.value as name, fl.data as code FROM products p INNER JOIN product_features pf INNER JOIN features_lines fl INNER JOIN features_list flist WHERE p.id IN (SELECT products_id FROM categories_products WHERE categories_id IN (66)) AND pf.product_id = p.id AND pf.feature_line_id = fl.id AND p.active = 1 AND p.valid = 1 AND flist.id = fl.attribute_id AND flist.feature = 'Matière' ORDER BY fl.value ASC
Parameters:
[] |
0.96 ms (1.35%) |
1 |
SELECT COUNT(DISTINCT p.reference) as nbProducts, min(pr.price) as priceMin, max(pr.price) as priceMax FROM `products` as p INNER JOIN prices as pr WHERE p.id IN (SELECT products_id FROM categories_products WHERE categories_id IN (66)) AND p.id = pr.product_id AND pr.selected = 1 AND p.active = 1 AND p.valid = 1
Parameters:
[] |
0.51 ms (0.72%) |
1 |
SELECT distinct b.id, b.name FROM products p INNER JOIN brand b WHERE p.id IN (SELECT products_id FROM categories_products WHERE categories_id IN (66)) AND b.id = p.brand_id AND p.active = 1 AND p.valid = 1 ORDER BY b.name ASC
Parameters:
[] |
0.48 ms (0.67%) |
3 |
SELECT t0.id AS id_1, t0.feature AS feature_2 FROM features_list t0 WHERE t0.id = ?
Parameters:
[
4
]
|
0.48 ms (0.67%) |
3 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.logo AS logo_3, t0.description AS description_4, t0.distributors AS distributors_5, t0.distributor_id AS distributor_id_6 FROM brand t0 WHERE t0.id = ?
Parameters:
[
43
]
|
0.42 ms (0.58%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.link AS link_4, t0.position AS position_5, t0.title AS title_6, t0.icon AS icon_7, t0.thumbnail AS thumbnail_8, t0.image AS image_9, t0.margin AS margin_10, t0.description AS description_11, t0.parent_id AS parent_id_12 FROM categories t0 WHERE t0.id = ?
Parameters:
[
60
]
|
0.38 ms (0.53%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.link AS link_4, t0.position AS position_5, t0.title AS title_6, t0.icon AS icon_7, t0.thumbnail AS thumbnail_8, t0.image AS image_9, t0.margin AS margin_10, t0.description AS description_11, t0.parent_id AS parent_id_12 FROM categories t0 WHERE t0.link = ? LIMIT 1
Parameters:
[
"lingerie-femme-combinaison-sexy"
]
|
0.37 ms (0.51%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.url_ftp AS url_ftp_3, t0.api_log AS api_log_4, t0.api_key AS api_key_5, t0.address AS address_6, t0.zipcode AS zipcode_7, t0.city AS city_8, t0.timeslot AS timeslot_9, t0.tel AS tel_10, t0.email AS email_11, t0.help AS help_12, t0.logo AS logo_13, t0.site AS site_14, t0.user_ftp AS user_ftp_15, t0.password_ftp AS password_ftp_16 FROM distributor t0 WHERE t0.id = ?
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.
Entities Mapping
Class | Mapping errors |
---|---|
App\Entity\Categories | No errors. |
App\Entity\DistributorCategories | No errors. |
App\Entity\SizesGuid | No errors. |
App\Entity\Products | No errors. |
App\Entity\Stock | No errors. |
App\Entity\CategoriesProducts | No errors. |
App\Entity\Brand | No errors. |
App\Entity\Prices | No errors. |
App\Entity\Images | No errors. |
App\Entity\ProductRating | No errors. |
App\Entity\ProductFeatures | No errors. |
App\Entity\NotificationRuptureProduct | No errors. |
App\Entity\FeaturesLines | No errors. |
App\Entity\FeaturesList | No errors. |
App\Entity\Distributor | No errors. |
App\Entity\Shipping | No errors. |
App\Entity\Carriers | No errors. |
App\Entity\Countries | No errors. |
App\Entity\OrderLines | No errors. |
App\Entity\CartLines | No errors. |
App\Entity\FileImport | No errors. |
App\Entity\DistributorFile | No errors. |
App\Entity\DistributorCombination | No errors. |
App\Entity\DistributorProduct | No errors. |
App\Entity\DistributorBrand | No errors. |