Query Metrics
12
Database Queries
6
Different statements
3.27 ms
Query time
0
Invalid entities
21
Managed entities
Queries
#▲ | Time | Info |
---|---|---|
1 | 0.65 ms |
SELECT count(DISTINCT u0_.id) AS sclr_0 FROM `user` u0_ INNER JOIN league_user l1_ ON u0_.id = l1_.user_id INNER JOIN league l2_ ON l1_.league_id = l2_.id WHERE l2_.status = ? AND u0_.enabled = ?
Parameters:
[ "IN_PROGRESS" 1 ] |
2 | 0.28 ms |
SELECT DISTINCT u0_.id AS id_0, u0_.elo AS elo_1 FROM `user` u0_ INNER JOIN league_user l1_ ON u0_.id = l1_.user_id INNER JOIN league l2_ ON l1_.league_id = l2_.id WHERE l2_.status = ? AND u0_.enabled = ? ORDER BY u0_.elo DESC LIMIT 25
Parameters:
[ "IN_PROGRESS" 1 ] |
3 | 0.67 ms |
SELECT u0_.id AS id_0, u0_.email AS email_1, u0_.user_role AS user_role_2, u0_.password AS password_3, u0_.time_last_login AS time_last_login_4, u0_.enabled AS enabled_5, u0_.first_name AS first_name_6, u0_.last_name AS last_name_7, u0_.image AS image_8, u0_.original_image_name AS original_image_name_9, u0_.reset_password_token AS reset_password_token_10, u0_.elo AS elo_11, u0_.games_played AS games_played_12, u0_.reset_password_token_time_created AS reset_password_token_time_created_13, u0_.reset_password_token_time_expires AS reset_password_token_time_expires_14, u0_.time_password_last_changed AS time_password_last_changed_15, u0_.last_game_played_time AS last_game_played_time_16 FROM `user` u0_ INNER JOIN league_user l1_ ON u0_.id = l1_.user_id INNER JOIN league l2_ ON l1_.league_id = l2_.id WHERE l2_.status = ? AND u0_.enabled = ? AND u0_.id IN (?, ?, ?, ?) ORDER BY u0_.elo DESC
Parameters:
[ "IN_PROGRESS" 1 3 4 5 2 ] |
4 | 0.34 ms |
SELECT t0.name AS name_1, t0.value AS value_2 FROM setting t0 WHERE t0.name = ?
Parameters:
[
"POOLNAMENT_LOGO"
]
|
5 | 0.12 ms |
SELECT t0.name AS name_1, t0.value AS value_2 FROM setting t0 WHERE t0.name = ?
Parameters:
[
"POOLNAMENT_LOGO_TEXT"
]
|
6 | 0.34 ms |
SELECT t0.is_league_manager AS is_league_manager_1, t0.league_id AS league_id_2, t0.user_id AS user_id_3 FROM league_user t0 WHERE t0.user_id = ?
Parameters:
[
3
]
|
7 | 0.14 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.min_players_to_count_into_stats AS min_players_to_count_into_stats_3, t0.status AS status_4 FROM league t0 WHERE t0.id = ?
Parameters:
[
1
]
|
8 | 0.16 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.min_players_to_count_into_stats AS min_players_to_count_into_stats_3, t0.status AS status_4 FROM league t0 WHERE t0.id = ?
Parameters:
[
2
]
|
9 | 0.12 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.min_players_to_count_into_stats AS min_players_to_count_into_stats_3, t0.status AS status_4 FROM league t0 WHERE t0.id = ?
Parameters:
[
3
]
|
10 | 0.15 ms |
SELECT t0.is_league_manager AS is_league_manager_1, t0.league_id AS league_id_2, t0.user_id AS user_id_3 FROM league_user t0 WHERE t0.user_id = ?
Parameters:
[
4
]
|
11 | 0.15 ms |
SELECT t0.is_league_manager AS is_league_manager_1, t0.league_id AS league_id_2, t0.user_id AS user_id_3 FROM league_user t0 WHERE t0.user_id = ?
Parameters:
[
5
]
|
12 | 0.14 ms |
SELECT t0.is_league_manager AS is_league_manager_1, t0.league_id AS league_id_2, t0.user_id AS user_id_3 FROM league_user t0 WHERE t0.user_id = ?
Parameters:
[
2
]
|
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\LeagueUser | 12 |
App\Entity\User | 4 |
App\Entity\League | 3 |
App\Entity\Setting | 2 |
Entities Mapping
Class | Mapping errors |
---|---|
App\Entity\User | No errors. |
App\Entity\LeagueUser | No errors. |
App\Entity\League | No errors. |
App\Entity\Setting | No errors. |
App\Entity\AbstractTournament | No errors. |
App\Entity\Tournament | No errors. |