Query Metrics

5 Database Queries
5 Different statements
4.76 ms Query time
0 Invalid entities

Queries

Group similar statements

default connection

# Time Info
1 0.86 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM constructions t0
Parameters:
[]
2 0.55 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.construction_id AS construction_id_3 FROM construction_types t0
Parameters:
[]
3 0.66 ms
SELECT c0_.id AS id_0 FROM constructions c0_
Parameters:
[]
4 2.00 ms
SELECT
                        c.id AS construction_id,
                        c.name AS construction_name,
                        ct.id AS type_id,
                        ct.name AS type_name,
                        ce.id AS element_id,
                        ce.code AS element_code,
                        ce.name AS element_name,
                        ce.count_requests AS count_requests
                    FROM constructions c
                    LEFT JOIN construction_types ct ON (ct.construction_id = c.id)
                    LEFT JOIN construction_elements ce ON (ce.construction_type_id = ct.id )
                    WHERE construction_type_id IN (
                        SELECT ct.id FROM construction_types ct WHERE construction_id = 1
                    )
                    ORDER BY count_requests DESC LIMIT 2
Parameters:
[]
5 0.69 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.construction_id AS construction_id_3 FROM construction_types t0 WHERE t0.construction_id = ?
Parameters:
[
  1
]

Database Connections

Name Service
default doctrine.dbal.default_connection
user doctrine.dbal.user_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager
user doctrine.orm.user_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping