Query Metrics

24 Database Queries
7 Different statements
7.22 ms Query time
1 Invalid entities
23 Managed entities

Grouped Statements

Show all queries

Time Count Info
2.22 ms
(30.75%)
1
SELECT DISTINCT u0_.id AS id_0, u0_.username AS username_1, u0_.roles AS roles_2, u0_.password AS password_3, u0_.enabled AS enabled_4, u0_.created_at AS created_at_5, u0_.updated_at AS updated_at_6, u0_.email_token AS email_token_7, u0_.is_password_set AS is_password_set_8, u0_.email_token_date AS email_token_date_9, p1_.id AS id_10, p1_.firstname AS firstname_11, p1_.lastname AS lastname_12, p1_.email AS email_13, p1_.phone AS phone_14, u0_.default_btob_territory_id AS default_btob_territory_id_15, u0_.default_btoc_territory_id AS default_btoc_territory_id_16, u0_.login_message_id AS login_message_id_17, p1_.user_id AS user_id_18, p1_.function_id AS function_id_19, p1_.address_id AS address_id_20 FROM `user` u0_ LEFT JOIN profile p1_ ON u0_.id = p1_.user_id WHERE LOWER(u0_.username) LIKE ? ORDER BY u0_.created_at DESC LIMIT 10
Parameters:
[
  "%nstein%"
]
1.59 ms
(22.04%)
9
SELECT t0.id AS id_1, t0.code AS code_2, t0.social_reason AS social_reason_3, t0.commercial_name AS commercial_name_4, t0.enabled AS enabled_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.subscribed AS subscribed_8, t0.subscription AS subscription_9, t0.license_siv AS license_siv_10, t0.subscription_type AS subscription_type_11, t0.phone AS phone_12, t0.network_id AS network_id_13, t14.id AS id_15, t14.code AS code_16, t14.name AS name_17, t14.description AS description_18, t14.enabled AS enabled_19, t14.logo AS logo_20, t14.gocad_id AS gocad_id_21, t14.gocad_server_id AS gocad_server_id_22, t14.db_sources AS db_sources_23, t14.conditions_generales AS conditions_generales_24, t14.devis_payment_mode AS devis_payment_mode_25, t14.devis_legal_payment_mention AS devis_legal_payment_mention_26, t14.devis_bottom_page AS devis_bottom_page_27, t14.reduction AS reduction_28, t14.devis_code AS devis_code_29, t14.free_fiche AS free_fiche_30, t14.default_subscription_price_id AS default_subscription_price_id_31, t14.type_id AS type_id_32, t14.billing_information_id AS billing_information_id_33, t14.subscription_price_id AS subscription_price_id_34, t0.subscription_price_id AS subscription_price_id_35, t0.alternative_billing_information_id AS alternative_billing_information_id_36, t0.split_id AS split_id_37, t0.type_id AS type_id_38 FROM sale_ref t0 INNER JOIN network t14 ON t0.network_id = t14.id INNER JOIN user_sale_ref ON t0.id = user_sale_ref.sale_ref_id WHERE user_sale_ref.user_id = ?
Parameters:
[
  b"\x01œœ3!¡~žŽ•aŠm?[Š"
]
1.20 ms
(16.62%)
9
SELECT t0.id AS id_1, t0.date AS date_2, t0.user_id AS user_id_3 FROM user_connections t0 WHERE t0.user_id = ?
Parameters:
[
  b"\x01œœ3!¡~žŽ•aŠm?[Š"
]
1.11 ms
(15.37%)
1
SELECT DISTINCT COUNT(DISTINCT u0_.id) AS sclr_0 FROM `user` u0_ LEFT JOIN profile p1_ ON u0_.id = p1_.user_id WHERE LOWER(u0_.username) LIKE ?
Parameters:
[
  "%nstein%"
]
0.60 ms
(8.32%)
2
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.value AS value_2, s0_.description AS description_3 FROM system_setting s0_ WHERE s0_.name = ?
Parameters:
[
  "api.gocad.username"
]
0.25 ms
(3.53%)
1
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.enabled AS enabled_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.email_token AS email_token_8, t0.is_password_set AS is_password_set_9, t0.email_token_date AS email_token_date_10, t11.id AS id_12, t11.firstname AS firstname_13, t11.lastname AS lastname_14, t11.email AS email_15, t11.phone AS phone_16, t11.user_id AS user_id_17, t11.function_id AS function_id_18, t11.address_id AS address_id_19, t0.default_btob_territory_id AS default_btob_territory_id_20, t0.default_btoc_territory_id AS default_btoc_territory_id_21, t0.login_message_id AS login_message_id_22 FROM `user` t0 LEFT JOIN profile t11 ON t11.user_id = t0.id WHERE t0.id = ?
Parameters:
[
  b"\x01œœ'-Ïzˆ¹è\x17؉\x10µú"
]
0.24 ms
(3.36%)
1
SELECT COUNT(u0_.id) AS sclr_0 FROM `user` u0_
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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\User 10
App\Entity\Profile 10
App\Entity\SystemSetting 2
App\Entity\Address 1

Entities Mapping

Class Mapping errors
App\Entity\SystemSetting No errors.
App\Entity\User
  • The association App\Entity\User#loginMessage refers to the inverse side field App\Entity\LoginMessage#viewedUsers which does not exist.
App\Entity\Profile No errors.
App\Entity\Referential No errors.
App\Entity\RefProfileFunction No errors.
App\Entity\Address No errors.
App\Entity\Territory No errors.
App\Entity\LoginMessage No errors.
App\Entity\SaleRef No errors.
App\Entity\UserConnections No errors.
App\Entity\Network No errors.
App\Entity\Price No errors.
App\Entity\RefNetworkType No errors.
App\Entity\BillingInformation No errors.
App\Entity\RefMapType No errors.
App\Entity\RefSaleRefType No errors.