Query Metrics
14
Database Queries
9
Different statements
43.77 ms
Query time
8
Invalid entities
Grouped Statements
default connection
Time▼ | Count | Info |
---|---|---|
19.91 ms (45.48%) |
1 |
SELECT count(DISTINCT c0_.id) AS sclr_0 FROM customer c0_ LEFT JOIN `order` o1_ ON c0_.id = o1_.customer_id AND (o1_.deleted_at IS NULL) LEFT JOIN document d2_ ON o1_.id = d2_.id LEFT JOIN order_item o3_ ON o1_.id = o3_.parent_order_id LEFT JOIN stock s4_ ON o3_.id = s4_.id WHERE ((LOWER(c0_.description) LIKE ? OR LOWER(c0_.description) IN (?, ?) OR LOWER(c0_.email) LIKE ? OR LOWER(c0_.email) IN (?, ?) OR LOWER(c0_.first_name) LIKE ? OR LOWER(c0_.first_name) IN (?, ?) OR LOWER(c0_.last_name) LIKE ? OR LOWER(c0_.last_name) IN (?, ?) OR LOWER(c0_.address) LIKE ? OR LOWER(c0_.address) IN (?, ?) OR LOWER(c0_.city) LIKE ? OR LOWER(c0_.city) IN (?, ?) OR LOWER(c0_.phone) LIKE ? OR LOWER(c0_.phone) IN (?, ?) OR LOWER(c0_.company_name) LIKE ? OR LOWER(c0_.company_name) IN (?, ?) OR LOWER(c0_.address_indication) LIKE ? OR LOWER(c0_.address_indication) IN (?, ?) OR LOWER(c0_.country) LIKE ? OR LOWER(c0_.country) IN (?, ?) OR LOWER(c0_.post_code) LIKE ? OR LOWER(c0_.post_code) IN (?, ?) OR LOWER(c0_.gender) LIKE ? OR LOWER(c0_.gender) IN (?, ?) OR LOWER(c0_.sponsorship_code) LIKE ? OR LOWER(c0_.sponsorship_code) IN (?, ?) OR LOWER(c0_.image) LIKE ? OR LOWER(c0_.image) IN (?, ?) OR LOWER(c0_.blind_password) LIKE ? OR LOWER(c0_.blind_password) IN (?, ?) OR LOWER(c0_.collect_address) LIKE ? OR LOWER(c0_.collect_address) IN (?, ?) OR LOWER(c0_.shipping_address) LIKE ? OR LOWER(c0_.shipping_address) IN (?, ?) OR LOWER(c0_.collect_lat) LIKE ? OR LOWER(c0_.collect_lat) IN (?, ?) OR LOWER(c0_.collect_lng) LIKE ? OR LOWER(c0_.collect_lng) IN (?, ?) OR LOWER(c0_.shipping_lng) LIKE ? OR LOWER(c0_.shipping_lng) IN (?, ?) OR LOWER(c0_.code) LIKE ? OR LOWER(c0_.code) IN (?, ?) OR LOWER(c0_.reference) LIKE ? OR LOWER(c0_.reference) IN (?, ?) OR LOWER(c0_.identity_number) LIKE ? OR LOWER(c0_.identity_number) IN (?, ?)) AND o3_.id IS NOT NULL) AND (c0_.deleted_at IS NULL)
Parameters:
[ "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" ] |
9.50 ms (21.70%) |
1 |
SELECT DISTINCT c0_.id AS id_0, c0_.created_at AS created_at_1 FROM customer c0_ LEFT JOIN `order` o1_ ON c0_.id = o1_.customer_id AND (o1_.deleted_at IS NULL) LEFT JOIN document d2_ ON o1_.id = d2_.id LEFT JOIN order_item o3_ ON o1_.id = o3_.parent_order_id LEFT JOIN stock s4_ ON o3_.id = s4_.id WHERE ((LOWER(c0_.description) LIKE ? OR LOWER(c0_.description) IN (?, ?) OR LOWER(c0_.email) LIKE ? OR LOWER(c0_.email) IN (?, ?) OR LOWER(c0_.first_name) LIKE ? OR LOWER(c0_.first_name) IN (?, ?) OR LOWER(c0_.last_name) LIKE ? OR LOWER(c0_.last_name) IN (?, ?) OR LOWER(c0_.address) LIKE ? OR LOWER(c0_.address) IN (?, ?) OR LOWER(c0_.city) LIKE ? OR LOWER(c0_.city) IN (?, ?) OR LOWER(c0_.phone) LIKE ? OR LOWER(c0_.phone) IN (?, ?) OR LOWER(c0_.company_name) LIKE ? OR LOWER(c0_.company_name) IN (?, ?) OR LOWER(c0_.address_indication) LIKE ? OR LOWER(c0_.address_indication) IN (?, ?) OR LOWER(c0_.country) LIKE ? OR LOWER(c0_.country) IN (?, ?) OR LOWER(c0_.post_code) LIKE ? OR LOWER(c0_.post_code) IN (?, ?) OR LOWER(c0_.gender) LIKE ? OR LOWER(c0_.gender) IN (?, ?) OR LOWER(c0_.sponsorship_code) LIKE ? OR LOWER(c0_.sponsorship_code) IN (?, ?) OR LOWER(c0_.image) LIKE ? OR LOWER(c0_.image) IN (?, ?) OR LOWER(c0_.blind_password) LIKE ? OR LOWER(c0_.blind_password) IN (?, ?) OR LOWER(c0_.collect_address) LIKE ? OR LOWER(c0_.collect_address) IN (?, ?) OR LOWER(c0_.shipping_address) LIKE ? OR LOWER(c0_.shipping_address) IN (?, ?) OR LOWER(c0_.collect_lat) LIKE ? OR LOWER(c0_.collect_lat) IN (?, ?) OR LOWER(c0_.collect_lng) LIKE ? OR LOWER(c0_.collect_lng) IN (?, ?) OR LOWER(c0_.shipping_lng) LIKE ? OR LOWER(c0_.shipping_lng) IN (?, ?) OR LOWER(c0_.code) LIKE ? OR LOWER(c0_.code) IN (?, ?) OR LOWER(c0_.reference) LIKE ? OR LOWER(c0_.reference) IN (?, ?) OR LOWER(c0_.identity_number) LIKE ? OR LOWER(c0_.identity_number) IN (?, ?)) AND o3_.id IS NOT NULL) AND (c0_.deleted_at IS NULL) ORDER BY c0_.created_at DESC LIMIT 10
Parameters:
[ "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" ] |
4.24 ms (9.69%) |
2 |
SELECT t0.id AS id_1, t0.is_monday AS is_monday_2, t0.is_tuesday AS is_tuesday_3, t0.is_wednesday AS is_wednesday_4, t0.is_thursday AS is_thursday_5, t0.is_friday AS is_friday_6, t0.is_saturday AS is_saturday_7, t0.is_sunday AS is_sunday_8, t0.start_work_at AS start_work_at_9, t0.end_work_at AS end_work_at_10, t0.exclude_days AS exclude_days_11, t0.exclude_dates AS exclude_dates_12, t0.exclude_hours AS exclude_hours_13, t0.logo AS logo_14, t0.logo_base64 AS logo_base64_15, t0.favicon AS favicon_16, t0.email AS email_17, t0.address AS address_18, t0.currency AS currency_19, t0.default_lang AS default_lang_20, t0.project_name AS project_name_21, t0.code AS code_22, t0.asset_folder_name AS asset_folder_name_23, t0.mail_order_created_body AS mail_order_created_body_24, t0.mail_order_created_title AS mail_order_created_title_25, t0.prefix_order AS prefix_order_26, t0.root_url AS root_url_27, t0.description AS description_28, t0.is_mercure_enabled AS is_mercure_enabled_29, t0.front_theme_id AS front_theme_id_30 FROM settings t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
"main"
]
|
3.57 ms (8.17%) |
3 |
SELECT t0.id AS id_2, t0.created_at AS created_at_3, t0.description AS description_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.company_name AS company_name_7, t0.address AS address_8, t0.city AS city_9, t0.country AS country_10, t0.department AS department_11, t0.postcode AS postcode_12, t0.email AS email_13, t0.tel AS tel_14, t0.comment AS comment_15, t0.status AS status_16, t0.source AS source_17, t0.delivery_at AS delivery_at_18, t0.recovery_at AS recovery_at_19, t0.old_order_number AS old_order_number_20, t0.reduction AS reduction_21, t0.distance AS distance_22, t0.payed_amount AS payed_amount_23, t0.start_processing_at AS start_processing_at_24, t0.delivery_type AS delivery_type_25, t0.start_delivery_at AS start_delivery_at_26, t0.is_to_do AS is_to_do_27, t0.collect_address AS collect_address_28, t0.shipping_address AS shipping_address_29, t0.collect_tel AS collect_tel_30, t0.is_heavy AS is_heavy_31, t0.shipping_tips AS shipping_tips_32, t0.wallet_payment_amount AS wallet_payment_amount_33, t0.is_checked AS is_checked_34, t0.token_stripe AS token_stripe_35, t0.order_type AS order_type_36, t0.deleted_at AS deleted_at_37, t0.created_by AS created_by_38, t0.reference AS reference_39, t0.customer_id AS customer_id_40, t0.demande_fund_id AS demande_fund_id_41, t0.shipping_method_id AS shipping_method_id_42, t0.agent_id AS agent_id_43, t0.payment_method_id AS payment_method_id_44, t0.coupon_id AS coupon_id_45, t0.agent_to_do_id AS agent_to_do_id_46, t0.city_region_shipping_id AS city_region_shipping_id_47, t0.city_region_collect_id AS city_region_collect_id_48, t0.vendor_id AS vendor_id_49, t0.store_id AS store_id_50, t0.shipment_id AS shipment_id_51, t0.invoice_id AS invoice_id_52, t0.cash_box_order_id AS cash_box_order_id_53, t0.dtype, t1.type AS type_54 FROM `order` t0 LEFT JOIN document t1 ON t0.id = t1.id WHERE t0.customer_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
6081
]
|
3.29 ms (7.52%) |
1 |
SELECT c0_.id AS id_0, c0_.description AS description_1, c0_.email AS email_2, c0_.created_at AS created_at_3, c0_.first_name AS first_name_4, c0_.last_name AS last_name_5, c0_.address AS address_6, c0_.city AS city_7, c0_.phone AS phone_8, c0_.company_name AS company_name_9, c0_.address_indication AS address_indication_10, c0_.country AS country_11, c0_.post_code AS post_code_12, c0_.gender AS gender_13, c0_.date_of_birth AS date_of_birth_14, c0_.sponsorship_code AS sponsorship_code_15, c0_.image AS image_16, c0_.can_receive_mails AS can_receive_mails_17, c0_.can_receive_sms AS can_receive_sms_18, c0_.blind_password AS blind_password_19, c0_.deleted_at AS deleted_at_20, c0_.collect_address AS collect_address_21, c0_.shipping_address AS shipping_address_22, c0_.collect_lat AS collect_lat_23, c0_.collect_lng AS collect_lng_24, c0_.shipping_lng AS shipping_lng_25, c0_.code AS code_26, c0_.reference AS reference_27, c0_.identity_number AS identity_number_28, c0_.is_actif AS is_actif_29, c0_.customer_group_id AS customer_group_id_30, c0_.user_id AS user_id_31, c0_.vendor_id AS vendor_id_32, c0_.city_region_id AS city_region_id_33, c0_.store_id AS store_id_34 FROM customer c0_ LEFT JOIN `order` o1_ ON c0_.id = o1_.customer_id AND (o1_.deleted_at IS NULL) LEFT JOIN document d2_ ON o1_.id = d2_.id LEFT JOIN order_item o3_ ON o1_.id = o3_.parent_order_id LEFT JOIN stock s4_ ON o3_.id = s4_.id WHERE ((LOWER(c0_.description) LIKE ? OR LOWER(c0_.description) IN (?, ?) OR LOWER(c0_.email) LIKE ? OR LOWER(c0_.email) IN (?, ?) OR LOWER(c0_.first_name) LIKE ? OR LOWER(c0_.first_name) IN (?, ?) OR LOWER(c0_.last_name) LIKE ? OR LOWER(c0_.last_name) IN (?, ?) OR LOWER(c0_.address) LIKE ? OR LOWER(c0_.address) IN (?, ?) OR LOWER(c0_.city) LIKE ? OR LOWER(c0_.city) IN (?, ?) OR LOWER(c0_.phone) LIKE ? OR LOWER(c0_.phone) IN (?, ?) OR LOWER(c0_.company_name) LIKE ? OR LOWER(c0_.company_name) IN (?, ?) OR LOWER(c0_.address_indication) LIKE ? OR LOWER(c0_.address_indication) IN (?, ?) OR LOWER(c0_.country) LIKE ? OR LOWER(c0_.country) IN (?, ?) OR LOWER(c0_.post_code) LIKE ? OR LOWER(c0_.post_code) IN (?, ?) OR LOWER(c0_.gender) LIKE ? OR LOWER(c0_.gender) IN (?, ?) OR LOWER(c0_.sponsorship_code) LIKE ? OR LOWER(c0_.sponsorship_code) IN (?, ?) OR LOWER(c0_.image) LIKE ? OR LOWER(c0_.image) IN (?, ?) OR LOWER(c0_.blind_password) LIKE ? OR LOWER(c0_.blind_password) IN (?, ?) OR LOWER(c0_.collect_address) LIKE ? OR LOWER(c0_.collect_address) IN (?, ?) OR LOWER(c0_.shipping_address) LIKE ? OR LOWER(c0_.shipping_address) IN (?, ?) OR LOWER(c0_.collect_lat) LIKE ? OR LOWER(c0_.collect_lat) IN (?, ?) OR LOWER(c0_.collect_lng) LIKE ? OR LOWER(c0_.collect_lng) IN (?, ?) OR LOWER(c0_.shipping_lng) LIKE ? OR LOWER(c0_.shipping_lng) IN (?, ?) OR LOWER(c0_.code) LIKE ? OR LOWER(c0_.code) IN (?, ?) OR LOWER(c0_.reference) LIKE ? OR LOWER(c0_.reference) IN (?, ?) OR LOWER(c0_.identity_number) LIKE ? OR LOWER(c0_.identity_number) IN (?, ?)) AND o3_.id IS NOT NULL AND c0_.id IN (?, ?, ?)) AND (c0_.deleted_at IS NULL) ORDER BY c0_.created_at DESC
Parameters:
[ "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" "%wijdane s%" "wijdane" "s" 6081 6045 6038 ] |
1.25 ms (2.86%) |
3 |
SELECT t0.id AS id_1, t0.start_at AS start_at_2, t0.end_at AS end_at_3, t0.user_id AS user_id_4 FROM session_history t0 WHERE t0.user_id = ? ORDER BY t0.id DESC LIMIT 1
Parameters:
[
6379
]
|
0.88 ms (2.01%) |
1 |
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.is_valid AS is_valid_5, t0.is_verified AS is_verified_6 FROM user t0 WHERE t0.id = ?
Parameters:
[
6379
]
|
0.68 ms (1.55%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3 FROM role t0 INNER JOIN role_user ON t0.id = role_user.role_id WHERE role_user.user_id = ?
Parameters:
[
6379
]
|
0.44 ms (1.01%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.image AS image_3, t0.created_at AS created_at_4, t0.email AS email_5, t0.description AS description_6, t0.is_valid AS is_valid_7, t0.full_name AS full_name_8, t0.tel AS tel_9, t0.address AS address_10, t0.city AS city_11, t0.ice AS ice_12, t0.rc AS rc_13, t0.simulate_username AS simulate_username_14, t0.simulate_password AS simulate_password_15, t0.cover_image AS cover_image_16, t0.path_rcimage AS path_rcimage_17, t0.path_ice_image AS path_ice_image_18, t0.path_ifimage AS path_ifimage_19, t0.identifiant_fiscale AS identifiant_fiscale_20, t0.user_id AS user_id_21 FROM vendor t0 WHERE t0.user_id = ? LIMIT 1
Parameters:
[
6379
]
|
Database Connections
Name | Service |
---|---|
default | doctrine.dbal.default_connection |
salle2 | doctrine.dbal.salle2_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\Flexy\ShopBundle\Entity\Vendor\Vendor | No errors. |
App\Entity\User | No errors. |
App\Entity\Role | No errors. |
App\Entity\SessionHistory | No errors. |
App\Flexy\ShopBundle\Entity\Customer\Customer | No errors. |
App\Flexy\ShopBundle\Entity\Order\Order |
|
App\Flexy\ShopBundle\Entity\Order\OrderItem | No errors. |
App\Flexy\StockBundle\Entity\Document |
|
App\Flexy\StockBundle\Entity\Stock | No errors. |
App\Flexy\ShopBundle\Entity\Customer\CustomerGroup | No errors. |
App\Flexy\ShopBundle\Entity\Shipping\CityRegion |
|
App\Flexy\ShopBundle\Entity\Store\Store |
|
App\Flexy\ShopBundle\Entity\Product\Comment | No errors. |
App\Flexy\ShopBundle\Entity\Customer\CustomerAddress | No errors. |
App\Flexy\ShopBundle\Entity\Customer\CustomerWalletPoint |
|
App\Flexy\ShopBundle\Entity\Customer\PackEngagement | No errors. |
App\Flexy\ShopBundle\Entity\Promotion\Coupon | No errors. |
App\Flexy\ShopBundle\Entity\Shipping\Shipment | No errors. |
App\Flexy\ShopBundle\Entity\Payment\BankBookItem | No errors. |
App\Flexy\ShopBundle\Entity\Shipping\CashOnDelivery | No errors. |
App\Flexy\ShopBundle\Entity\Product\ProductSubscription | No errors. |
App\Flexy\ShopBundle\Entity\Accounting\Invoice |
|
App\Flexy\ShopBundle\Entity\Customer\Complaint | No errors. |
App\Flexy\ShopBundle\Entity\Customer\Visit | No errors. |
App\Flexy\ShopBundle\Entity\Order\DemandeFund | No errors. |
App\Flexy\ShopBundle\Entity\Shipping\ShippingMethod | No errors. |
App\Flexy\ShopBundle\Entity\Resource\Agent |
|
App\Flexy\ShopBundle\Entity\Payment\PaymentMethod | No errors. |
App\Flexy\ShopBundle\Entity\Order\CashBoxOrder | No errors. |
App\Flexy\ShopBundle\Entity\Order\Adjustment | No errors. |
App\Flexy\ShopBundle\Entity\Payment\Payment | No errors. |
App\Flexy\ShopBundle\Entity\Product\Product |
|
App\Entity\Settings | No errors. |
App\Entity\FrontTheme | No errors. |