POST https://myctrl.oncloud.ovh/monitoo/elemento-sga/links/list

Query Metrics

4 Database Queries
4 Different statements
2.16 ms Query time
0 Invalid entities
1 Managed entities

Grouped Statements

Show all queries

Time Count Info
1.55 ms
(71.81%)
1
SELECT tb_myctrl_links.id_link AS id_link, el1.id_elemento_sga, el1.codice, el1.nome_elemento, 
                tb_myctrl_tipo_relazione.relazione_a AS link, mt_ls_stato.stato, mt_ls_stato.colore, mt_tb_tipo_elemento.tipo_elemento, 
                mt_tb_sottotipo_elemento.sottotipo_elemento, el2.codice AS elemento_origine_codice, el2.nome_elemento AS elemento_origine_descr
                FROM tb_myctrl_links 
                INNER JOIN tb_myctrl_tipo_relazione ON tb_myctrl_links.id_tipo_relazione = tb_myctrl_tipo_relazione.id_tipo_relazione
                INNER JOIN mt_tb_elemento_sga el1 ON tb_myctrl_links.destination_record = el1.id_elemento_sga
                INNER JOIN mt_tb_elemento_sga el2 ON tb_myctrl_links.source_record = el2.id_elemento_sga
                LEFT JOIN mt_ls_stato ON el1.id_stato = mt_ls_stato.id_stato
                LEFT JOIN mt_tb_tipo_elemento ON el1.id_tipo_elemento = mt_tb_tipo_elemento.id_tipo_elemento
                LEFT JOIN mt_tb_sottotipo_elemento ON el1.id_sottotipo_elemento = mt_tb_sottotipo_elemento.id_sottotipo_elemento
                WHERE (source_module = 'monitoo' 
                     AND source_table = 'mt_tb_elemento_sga' 
                     AND source_record = '1810' 
                     AND destination_module = 'monitoo' 
                     AND destination_table = 'mt_tb_elemento_sga')  UNION SELECT tb_myctrl_links.id_link AS id_link, el1.id_elemento_sga, el1.codice, el1.nome_elemento, 
                tb_myctrl_tipo_relazione.relazione_da AS link, mt_ls_stato.stato, mt_ls_stato.colore, mt_tb_tipo_elemento.tipo_elemento, 
                mt_tb_sottotipo_elemento.sottotipo_elemento, el2.codice AS elemento_origine_codice, el2.nome_elemento AS elemento_origine_descr
                FROM tb_myctrl_links 
                INNER JOIN tb_myctrl_tipo_relazione ON tb_myctrl_links.id_tipo_relazione = tb_myctrl_tipo_relazione.id_tipo_relazione
                INNER JOIN mt_tb_elemento_sga el1 ON tb_myctrl_links.source_record = el1.id_elemento_sga
                INNER JOIN mt_tb_elemento_sga el2 ON tb_myctrl_links.destination_record = el2.id_elemento_sga
                LEFT JOIN mt_ls_stato ON el1.id_stato = mt_ls_stato.id_stato
                LEFT JOIN mt_tb_tipo_elemento ON el1.id_tipo_elemento = mt_tb_tipo_elemento.id_tipo_elemento
                LEFT JOIN mt_tb_sottotipo_elemento ON el1.id_sottotipo_elemento = mt_tb_sottotipo_elemento.id_sottotipo_elemento
                WHERE (source_module = 'monitoo' 
                     AND source_table = 'mt_tb_elemento_sga' 
                     AND destination_module = 'monitoo' 
                     AND destination_table = 'mt_tb_elemento_sga'
                     AND destination_record = '1810')  ORDER BY id_link
Parameters:
[]
0.25 ms
(11.61%)
1
SELECT t0.id_user AS id_user_1, t0.email AS email_2, t0.password AS password_3, t0.roles AS roles_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.is_active AS is_active_7, t0.is_suspended AS is_suspended_8, t0.last_access AS last_access_9, t0.image_profile AS image_profile_10, t0.token_coda AS token_coda_11, t0.scadenza_account AS scadenza_account_12, t0.limita_ip AS limita_ip_13, t0.num_login AS num_login_14, t0.num_login_max AS num_login_max_15 FROM `tb_users` t0 WHERE t0.id_user = ?
Parameters:
[
  1
]
0.18 ms
(8.48%)
1
SELECT t.*, t0.codice AS padre_codice, t0.nome_elemento AS padre_nome_elemento
                FROM mt_tb_elemento_sga t
                LEFT JOIN mt_tb_elemento_sga t0 ON t.id_elemento_sga_padre = t0.id_elemento_sga
                WHERE (t.id_elemento_sga = 1810)
Parameters:
[]
0.17 ms
(8.10%)
1
SELECT * FROM tb_settings
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\User 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.