Query Metrics
14
Database Queries
13
Different statements
51.73 ms
Query time
2
Invalid entities
227
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
8.91 ms (17.22%) |
1 |
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 gh_country_car g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"gh"
]
|
|
8.78 ms (16.98%) |
1 |
SELECT t0.id AS id_1, t0.is_enabled AS is_enabled_2, t0.code AS code_3, t0.flag AS flag_4, t0.currency AS currency_5, t0.phone_code AS phone_code_6, t0.language AS language_7, t0.name AS name_8, t0.name_en AS name_en_9, t0.created_at AS created_at_10, t0.updated_at AS updated_at_11 FROM gh_country t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
"gh"
]
|
|
8.27 ms (15.99%) |
1 |
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 gh_country_recruitment g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"gh"
]
|
|
8.19 ms (15.83%) |
1 |
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_.price AS price_6, g0_.content AS content_7, g0_.url AS url_8, g0_.is_enabled AS is_enabled_9, g0_.telephone AS telephone_10, g0_.filename AS filename_11, g0_.file_url AS file_url_12, g0_.file_url_mobile AS file_url_mobile_13, g0_.created_at AS created_at_14, g0_.updated_at AS updated_at_15, g0_.premium_end AS premium_end_16, CASE WHEN g0_.created_at IS NULL THEN 1 ELSE 0 END AS sclr_17 FROM gh_land g0_ INNER JOIN gh_author g1_ ON g0_.author_id = g1_.id WHERE g0_.is_enabled = true AND g1_.is_enabled = true ORDER BY sclr_17 DESC, g0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[] |
|
5.61 ms (10.84%) |
1 |
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 gh_country_jackpot g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"gh"
]
|
|
3.49 ms (6.75%) |
1 |
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 gh_country_land g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"gh"
]
|
|
2.43 ms (4.70%) |
2 |
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 gh_country_restaurant g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"gh"
]
|
|
2.08 ms (4.02%) |
1 |
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 gh_country g0_ WHERE g0_.is_enabled = true ORDER BY g0_.id ASC
Parameters:
[] |
|
1.69 ms (3.27%) |
1 |
SELECT DISTINCT id_0, MIN(sclr_18) 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_.price AS price_6, g0_.content AS content_7, g0_.url AS url_8, g0_.is_enabled AS is_enabled_9, g0_.telephone AS telephone_10, g0_.filename AS filename_11, g0_.file_url AS file_url_12, g0_.file_url_mobile AS file_url_mobile_13, g0_.created_at AS created_at_14, g0_.updated_at AS updated_at_15, g0_.premium_end AS premium_end_16, CASE WHEN g0_.created_at IS NULL THEN 1 ELSE 0 END AS sclr_17, ROW_NUMBER() OVER(ORDER BY CASE WHEN g0_.created_at IS NULL THEN 1 ELSE 0 END DESC, g0_.created_at DESC) AS sclr_18 FROM gh_land g0_ INNER JOIN gh_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:
[] |
|
0.75 ms (1.44%) |
1 |
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 gh_country g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_enabled = true LIMIT 1
Parameters:
[
"gh"
]
|
|
0.62 ms (1.19%) |
1 |
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 gh_country_ad g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"gh"
]
|
|
0.60 ms (1.16%) |
1 |
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 gh_country_insurance g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"gh"
]
|
|
0.31 ms (0.60%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.name_en AS name_en_3, t0.slug AS slug_4 FROM gh_ad_menu t0
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\Land | 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\Restaurant | No errors. |
| App\Entity\CountryInsurance | No errors. |
| App\Entity\CountryJackpot | No errors. |
| App\Entity\CountryTicketer | No errors. |
| App\Entity\CountryLand | No errors. |
| App\Entity\CountryCar |
|
| App\Entity\CountryAd | No errors. |
| App\Entity\Ad | No errors. |