Query Metrics
6
Database Queries
6
Different statements
2.19 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
0.67 ms (30.73%) |
1 |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT p0_.id AS id_0, p0_.product_name AS product_name_1, p0_.qtt AS qtt_2, p0_.prix AS prix_3, p0_.publish_item AS publish_item_4, p0_.promo AS promo_5, p0_.description AS description_6, p0_.publish_date AS publish_date_7, p0_.sale_price AS sale_price_8, p0_.cost_price AS cost_price_9, p0_.date_production AS date_production_10, p0_.date_expiration AS date_expiration_11, p0_.variant_type AS variant_type_12, p0_.variant_type2 AS variant_type2_13, p0_.variant_type3 AS variant_type3_14, c1_.id AS id_15, c1_.nom AS nom_16, c1_.tax AS tax_17 FROM produit p0_ INNER JOIN category c1_ ON p0_.category_id = c1_.id LEFT JOIN magasin m2_ ON p0_.magasin_id = m2_.id WHERE (p0_.publish_item = 1 OR ? = 1) AND ((m2_.active = 1 AND (m2_.subscription_paid_until IS NULL OR m2_.subscription_paid_until >= ?)) OR ? = 1) AND c1_.id IN (?) ORDER BY p0_.id DESC) dctrn_result) dctrn_table
Parameters:
[ 0 "2026-06-16 00:00:00" 0 "8" ] |
|
0.49 ms (22.51%) |
1 |
SELECT m0_.id AS id_0, m0_.start_time AS start_time_1, m0_.end_time AS end_time_2, m0_.description AS description_3, m0_.is_active AS is_active_4 FROM maintenance_schedule m0_ WHERE m0_.is_active = ? AND m0_.start_time <= ? AND m0_.end_time >= ? ORDER BY m0_.end_time DESC LIMIT 1
Parameters:
[ 1 "2026-06-16 20:16:31" "2026-06-16 20:16:31" ] |
|
0.32 ms (14.48%) |
1 |
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.logo_path AS logo_path_3, t0.active AS active_4, t0.subscription_paid_until AS subscription_paid_until_5, t0.adresse AS adresse_6, t0.telephone AS telephone_7, t0.numero_cr AS numero_cr_8, t0.numero_tva AS numero_tva_9, t0.country_id AS country_id_10, t0.region_id AS region_id_11, t0.city_id AS city_id_12 FROM magasin t0
Parameters:
[] |
|
0.26 ms (11.87%) |
1 |
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.tax AS tax_3 FROM category t0 ORDER BY t0.nom ASC
Parameters:
[] |
|
0.23 ms (10.32%) |
1 |
SELECT c0_.id AS id_0, c0_.nom AS nom_1, c0_.tax AS tax_2 FROM category c0_
Parameters:
[] |
|
0.22 ms (10.09%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.iso_code AS iso_code_3, t0.phone_code AS phone_code_4 FROM country t0 ORDER BY t0.name ASC
Parameters:
[] |
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\MaintenanceSchedule | No errors. |
| App\Entity\Category | No errors. |
| App\Entity\Produit | No errors. |
| App\Entity\Magasin | No errors. |
| App\Entity\Country | No errors. |
| App\Entity\Region | No errors. |
| App\Entity\City | No errors. |
| App\Entity\MagasinDeliveryFee | No errors. |
| App\Entity\MagasinUser | No errors. |