Query Metrics
13
Database Queries
12
Different statements
66.73 ms
Query time
2
Invalid entities
227
Managed entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 3.26 ms |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT g0_.id AS id_0, g0_.marketing_code AS marketing_code_1, g0_.chrono AS chrono_2, g0_.ref AS ref_3, g0_.name AS name_4, g0_.slug AS slug_5, g0_.telephone AS telephone_6, g0_.is_enabled AS is_enabled_7, g0_.url AS url_8, g0_.department AS department_9, g0_.department_slugified AS department_slugified_10, g0_.region AS region_11, g0_.region_slugified AS region_slugified_12, g0_.content AS content_13, g0_.filename AS filename_14, g0_.file_url AS file_url_15, g0_.file_url_mobile AS file_url_mobile_16, g0_.premium_end AS premium_end_17, g0_.created_at AS created_at_18, g0_.updated_at AS updated_at_19, CASE WHEN g0_.created_at IS NULL THEN 1 ELSE 0 END AS sclr_20 FROM ga_restaurant g0_ INNER JOIN ga_author g1_ ON g0_.author_id = g1_.id WHERE g0_.is_enabled = true AND g1_.is_enabled = true ORDER BY sclr_20 DESC, g0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[] |
| 2 | 9.82 ms |
SELECT g0_.id AS id_0, g0_.is_enabled AS is_enabled_1, g0_.code AS code_2, g0_.flag AS flag_3, g0_.currency AS currency_4, g0_.phone_code AS phone_code_5, g0_.language AS language_6, g0_.name AS name_7, g0_.name_en AS name_en_8, g0_.created_at AS created_at_9, g0_.updated_at AS updated_at_10 FROM ga_country g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_enabled = true LIMIT 1
Parameters:
[
"ga"
]
|
| 3 | 0.37 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 ga_ad_menu t0
Parameters:
[] |
| 4 | 2.48 ms |
SELECT g0_.id AS id_0, g0_.name AS name_1, g0_.code AS code_2, g0_.is_visible AS is_visible_3, g0_.created_at AS created_at_4, g0_.updated_at AS updated_at_5 FROM ga_country_recruitment g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"ga"
]
|
| 5 | 0.59 ms |
SELECT g0_.id AS id_0, g0_.name AS name_1, g0_.code AS code_2, g0_.is_visible AS is_visible_3, g0_.created_at AS created_at_4, g0_.updated_at AS updated_at_5 FROM ga_country_restaurant g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"ga"
]
|
| 6 | 3.85 ms |
SELECT g0_.id AS id_0, g0_.name AS name_1, g0_.code AS code_2, g0_.is_visible AS is_visible_3, g0_.created_at AS created_at_4, g0_.updated_at AS updated_at_5 FROM ga_country_insurance g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"ga"
]
|
| 7 | 10.82 ms |
SELECT g0_.id AS id_0, g0_.name AS name_1, g0_.code AS code_2, g0_.is_visible AS is_visible_3, g0_.created_at AS created_at_4, g0_.updated_at AS updated_at_5 FROM ga_country_jackpot g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"ga"
]
|
| 8 | 0.72 ms |
SELECT g0_.id AS id_0, g0_.name AS name_1, g0_.code AS code_2, g0_.is_visible AS is_visible_3, g0_.created_at AS created_at_4, g0_.updated_at AS updated_at_5 FROM ga_country_restaurant g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"ga"
]
|
| 9 | 4.89 ms |
SELECT g0_.id AS id_0, g0_.name AS name_1, g0_.code AS code_2, g0_.is_visible AS is_visible_3, g0_.created_at AS created_at_4, g0_.updated_at AS updated_at_5 FROM ga_country_land g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"ga"
]
|
| 10 | 3.23 ms |
SELECT g0_.id AS id_0, g0_.name AS name_1, g0_.code AS code_2, g0_.is_visible AS is_visible_3, g0_.created_at AS created_at_4, g0_.updated_at AS updated_at_5 FROM ga_country_car g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"ga"
]
|
| 11 | 0.62 ms |
SELECT g0_.id AS id_0, g0_.name AS name_1, g0_.code AS code_2, g0_.is_visible AS is_visible_3, g0_.created_at AS created_at_4, g0_.updated_at AS updated_at_5 FROM ga_country_ad g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"ga"
]
|
| 12 | 10.05 ms |
SELECT g0_.id AS id_0, g0_.is_enabled AS is_enabled_1, g0_.code AS code_2, g0_.flag AS flag_3, g0_.currency AS currency_4, g0_.phone_code AS phone_code_5, g0_.language AS language_6, g0_.name AS name_7, g0_.name_en AS name_en_8, g0_.created_at AS created_at_9, g0_.updated_at AS updated_at_10 FROM ga_country g0_ WHERE g0_.is_enabled = true ORDER BY g0_.id ASC
Parameters:
[] |
| 13 | 16.03 ms |
SELECT DISTINCT id_0, MIN(sclr_21) AS dctrn_minrownum FROM (SELECT g0_.id AS id_0, g0_.marketing_code AS marketing_code_1, g0_.chrono AS chrono_2, g0_.ref AS ref_3, g0_.name AS name_4, g0_.slug AS slug_5, g0_.telephone AS telephone_6, g0_.is_enabled AS is_enabled_7, g0_.url AS url_8, g0_.department AS department_9, g0_.department_slugified AS department_slugified_10, g0_.region AS region_11, g0_.region_slugified AS region_slugified_12, g0_.content AS content_13, g0_.filename AS filename_14, g0_.file_url AS file_url_15, g0_.file_url_mobile AS file_url_mobile_16, g0_.premium_end AS premium_end_17, g0_.created_at AS created_at_18, g0_.updated_at AS updated_at_19, CASE WHEN g0_.created_at IS NULL THEN 1 ELSE 0 END AS sclr_20, ROW_NUMBER() OVER(ORDER BY CASE WHEN g0_.created_at IS NULL THEN 1 ELSE 0 END DESC, g0_.created_at DESC) AS sclr_21 FROM ga_restaurant g0_ INNER JOIN ga_author g1_ ON g0_.author_id = g1_.id WHERE g0_.is_enabled = true AND g1_.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. |