GET http://51.83.79.128:8005/competition/index

Query Metrics

25 Database Queries
4 Different statements
20.11 ms Query time
0 Invalid entities
23 Managed entities

Queries

Group similar statements

# Time Info
1 15.83 ms
SELECT co.id, co.name, co.start_date, co.end_date, ci.name AS name_city, cou.name AS name_country, ps.id AS id_pool_size, ps.size, ps.metric, ct.id AS id_competition_type, ct.name AS name_competition_type, cd.id AS id_competition_discipline, cd.name AS name_competition_discipline, co.type_distribution, GROUP_CONCAT(sra.id SEPARATOR '-') AS id_races FROM competition co INNER JOIN city ci ON (co.city_id = ci.id) LEFT JOIN country cou ON (ci.country_id = cou.id) INNER JOIN pool_size ps ON (co.pool_size_id = ps.id) INNER JOIN competition_type ct ON (co.competition_type_id = ct.id) INNER JOIN competition_discipline cd ON (co.competition_discipline_id = cd.id) INNER JOIN (SELECT DISTINCT re.competition_id, ra.id FROM result re, race_gender rg, race ra WHERE re.race_gender_id = rg.id AND rg.race_id = ra.id) sra ON (sra.competition_id = co.id) GROUP BY co.id, co.name, co.start_date, co.end_date, ci.name, cou.name, ps.id, ps.size, ps.metric, ct.id, ct.name, cd.id, cd.name
Parameters:
[]
2 0.27 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "5"
]
3 0.21 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.order_display AS order_display_4 FROM stroke t0 WHERE t0.id = ?
Parameters:
[
  1
]
4 0.19 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "6"
]
5 0.19 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "32"
]
6 0.20 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "12"
]
7 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.order_display AS order_display_4 FROM stroke t0 WHERE t0.id = ?
Parameters:
[
  2
]
8 0.17 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "13"
]
9 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "14"
]
10 0.17 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "16"
]
11 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.order_display AS order_display_4 FROM stroke t0 WHERE t0.id = ?
Parameters:
[
  3
]
12 0.15 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "17"
]
13 0.19 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "18"
]
14 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "20"
]
15 0.17 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.order_display AS order_display_4 FROM stroke t0 WHERE t0.id = ?
Parameters:
[
  4
]
16 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "21"
]
17 0.18 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "22"
]
18 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "24"
]
19 0.14 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.order_display AS order_display_4 FROM stroke t0 WHERE t0.id = ?
Parameters:
[
  5
]
20 0.15 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "25"
]
21 0.15 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "2"
]
22 0.15 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "3"
]
23 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "51"
]
24 0.17 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.name_ffn AS name_ffn_4, t0.distance AS distance_5, t0.order_display AS order_display_6, t0.relay AS relay_7, t0.used AS used_8, t0.stroke_id AS stroke_id_9 FROM race t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "4"
]
25 0.33 ms
SELECT c0_.id AS id_0, c0_.name AS name_1, c1_.id AS id_2, c1_.name AS name_3, COUNT(c2_.id) AS sclr_4 FROM competition c2_ INNER JOIN competition_type c0_ ON c2_.competition_type_id = c0_.id INNER JOIN competition_discipline c1_ ON c2_.competition_discipline_id = c1_.id GROUP BY c0_.id, c0_.name, c1_.id, c1_.name ORDER BY c1_.id ASC, c0_.id ASC
Parameters:
[]

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\Race 18
App\Entity\Stroke 5

Entities Mapping