Query Metrics
13
Database Queries
12
Different statements
25.47 ms
Query time
2
Invalid entities
227
Managed entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 9.81 ms |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT e0_.id AS id_0, e0_.marketing_code AS marketing_code_1, e0_.chrono AS chrono_2, e0_.ref AS ref_3, e0_.name AS name_4, e0_.slug AS slug_5, e0_.telephone AS telephone_6, e0_.is_enabled AS is_enabled_7, e0_.url AS url_8, e0_.department AS department_9, e0_.department_slugified AS department_slugified_10, e0_.region AS region_11, e0_.region_slugified AS region_slugified_12, e0_.content AS content_13, e0_.filename AS filename_14, e0_.file_url AS file_url_15, e0_.file_url_mobile AS file_url_mobile_16, e0_.premium_end AS premium_end_17, e0_.created_at AS created_at_18, e0_.updated_at AS updated_at_19, CASE WHEN e0_.created_at IS NULL THEN 1 ELSE 0 END AS sclr_20 FROM et_restaurant e0_ INNER JOIN et_author e1_ ON e0_.author_id = e1_.id WHERE e0_.is_enabled = true AND e1_.is_enabled = true ORDER BY sclr_20 DESC, e0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[] |
| 2 | 1.51 ms |
SELECT e0_.id AS id_0, e0_.is_enabled AS is_enabled_1, e0_.code AS code_2, e0_.flag AS flag_3, e0_.currency AS currency_4, e0_.phone_code AS phone_code_5, e0_.language AS language_6, e0_.name AS name_7, e0_.name_en AS name_en_8, e0_.created_at AS created_at_9, e0_.updated_at AS updated_at_10 FROM et_country e0_ WHERE LOWER(e0_.code) = ? AND e0_.is_enabled = true LIMIT 1
Parameters:
[
"et"
]
|
| 3 | 0.30 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.name_en AS name_en_3, t0.slug AS slug_4 FROM et_ad_menu t0
Parameters:
[] |
| 4 | 1.04 ms |
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.code AS code_2, e0_.is_visible AS is_visible_3, e0_.created_at AS created_at_4, e0_.updated_at AS updated_at_5 FROM et_country_recruitment e0_ WHERE LOWER(e0_.code) = ? AND e0_.is_visible = true LIMIT 1
Parameters:
[
"et"
]
|
| 5 | 1.89 ms |
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.code AS code_2, e0_.is_visible AS is_visible_3, e0_.created_at AS created_at_4, e0_.updated_at AS updated_at_5 FROM et_country_restaurant e0_ WHERE LOWER(e0_.code) = ? AND e0_.is_visible = true LIMIT 1
Parameters:
[
"et"
]
|
| 6 | 3.52 ms |
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.code AS code_2, e0_.is_visible AS is_visible_3, e0_.created_at AS created_at_4, e0_.updated_at AS updated_at_5 FROM et_country_insurance e0_ WHERE LOWER(e0_.code) = ? AND e0_.is_visible = true LIMIT 1
Parameters:
[
"et"
]
|
| 7 | 0.57 ms |
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.code AS code_2, e0_.is_visible AS is_visible_3, e0_.created_at AS created_at_4, e0_.updated_at AS updated_at_5 FROM et_country_jackpot e0_ WHERE LOWER(e0_.code) = ? AND e0_.is_visible = true LIMIT 1
Parameters:
[
"et"
]
|
| 8 | 0.24 ms |
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.code AS code_2, e0_.is_visible AS is_visible_3, e0_.created_at AS created_at_4, e0_.updated_at AS updated_at_5 FROM et_country_restaurant e0_ WHERE LOWER(e0_.code) = ? AND e0_.is_visible = true LIMIT 1
Parameters:
[
"et"
]
|
| 9 | 0.53 ms |
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.code AS code_2, e0_.is_visible AS is_visible_3, e0_.created_at AS created_at_4, e0_.updated_at AS updated_at_5 FROM et_country_land e0_ WHERE LOWER(e0_.code) = ? AND e0_.is_visible = true LIMIT 1
Parameters:
[
"et"
]
|
| 10 | 0.60 ms |
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.code AS code_2, e0_.is_visible AS is_visible_3, e0_.created_at AS created_at_4, e0_.updated_at AS updated_at_5 FROM et_country_car e0_ WHERE LOWER(e0_.code) = ? AND e0_.is_visible = true LIMIT 1
Parameters:
[
"et"
]
|
| 11 | 2.61 ms |
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.code AS code_2, e0_.is_visible AS is_visible_3, e0_.created_at AS created_at_4, e0_.updated_at AS updated_at_5 FROM et_country_ad e0_ WHERE LOWER(e0_.code) = ? AND e0_.is_visible = true LIMIT 1
Parameters:
[
"et"
]
|
| 12 | 0.66 ms |
SELECT e0_.id AS id_0, e0_.is_enabled AS is_enabled_1, e0_.code AS code_2, e0_.flag AS flag_3, e0_.currency AS currency_4, e0_.phone_code AS phone_code_5, e0_.language AS language_6, e0_.name AS name_7, e0_.name_en AS name_en_8, e0_.created_at AS created_at_9, e0_.updated_at AS updated_at_10 FROM et_country e0_ WHERE e0_.is_enabled = true ORDER BY e0_.id ASC
Parameters:
[] |
| 13 | 2.18 ms |
SELECT DISTINCT id_0, MIN(sclr_21) AS dctrn_minrownum FROM (SELECT e0_.id AS id_0, e0_.marketing_code AS marketing_code_1, e0_.chrono AS chrono_2, e0_.ref AS ref_3, e0_.name AS name_4, e0_.slug AS slug_5, e0_.telephone AS telephone_6, e0_.is_enabled AS is_enabled_7, e0_.url AS url_8, e0_.department AS department_9, e0_.department_slugified AS department_slugified_10, e0_.region AS region_11, e0_.region_slugified AS region_slugified_12, e0_.content AS content_13, e0_.filename AS filename_14, e0_.file_url AS file_url_15, e0_.file_url_mobile AS file_url_mobile_16, e0_.premium_end AS premium_end_17, e0_.created_at AS created_at_18, e0_.updated_at AS updated_at_19, CASE WHEN e0_.created_at IS NULL THEN 1 ELSE 0 END AS sclr_20, ROW_NUMBER() OVER(ORDER BY CASE WHEN e0_.created_at IS NULL THEN 1 ELSE 0 END DESC, e0_.created_at DESC) AS sclr_21 FROM et_restaurant e0_ INNER JOIN et_author e1_ ON e0_.author_id = e1_.id WHERE e0_.is_enabled = true AND e1_.is_enabled = true) dctrn_result GROUP BY id_0 ORDER BY dctrn_minrownum ASC LIMIT 10
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\Country | 218 |
| App\Entity\AdMenu | 5 |
| App\Entity\CountryRestaurant | 1 |
| App\Entity\CountryLand | 1 |
| App\Entity\CountryCar | 1 |
| App\Entity\CountryAd | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Restaurant | No errors. |
| App\Entity\Author |
|
| App\Entity\Country | No errors. |
| App\Entity\AdMenu | No errors. |
| App\Entity\AdSubMenu | No errors. |
| App\Entity\CountryRecruitment | No errors. |
| App\Entity\CountryRestaurant | No errors. |
| App\Entity\CountryInsurance | No errors. |
| App\Entity\CountryJackpot | No errors. |
| App\Entity\CountryTicketer | No errors. |
| App\Entity\CountryLand | No errors. |
| App\Entity\Land | No errors. |
| App\Entity\CountryCar |
|
| App\Entity\CountryAd | No errors. |
| App\Entity\Ad | No errors. |