Query Metrics
6
Database Queries
6
Different statements
1.83 ms
Query time
0
Invalid entities
1
Managed entities
Grouped Statements
| Time▼ | Count | Info | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
0.37 ms (20.15%) |
1 |
SELECT COUNT(DISTINCT ss.id_selezione) AS num_selezioni, COUNT(DISTINCT sz.id_sede) AS num_sedi, COUNT(DISTINCT sz.id_ente) AS num_enti, COUNT(DISTINCT sz.id_progetto) AS num_progetti, COUNT(c.id_candidato) AS tot_candidati, COALESCE(SUM(CASE WHEN c.tot_colloquio IS NOT NULL THEN 1 ELSE 0 END), 0) AS esaminati, COALESCE(SUM(CASE WHEN c.valutazione_stato = 'confermata' THEN 1 ELSE 0 END), 0) AS confermate FROM tb_selezione_selettore ss JOIN tb_selezione sz ON (sz.id_selezione = ss.id_selezione) LEFT JOIN tb_selezione_candidato c ON (c.id_selezione = sz.id_selezione) WHERE (ss.id_user_selettore = ? AND ss.stato = 1)
Parameters:
[
1235
]
|
||||||||||||||||
|
0.34 ms (18.71%) |
1 |
SELECT t0.id_user AS id_user_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.nome AS nome_5, t0.cognome AS cognome_6, t0.codice_fiscale AS codice_fiscale_7, t0.is_active AS is_active_8, t0.last_access AS last_access_9, t0.num_login AS num_login_10, t0.image_profile AS image_profile_11 FROM tb_users t0 WHERE t0.id_user = ?
Parameters:
[
1235
]
|
||||||||||||||||
|
0.33 ms (18.01%) |
1 |
SELECT c.id_candidato, c.id_selezione, c.cognome, c.nome, c.riferimento_domanda, c.gmo, sz.data_colloquio, s.denominazione_sede, p.codice_progetto FROM tb_selezione_selettore ss JOIN tb_selezione sz ON (sz.id_selezione = ss.id_selezione AND sz.stato = 'aperta') JOIN tb_selezione_candidato c ON (c.id_selezione = sz.id_selezione) LEFT JOIN tb_sede s ON (s.id_sede = sz.id_sede) LEFT JOIN tb_progetto p ON (p.id_progetto = sz.id_progetto) WHERE (ss.id_user_selettore = ? AND ss.stato = 1 AND c.tot_colloquio IS NULL AND c.assente_colloquio = 0) ORDER BY (sz.data_colloquio IS NULL), sz.data_colloquio, TRIM(c.cognome), TRIM(c.nome) LIMIT 100
Parameters:
[
1235
]
|
||||||||||||||||
|
0.28 ms (15.54%) |
1 |
SELECT ts.* FROM tb_settings ts
Parameters:
[] |
||||||||||||||||
|
0.28 ms (15.06%) |
1 |
SELECT e.id_ente, e.nome_ente, COUNT(DISTINCT sz.id_sede) AS num_sedi, COUNT(DISTINCT sz.id_selezione) AS num_selezioni FROM tb_selezione_selettore ss JOIN tb_selezione sz ON (sz.id_selezione = ss.id_selezione) JOIN tb_ente e ON (e.id_ente = sz.id_ente) WHERE (ss.id_user_selettore = ? AND ss.stato = 1) GROUP BY e.id_ente, e.nome_ente ORDER BY TRIM(e.nome_ente)
Parameters:
[
1235
]
|
||||||||||||||||
|
0.23 ms (12.53%) |
1 |
SELECT p.id_progetto, p.codice_progetto, p.nome_progetto, p.anno_bando, COUNT(DISTINCT sz.id_selezione) AS num_selezioni FROM tb_selezione_selettore ss JOIN tb_selezione sz ON (sz.id_selezione = ss.id_selezione) JOIN tb_progetto p ON (p.id_progetto = sz.id_progetto) WHERE (ss.id_user_selettore = ? AND ss.stato = 1) GROUP BY p.id_progetto, p.codice_progetto, p.nome_progetto, p.anno_bando ORDER BY p.anno_bando DESC, TRIM(p.nome_progetto)
Parameters:
[
1235
]
|
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\User | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\User | No errors. |