GET https://ssop.portaliansa.cl/template/

Query Metrics

11 Database Queries
11 Different statements
6.60 ms Query time
0 Invalid entities
64 Managed entities

Queries

Group similar statements

# Time Info
1 0.68 ms
SELECT t0.id AS id_1, t0.password AS password_2, t0.name_person AS name_person_3, t0.user_name AS user_name_4, t0.avatar AS avatar_5, t0.email AS email_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.entity_user_id AS entity_user_id_9, t0.active_ind AS active_ind_10, t0.signature AS signature_11 FROM `user` t0 WHERE t0.id = ?
Parameters:
[
  1
]
2 0.71 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.text_name AS text_name_3 FROM role t0 INNER JOIN role_user ON t0.id = role_user.role_id WHERE role_user.user_id = ?
Parameters:
[
  1
]
3 1.28 ms
SELECT s0_.id AS id_0, s0_.name AS name_1, t1_.id AS id_2, t1_.name_template AS name_template_3, COUNT(f2_.id) AS sclr_4 FROM template t1_ INNER JOIN template_section t3_ ON t1_.id = t3_.template_id INNER JOIN section s0_ ON t3_.section_id = s0_.id LEFT JOIN form f2_ ON t1_.id = f2_.template_id WHERE s0_.active_ind = 1 AND t3_.active_ind = 1 AND t1_.active_ind = 1 GROUP BY s0_.id, s0_.name, t1_.id, t1_.title_txt ORDER BY s0_.name ASC
Parameters:
[]
4 0.52 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.active_ind AS active_ind_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.entity_user_id AS entity_user_id_6, t0.boss_user_id AS boss_user_id_7 FROM section t0 WHERE t0.active_ind = ?
Parameters:
[
  1
]
5 0.44 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.active_ind AS active_ind_3, t0.entity_user_id AS entity_user_id_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6 FROM template_type t0 WHERE t0.active_ind = ?
Parameters:
[
  1
]
6 0.36 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM attribute_type t0
Parameters:
[]
7 0.54 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM field_type t0
Parameters:
[]
8 0.36 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM segment_type t0
Parameters:
[]
9 0.44 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.active_ind AS active_ind_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.entity_user_id AS entity_user_id_6 FROM dictionary_type t0 WHERE t0.active_ind = ?
Parameters:
[
  1
]
10 0.92 ms
SELECT t0.id AS id_1, t0.password AS password_2, t0.name_person AS name_person_3, t0.user_name AS user_name_4, t0.avatar AS avatar_5, t0.email AS email_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.entity_user_id AS entity_user_id_9, t0.active_ind AS active_ind_10, t0.signature AS signature_11 FROM `user` t0 WHERE t0.active_ind = ?
Parameters:
[
  1
]
11 0.35 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM position t0
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\TemplateType 20
App\Entity\FieldType 12
App\Entity\Position 10
App\Entity\AttributeType 7
App\Entity\User 6
App\Entity\Section 4
App\Entity\SegmentType 3
App\Entity\Role 1
App\Entity\DictionaryType 1