Query Metrics
6
Database Queries
5
Different statements
3.07 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
0.77 ms (25.13%) |
1 |
SELECT SUBSTRING(h0_.created_at FROM 1 FOR 10) AS sclr_0, COUNT(h0_.id) AS sclr_1 FROM hostess_check_in h0_ WHERE h0_.congress_id = ? GROUP BY sclr_0 ORDER BY sclr_0 ASC
Parameters:
[
17
]
|
||||||||||||||||||||||||||||
|
0.62 ms (20.15%) |
1 |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.shortname AS shortname_2, c0_.language AS language_3, c0_.logo AS logo_4, c0_.active AS active_5, c0_.start_date AS start_date_6, c0_.end_date AS end_date_7, c0_.prefix AS prefix_8, c0_.display_code_app AS display_code_app_9, c0_.mail AS mail_10 FROM congress c0_ WHERE c0_.active = 1 OR c0_.id IN (SELECT h1_.congress_id AS sclr_11 FROM hostess_check_in h1_ WHERE h1_.congress_id IS NOT NULL) ORDER BY c0_.start_date DESC
Parameters:
[]
|
||||||||||||||||||||||||||||
|
0.62 ms (20.13%) |
1 |
SELECT h0_.user_id AS sclr_0, u1_.username AS username_1, u1_.email AS email_2, SUM(CASE WHEN h0_.type = ? THEN 1 ELSE 0 END) AS sclr_3, SUM(CASE WHEN h0_.type = ? THEN 1 ELSE 0 END) AS sclr_4, COUNT(h0_.id) AS sclr_5, SUM(h0_.points) AS sclr_6 FROM hostess_check_in h0_ INNER JOIN user u1_ ON h0_.user_id = u1_.id WHERE h0_.congress_id = ? GROUP BY h0_.user_id ORDER BY sclr_6 DESC
Parameters:
[ "NEW" "EXISTING" 17 ]
|
||||||||||||||||||||||||||||
|
0.60 ms (19.56%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.shortname AS shortname_3, t0.language AS language_4, t0.logo AS logo_5, t0.active AS active_6, t0.start_date AS start_date_7, t0.end_date AS end_date_8, t0.prefix AS prefix_9, t0.display_code_app AS display_code_app_10, t0.mail AS mail_11 FROM congress t0 WHERE t0.active = ? LIMIT 1
Parameters:
[
1
]
|
||||||||||||||||||||||||||||
|
0.46 ms (15.03%) |
1 |
SELECT h0_.id AS id_0, h0_.points AS points_1, h0_.type AS type_2, h0_.created_at AS created_at_3, u1_.username AS username_4, u1_.email AS email_5, m2_.firstname AS firstname_6, m2_.lastname AS lastname_7 FROM hostess_check_in h0_ INNER JOIN user u1_ ON h0_.user_id = u1_.id LEFT JOIN member m2_ ON h0_.remote_id = m2_.remote_id WHERE h0_.congress_id = ? ORDER BY h0_.created_at DESC LIMIT 50
Parameters:
[
17
]
|
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.
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Congress | No errors. |
| App\Entity\CheckInCongress | No errors. |
| App\Entity\Code | No errors. |
| App\Entity\HostessCheckIn | No errors. |
| App\Entity\User | No errors. |
| App\Entity\Member | No errors. |