Query Metrics
13
Database Queries
12
Different statements
574.47 ms
Query time
2
Invalid entities
227
Managed entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 565.42 ms |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT m0_.id AS id_0, m0_.marketing_code AS marketing_code_1, m0_.chrono AS chrono_2, m0_.ref AS ref_3, m0_.name AS name_4, m0_.slug AS slug_5, m0_.telephone AS telephone_6, m0_.is_enabled AS is_enabled_7, m0_.url AS url_8, m0_.department AS department_9, m0_.department_slugified AS department_slugified_10, m0_.region AS region_11, m0_.region_slugified AS region_slugified_12, m0_.content AS content_13, m0_.filename AS filename_14, m0_.file_url AS file_url_15, m0_.file_url_mobile AS file_url_mobile_16, m0_.premium_end AS premium_end_17, m0_.created_at AS created_at_18, m0_.updated_at AS updated_at_19, CASE WHEN m0_.created_at IS NULL THEN 1 ELSE 0 END AS sclr_20 FROM mw_restaurant m0_ INNER JOIN mw_author m1_ ON m0_.author_id = m1_.id WHERE m0_.is_enabled = true AND m1_.is_enabled = true ORDER BY sclr_20 DESC, m0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[] |
| 2 | 1.51 ms |
SELECT m0_.id AS id_0, m0_.is_enabled AS is_enabled_1, m0_.code AS code_2, m0_.flag AS flag_3, m0_.currency AS currency_4, m0_.phone_code AS phone_code_5, m0_.language AS language_6, m0_.name AS name_7, m0_.name_en AS name_en_8, m0_.created_at AS created_at_9, m0_.updated_at AS updated_at_10 FROM mw_country m0_ WHERE LOWER(m0_.code) = ? AND m0_.is_enabled = true LIMIT 1
Parameters:
[
"mw"
]
|
| 3 | 0.31 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 mw_ad_menu t0
Parameters:
[] |
| 4 | 0.89 ms |
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.code AS code_2, m0_.is_visible AS is_visible_3, m0_.created_at AS created_at_4, m0_.updated_at AS updated_at_5 FROM mw_country_recruitment m0_ WHERE LOWER(m0_.code) = ? AND m0_.is_visible = true LIMIT 1
Parameters:
[
"mw"
]
|
| 5 | 0.86 ms |
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.code AS code_2, m0_.is_visible AS is_visible_3, m0_.created_at AS created_at_4, m0_.updated_at AS updated_at_5 FROM mw_country_restaurant m0_ WHERE LOWER(m0_.code) = ? AND m0_.is_visible = true LIMIT 1
Parameters:
[
"mw"
]
|
| 6 | 0.40 ms |
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.code AS code_2, m0_.is_visible AS is_visible_3, m0_.created_at AS created_at_4, m0_.updated_at AS updated_at_5 FROM mw_country_insurance m0_ WHERE LOWER(m0_.code) = ? AND m0_.is_visible = true LIMIT 1
Parameters:
[
"mw"
]
|
| 7 | 0.67 ms |
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.code AS code_2, m0_.is_visible AS is_visible_3, m0_.created_at AS created_at_4, m0_.updated_at AS updated_at_5 FROM mw_country_jackpot m0_ WHERE LOWER(m0_.code) = ? AND m0_.is_visible = true LIMIT 1
Parameters:
[
"mw"
]
|
| 8 | 0.77 ms |
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.code AS code_2, m0_.is_visible AS is_visible_3, m0_.created_at AS created_at_4, m0_.updated_at AS updated_at_5 FROM mw_country_restaurant m0_ WHERE LOWER(m0_.code) = ? AND m0_.is_visible = true LIMIT 1
Parameters:
[
"mw"
]
|
| 9 | 0.71 ms |
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.code AS code_2, m0_.is_visible AS is_visible_3, m0_.created_at AS created_at_4, m0_.updated_at AS updated_at_5 FROM mw_country_land m0_ WHERE LOWER(m0_.code) = ? AND m0_.is_visible = true LIMIT 1
Parameters:
[
"mw"
]
|
| 10 | 0.39 ms |
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.code AS code_2, m0_.is_visible AS is_visible_3, m0_.created_at AS created_at_4, m0_.updated_at AS updated_at_5 FROM mw_country_car m0_ WHERE LOWER(m0_.code) = ? AND m0_.is_visible = true LIMIT 1
Parameters:
[
"mw"
]
|
| 11 | 0.38 ms |
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.code AS code_2, m0_.is_visible AS is_visible_3, m0_.created_at AS created_at_4, m0_.updated_at AS updated_at_5 FROM mw_country_ad m0_ WHERE LOWER(m0_.code) = ? AND m0_.is_visible = true LIMIT 1
Parameters:
[
"mw"
]
|
| 12 | 0.66 ms |
SELECT m0_.id AS id_0, m0_.is_enabled AS is_enabled_1, m0_.code AS code_2, m0_.flag AS flag_3, m0_.currency AS currency_4, m0_.phone_code AS phone_code_5, m0_.language AS language_6, m0_.name AS name_7, m0_.name_en AS name_en_8, m0_.created_at AS created_at_9, m0_.updated_at AS updated_at_10 FROM mw_country m0_ WHERE m0_.is_enabled = true ORDER BY m0_.id ASC
Parameters:
[] |
| 13 | 1.49 ms |
SELECT DISTINCT id_0, MIN(sclr_21) AS dctrn_minrownum FROM (SELECT m0_.id AS id_0, m0_.marketing_code AS marketing_code_1, m0_.chrono AS chrono_2, m0_.ref AS ref_3, m0_.name AS name_4, m0_.slug AS slug_5, m0_.telephone AS telephone_6, m0_.is_enabled AS is_enabled_7, m0_.url AS url_8, m0_.department AS department_9, m0_.department_slugified AS department_slugified_10, m0_.region AS region_11, m0_.region_slugified AS region_slugified_12, m0_.content AS content_13, m0_.filename AS filename_14, m0_.file_url AS file_url_15, m0_.file_url_mobile AS file_url_mobile_16, m0_.premium_end AS premium_end_17, m0_.created_at AS created_at_18, m0_.updated_at AS updated_at_19, CASE WHEN m0_.created_at IS NULL THEN 1 ELSE 0 END AS sclr_20, ROW_NUMBER() OVER(ORDER BY CASE WHEN m0_.created_at IS NULL THEN 1 ELSE 0 END DESC, m0_.created_at DESC) AS sclr_21 FROM mw_restaurant m0_ INNER JOIN mw_author m1_ ON m0_.author_id = m1_.id WHERE m0_.is_enabled = true AND m1_.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. |