GET https://devel2.bowlres.se/division/18/standings?round=17

Query Metrics

9 Database Queries
9 Different statements
5.62 ms Query time
0 Invalid entities
4 Managed entities

Queries

Group similar statements

# Time Info
1 0.42 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.rounds AS rounds_3, t0.games AS games_4, t0.points_win_high_pinfall AS points_win_high_pinfall_5, t0.points_win_equal_pinfall AS points_win_equal_pinfall_6, t0.points_win_low_pinfall AS points_win_low_pinfall_7, t0.points_draw_high_pinfall AS points_draw_high_pinfall_8, t0.points_draw_equal_pinfall AS points_draw_equal_pinfall_9, t0.points_draw_low_pinfall AS points_draw_low_pinfall_10, t0.points_loss_high_pinfall AS points_loss_high_pinfall_11, t0.points_loss_equal_pinfall AS points_loss_equal_pinfall_12, t0.points_loss_low_pinfall AS points_loss_low_pinfall_13, t0.match_type AS match_type_14, t0.league_id AS league_id_15 FROM division t0 WHERE t0.id = ?
Parameters:
[
  "18"
]
2 0.71 ms
SELECT MAX(l0_.round) AS sclr_0 FROM league_match_team l1_ INNER JOIN league_match l0_ ON l1_.league_match_id = l0_.id WHERE l0_.division_id = ?
Parameters:
[
  18
]
3 0.79 ms
SELECT MAX(l0_.round) AS sclr_0 FROM league_match_team l1_ INNER JOIN league_match l0_ ON l1_.league_match_id = l0_.id WHERE l0_.division_id = ? AND l1_.points > 0
Parameters:
[
  18
]
4 0.48 ms
SELECT MIN(l0_.datetime) AS sclr_0 FROM league_match_team l1_ INNER JOIN league_match l0_ ON l1_.league_match_id = l0_.id WHERE l0_.division_id = ? AND l0_.round = ?
Parameters:
[
  18
  16
]
5 1.17 ms
SELECT l0_.team_id AS sclr_0, t1_.name AS name_1, l0_.league_match_id AS sclr_2, l0_.points AS points_3, l0_.pinfall AS pinfall_4 FROM league_match_team l0_ INNER JOIN team t1_ ON l0_.team_id = t1_.id INNER JOIN league_match l2_ ON l0_.league_match_id = l2_.id WHERE l2_.division_id = ? AND l2_.round <= ?
Parameters:
[
  18
  17
]
6 0.60 ms
SELECT l0_.id AS id_0, l0_.datetime AS datetime_1, t1_.name AS name_2, l2_.points AS points_3, l2_.pinfall AS pinfall_4 FROM league_match_team l2_ INNER JOIN league_match l0_ ON l2_.league_match_id = l0_.id INNER JOIN team t1_ ON l2_.team_id = t1_.id WHERE l0_.division_id = ? AND l0_.round = ? ORDER BY l0_.datetime ASC, l0_.id ASC, l2_.ordering ASC
Parameters:
[
  18
  17
]
7 0.87 ms
SELECT l0_.team_id AS sclr_0, p1_.firstname AS firstname_1, p1_.lastname AS lastname_2, l2_.scores AS scores_3 FROM league_match_participant l2_ INNER JOIN league_match_team l0_ ON l2_.league_match_team_id = l0_.id INNER JOIN league_match l3_ ON l0_.league_match_id = l3_.id INNER JOIN player p1_ ON l2_.player_id = p1_.id WHERE l3_.division_id = ? AND l3_.round <= ?
Parameters:
[
  18
  17
]
8 0.29 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.default_alley_id AS default_alley_id_3 FROM league t0 WHERE t0.id = ?
Parameters:
[
  11
]
9 0.28 ms
SELECT t0.id AS id_1, t0.username AS username_2, t0.email AS email_3, t0.roles AS roles_4, t0.password AS password_5 FROM `user` t0 WHERE t0.id = ?
Parameters:
[
  5
]

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\Division 1
App\Entity\League 1
App\Entity\Alley 1
App\Entity\User 1

Entities Mapping

Class Mapping errors
App\Entity\Division No errors.
App\Entity\League No errors.
App\Entity\Player No errors.
App\Entity\Team No errors.
App\Entity\LeagueMatch No errors.
App\Entity\LeagueMatchTeam No errors.
App\Entity\LeagueMatchParticipant No errors.
App\Entity\Alley No errors.
App\Entity\User No errors.