Query Metrics

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

Grouped Statements

Show all queries

default connection

Time Count Info
1.53 ms
(45.45%)
1
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:
[]
0.51 ms
(15.26%)
1
SELECT c0_.id AS id_0 FROM constructions c0_
Parameters:
[]
0.48 ms
(14.23%)
1
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
]
0.45 ms
(13.42%)
1
SELECT t0.id AS id_1, t0.name AS name_2 FROM constructions t0
Parameters:
[]
0.39 ms
(11.64%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.construction_id AS construction_id_3 FROM construction_types t0
Parameters:
[]

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