Query Metrics
6
Database Queries
6
Different statements
65.97 ms
Query time
0
Invalid entities
245
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
46.80 ms (70.94%) |
1 |
SELECT i0_.id_inst AS id_inst_0, i0_.parent_id AS parent_id_1, i0_.inst_type_id AS inst_type_id_2, i0_.inst_name AS inst_name_3, i0_.inst_name_eng AS inst_name_eng_4, i0_.country_code AS country_code_5, i0_.activated AS activated_6, c1_.country AS country_7, i2_.insttype_name AS insttype_name_8 FROM institutions i0_ LEFT JOIN countries c1_ ON (i0_.country_code = c1_.id_country) LEFT JOIN insttypes i2_ ON (i0_.inst_type_id = i2_.id_insttype) WHERE i0_.activated = 1 OR i0_.created_by = ? ORDER BY i0_.f_date_entered DESC
Parameters:
[
0
]
|
|
8.22 ms (12.46%) |
1 |
SELECT DISTINCT i0_.id_inst AS id_inst_0, i0_.f_date_entered AS f_date_entered_1 FROM institutions i0_ LEFT JOIN countries c1_ ON (i0_.country_code = c1_.id_country) LEFT JOIN insttypes i2_ ON (i0_.inst_type_id = i2_.id_insttype) WHERE i0_.activated = 1 OR i0_.created_by = ? ORDER BY i0_.f_date_entered DESC LIMIT 10 OFFSET 10
Parameters:
[
0
]
|
|
7.85 ms (11.90%) |
1 |
SELECT count(DISTINCT i0_.id_inst) AS sclr_0 FROM institutions i0_ LEFT JOIN countries c1_ ON (i0_.country_code = c1_.id_country) LEFT JOIN insttypes i2_ ON (i0_.inst_type_id = i2_.id_insttype) WHERE i0_.activated = 1 OR i0_.created_by = ?
Parameters:
[
0
]
|
|
1.79 ms (2.71%) |
1 |
SELECT t0.country AS country_1, t0.postcode_pos AS postcode_pos_2, t0.postcode_spacer AS postcode_spacer_3, t0.country_code AS country_code_4, t0.latitude AS latitude_5, t0.longitude AS longitude_6, t0.unesco_member AS unesco_member_7, t0.ioc_member AS ioc_member_8, t0.is_executive AS is_executive_9, t0.id_country AS id_country_10 FROM countries t0 ORDER BY t0.country ASC
Parameters:
[] |
|
0.72 ms (1.09%) |
1 |
SELECT i0_.id_inst AS id_inst_0, i0_.parent_id AS parent_id_1, i0_.inst_type_id AS inst_type_id_2, i0_.inst_name AS inst_name_3, i0_.inst_name_eng AS inst_name_eng_4, i0_.country_code AS country_code_5, i0_.activated AS activated_6, c1_.country AS country_7, i2_.insttype_name AS insttype_name_8 FROM institutions i0_ LEFT JOIN countries c1_ ON (i0_.country_code = c1_.id_country) LEFT JOIN insttypes i2_ ON (i0_.inst_type_id = i2_.id_insttype) WHERE (i0_.activated = 1 OR i0_.created_by = ?) AND i0_.id_inst IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY i0_.f_date_entered DESC
Parameters:
[ 0 25986 25985 25984 25978 25974 25975 25972 25973 25976 25970 ] |
|
0.59 ms (0.89%) |
1 |
SELECT t0.insttype_name AS insttype_name_1, t0.id_insttype AS id_insttype_2 FROM insttypes t0 ORDER BY t0.insttype_name 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 |
|---|---|
| OceanExpertBundle\Entity\Countries | 238 |
| OceanExpertBundle\Entity\Insttypes | 7 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| OceanExpertBundle\Entity\Institutions | No errors. |
| OceanExpertBundle\Entity\Countries | No errors. |
| OceanExpertBundle\Entity\Insttypes | No errors. |