Query Metrics
8
Database Queries
6
Different statements
6.33 ms
Query time
0
Invalid entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 1.00 ms |
SELECT t0_.id AS id_0, t0_.type AS type_1, t0_.to_url AS to_url_2, t0_.meta_title AS meta_title_3, t0_.original_route AS original_route_4, t0_.meta_description AS meta_description_5, (CASE t0_.type WHEN 'redirect_permanent' THEN 1 WHEN 'redirect_temporary' THEN 2 WHEN 'forward' THEN 3 ELSE 0 END) AS sclr_6 FROM _route t0_ WHERE (t0_.from_url = ? AND t0_.enabled = 1) AND (t0_.mac_brand = 'FA' AND t0_.mac_app = 'fa') ORDER BY sclr_6 ASC LIMIT 1
Parameters:
[
"/stores-exterieurs/stores-bannes/"
]
|
| 2 | 0.60 ms |
SELECT t0_.id AS id_0, t0_.original_route AS original_route_1, t0_.from_url AS from_url_2, t0_.to_url AS to_url_3, t0_.type AS type_4 FROM _route t0_ WHERE (t0_.to_url = ? AND t0_.enabled = 1 AND t0_.type = ?) AND (t0_.mac_brand = 'FA' AND t0_.mac_app = 'fa') LIMIT 1
Parameters:
[ "/stores-exterieurs/stores-bannes/" "forward" ] |
| 3 | 1.17 ms |
SELECT t0_.id AS id_0, t0_.type AS type_1, t0_.name AS name_2, t0_.alternative_name AS alternative_name_3, t0_.description AS description_4, t0_.used_count AS used_count_5, t0_.old_id AS old_id_6, t0_.enabled AS enabled_7, t0_.created_at AS created_at_8, t0_.updated_at AS updated_at_9, t0_.mac_brand AS mac_brand_10, t0_.mac_app AS mac_app_11, t0_.reference AS reference_12, t1_.id AS id_13, t1_.validator AS validator_14, t1_.attributes AS attributes_15, t2_.id AS id_16, t2_.old_id AS old_id_17, t2_.name AS name_18, t2_.alternative_name AS alternative_name_19, t2_.teaser AS teaser_20, t2_.description AS description_21, t2_.scope AS scope_22, t2_.processor AS processor_23, t2_.attributes AS attributes_24, t2_.priority AS priority_25, t2_.enabled AS enabled_26, t2_.created_at AS created_at_27, t2_.updated_at AS updated_at_28, t3_.id AS id_29, t3_.validator AS validator_30, t3_.attributes AS attributes_31, t1_.coupon_id AS coupon_id_32, t1_.generated_coupon_id AS generated_coupon_id_33, t1_.coupon_advantage_id AS coupon_advantage_id_34, t2_.coupon_id AS coupon_id_35, t3_.coupon_id AS coupon_id_36, t3_.generated_coupon_id AS generated_coupon_id_37, t3_.coupon_advantage_id AS coupon_advantage_id_38 FROM _shop_coupon t0_ LEFT JOIN _shop_constraint t1_ ON t0_.id = t1_.coupon_id AND (1) LEFT JOIN _shop_coupon_advantage t2_ ON t0_.id = t2_.coupon_id AND (1) LEFT JOIN _shop_constraint t3_ ON t2_.id = t3_.coupon_advantage_id AND (1) WHERE (t0_.enabled = ? AND t0_.type = ?) AND (t0_.mac_brand = 'FA' AND t0_.mac_app = 'fa') ORDER BY t0_.id DESC, t2_.priority DESC
Parameters:
[ 1 "forced" ] |
| 4 | 0.98 ms |
SELECT t0_.id AS id_0, t0_.type AS type_1, t0_.name AS name_2, t0_.alternative_name AS alternative_name_3, t0_.description AS description_4, t0_.used_count AS used_count_5, t0_.old_id AS old_id_6, t0_.enabled AS enabled_7, t0_.created_at AS created_at_8, t0_.updated_at AS updated_at_9, t0_.mac_brand AS mac_brand_10, t0_.mac_app AS mac_app_11, t0_.reference AS reference_12, t1_.id AS id_13, t1_.validator AS validator_14, t1_.attributes AS attributes_15, t2_.id AS id_16, t2_.old_id AS old_id_17, t2_.name AS name_18, t2_.alternative_name AS alternative_name_19, t2_.teaser AS teaser_20, t2_.description AS description_21, t2_.scope AS scope_22, t2_.processor AS processor_23, t2_.attributes AS attributes_24, t2_.priority AS priority_25, t2_.enabled AS enabled_26, t2_.created_at AS created_at_27, t2_.updated_at AS updated_at_28, t3_.id AS id_29, t3_.validator AS validator_30, t3_.attributes AS attributes_31, t1_.coupon_id AS coupon_id_32, t1_.generated_coupon_id AS generated_coupon_id_33, t1_.coupon_advantage_id AS coupon_advantage_id_34, t2_.coupon_id AS coupon_id_35, t3_.coupon_id AS coupon_id_36, t3_.generated_coupon_id AS generated_coupon_id_37, t3_.coupon_advantage_id AS coupon_advantage_id_38 FROM _shop_coupon t0_ LEFT JOIN _shop_constraint t1_ ON t0_.id = t1_.coupon_id AND (1) LEFT JOIN _shop_coupon_advantage t2_ ON t0_.id = t2_.coupon_id AND (1) LEFT JOIN _shop_constraint t3_ ON t2_.id = t3_.coupon_advantage_id AND (1) WHERE (t0_.enabled = ? AND t0_.type = ?) AND (t0_.mac_brand = 'FA' AND t0_.mac_app = 'fa') ORDER BY t2_.priority DESC
Parameters:
[ 1 "emergency" ] |
| 5 | 0.82 ms |
SELECT d0_.id AS id_0, d0_.title AS title_1, d0_.description AS description_2, d0_.price AS price_3, d0_.position AS position_4, d0_.delay AS delay_5, d0_.enabled AS enabled_6, d0_.`default` AS default_7, d0_.free_delivery_threshold AS free_delivery_threshold_8, d0_.mac_brand AS mac_brand_9, d0_.mac_app AS mac_app_10, d0_.reference AS reference_11, d0_.vat_type_id AS vat_type_id_12 FROM delivery d0_ INNER JOIN delivery_country d2_ ON d0_.id = d2_.delivery_id INNER JOIN _country t1_ ON t1_.id = d2_.country_id AND (1) WHERE (d0_.`default` = 1 AND t1_.id = ?) AND (d0_.mac_brand = 'FA' AND d0_.mac_app = 'fa') ORDER BY d0_.position ASC LIMIT 1
Parameters:
[
"fr"
]
|
| 6 | 0.51 ms |
SELECT t0_.name AS name_0, t0_.value AS value_1 FROM _parameter t0_ WHERE (t0_.mac_brand = 'FA' AND t0_.mac_app = 'fa')
Parameters:
[] |
| 7 | 0.67 ms |
SELECT t0_.id AS id_0, t0_.original_route AS original_route_1, t0_.from_url AS from_url_2, t0_.to_url AS to_url_3, t0_.type AS type_4 FROM _route t0_ WHERE (t0_.to_url = ? AND t0_.enabled = 1 AND t0_.type = ?) AND (t0_.mac_brand = 'FA' AND t0_.mac_app = 'fa') LIMIT 1
Parameters:
[ "http://www.stores-faber.fr/_profiler/open" "forward" ] |
| 8 | 0.58 ms |
SELECT t0_.id AS id_0, t0_.original_route AS original_route_1, t0_.from_url AS from_url_2, t0_.to_url AS to_url_3, t0_.type AS type_4 FROM _route t0_ WHERE (t0_.to_url = ? AND t0_.enabled = 1 AND t0_.type = ?) AND (t0_.mac_brand = 'FA' AND t0_.mac_app = 'fa') LIMIT 1
Parameters:
[ "/_profiler/open" "forward" ] |
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 |
|---|---|
| Mac\CoreBundle\Entity\Core\Route | No errors. |
| Mac\CoreBundle\Entity\QB\Query | No errors. |
| Mac\CoreBundle\Entity\Shop\Coupon | No errors. |
| Mac\CoreBundle\Entity\Shop\Constraint | No errors. |
| Mac\CoreBundle\Entity\Shop\CouponAdvantage | No errors. |
| Mac\CoreBundle\Entity\Shop\GeneratedCoupon | No errors. |
| Mac\CoreBundle\Entity\Shop\Delivery | No errors. |
| Mac\CoreBundle\Entity\Core\Country | No errors. |
| Mac\CoreBundle\Entity\Shop\VatType | No errors. |
| Mac\CoreBundle\Entity\Core\Parameter | No errors. |