Query Metrics
6
Database Queries
6
Different statements
69.79 ms
Query time
0
Invalid entities
245
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
48.31 ms (69.23%) |
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
]
|
|
9.43 ms (13.52%) |
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 20
Parameters:
[
0
]
|
|
7.06 ms (10.12%) |
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
]
|
|
2.46 ms (3.53%) |
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 25971 25968 25965 25967 25963 25962 25964 25959 25958 25957 ] |
|
1.30 ms (1.86%) |
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:
[] |
|
1.22 ms (1.75%) |
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. |