Query Metrics

4 Database Queries
4 Different statements
8.62 ms Query time
0 Invalid entities
1 Managed entities

Queries

Group similar statements

#▲ Time Info
1 0.58 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.username AS username_5, t0.currency AS currency_6, t0.recent_requests AS recent_requests_7, t0.recent_materials AS recent_materials_8, t0.recent_routings AS recent_routings_9 FROM user t0 WHERE t0.id = ?
Parameters:
[
  1
]
2 6.21 ms
SELECT COUNT(m0_.id) AS sclr_0 FROM matiere_premiere m0_ WHERE m0_.refinterne <> ? AND m0_.checknotif <> ?
Parameters:
[
  "-"
  1
]
3 0.62 ms
SELECT m0_.id AS id_0, m0_.refinterne AS refinterne_1, m0_.titre AS titre_2, m0_.pint AS pint_3, m0_.proctype AS proctype_4, m0_.mtyp AS mtyp_5, m0_.inforec AS inforec_6, m0_.prixref AS prixref_7, m0_.bomusage AS bomusage_8, m0_.crcy AS crcy_9, m0_.bomunit AS bomunit_10, m0_.updatedon AS updatedon_11 FROM matiere_premiere m0_ WHERE m0_.refinterne <> ? AND m0_.checknotif <> ? ORDER BY m0_.refinterne ASC LIMIT 30
Parameters:
[
  "-"
  1
]
4 1.22 ms
SELECT
                         p1.matierepremiere_id AS mat_id,
                         p1.price             AS lastPrice,
                         p2.price             AS prevPrice,
                         p2.currency          AS prevCurrency
                     FROM matiere_premiere_price p1
                     LEFT JOIN matiere_premiere_price p2
                         ON  p2.matierepremiere_id = p1.matierepremiere_id
                         AND p2.id = (
                             SELECT MAX(id) FROM matiere_premiere_price
                             WHERE matierepremiere_id = p1.matierepremiere_id
                             AND id < p1.id
                         )
                     WHERE p1.id IN (
                         SELECT MAX(id) FROM matiere_premiere_price
                         WHERE matierepremiere_id IN (36630,36631,36632,36633,36634,36635,36636,36637,36638,36639,36640,36641,36642,36643,36644,36645,36646,36647,36648,36649,36650,36651,36652,36653,36654,36655,36656,36657,36658,36659)
                         GROUP BY matierepremiere_id
                     )
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 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\Cotation No errors.
App\Entity\MatierePremiere No errors.