Query Metrics
6
Database Queries
6
Different statements
100.98 ms
Query time
0
Invalid entities
245
Managed entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 71.17 ms |
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
]
|
| 2 | 2.17 ms |
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:
[] |
| 3 | 1.07 ms |
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:
[] |
| 4 | 14.76 ms |
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
]
|
| 5 | 10.22 ms |
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 9760
Parameters:
[
0
]
|
| 6 | 1.60 ms |
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 9998 10013 10023 10027 10042 10047 10052 10053 10054 10057 ] |
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. |