Query Metrics

4 Database Queries
4 Different statements
174.31 ms Query time
0 Invalid entities

Queries

Group similar statements

custom connection

# Time Info
1 0.33 ms
SELECT t0.id AS id_1, t0.token AS token_2, t0.user_id AS user_id_3 FROM api_token t0 WHERE t0.token = ? LIMIT 1
Parameters:
[
  "917ee1c4e21a9a1455e6ebb4bee14cb67cb41dbb7e0518c57f1b2bbc99ad8f4a"
]
2 0.17 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4 FROM user t0 WHERE t0.id = ?
Parameters:
[
  1
]

default connection

# Time Info
1 88.75 ms
SELECT AVG(l0_.dayahead) AS sclr_0, AVG(l0_.realtime_web) AS sclr_1, l0_.id AS id_2, l0_.date AS date_3, l0_.hour AS hour_4, l0_.intervals AS intervals_5, l0_.dayahead AS dayahead_6, l0_.realtime AS realtime_7, l0_.prelimhour AS prelimhour_8, l0_.prelimfive AS prelimfive_9, l0_.realtime_web AS realtime_web_10, l0_.peak AS peak_11, s1_.id AS id_12, s1_.name AS name_13, u2_.id AS id_14, u2_.type AS type_15, l0_.settlement_id AS settlement_id_16, l0_.type_id AS type_id_17, s1_.type_id AS type_id_18 FROM lmp l0_ INNER JOIN settlements s1_ ON l0_.settlement_id = s1_.id INNER JOIN unitzonal u2_ ON l0_.type_id = u2_.id WHERE l0_.id IN (SELECT l3_.id FROM lmp l3_ INNER JOIN settlements s4_ ON l3_.settlement_id = s4_.id WHERE l3_.date <= ? AND l3_.date >= ? AND s4_.id = ?) GROUP BY l0_.settlement_id ORDER BY l0_.id ASC LIMIT 50
Parameters:
[
  "2025-10-01"
  "2025-09-01"
  "4008"
]
2 85.07 ms
SELECT count(DISTINCT l0_.settlement_id) AS sclr_0 FROM lmp l0_ INNER JOIN settlements s1_ ON l0_.settlement_id = s1_.id INNER JOIN unitzonal u2_ ON l0_.type_id = u2_.id WHERE l0_.id IN (SELECT l3_.id FROM lmp l3_ INNER JOIN settlements s4_ ON l3_.settlement_id = s4_.id WHERE l3_.date <= ? AND l3_.date >= ? AND s4_.id = ?) GROUP BY l0_.settlement_id
Parameters:
[
  "2025-10-01"
  "2025-09-01"
  "4008"
]

Database Connections

Name Service
default doctrine.dbal.default_connection
custom doctrine.dbal.custom_connection

Entity Managers

Name Service
auto_generate_proxy_classes doctrine.orm.auto_generate_proxy_classes_entity_manager
auto_mapping doctrine.orm.auto_mapping_entity_manager
default doctrine.orm.default_entity_manager
custom doctrine.orm.custom_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

auto_generate_proxy_classes entity manager

No loaded entities.

auto_mapping entity manager

No loaded entities.

default entity manager

Class Mapping errors
App\Entity\Main\Lmp No errors.
App\Entity\Main\Settlements No errors.
App\Entity\Main\Unitzonal No errors.

custom entity manager

Class Mapping errors
App\Entity\Custom\ApiToken No errors.
App\Entity\Custom\User No errors.