Query Metrics
14
Database Queries
13
Different statements
41.54 ms
Query time
2
Invalid entities
227
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
12.66 ms (30.47%) |
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 gp_car g0_ INNER JOIN gp_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:
[] |
|
6.17 ms (14.86%) |
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 gp_country_recruitment g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"gp"
]
|
|
4.66 ms (11.21%) |
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 gp_country_restaurant g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"gp"
]
|
|
4.58 ms (11.02%) |
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 gp_country_jackpot g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"gp"
]
|
|
3.50 ms (8.42%) |
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 gp_country_ad g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"gp"
]
|
|
2.16 ms (5.21%) |
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 gp_country_car g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"gp"
]
|
|
1.95 ms (4.70%) |
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 gp_country t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
"gp"
]
|
|
1.78 ms (4.29%) |
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 gp_country_land g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"gp"
]
|
|
1.14 ms (2.74%) |
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 gp_car g0_ INNER JOIN gp_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:
[] |
|
1.00 ms (2.41%) |
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 gp_country_insurance g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_visible = true LIMIT 1
Parameters:
[
"gp"
]
|
|
0.95 ms (2.29%) |
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 gp_country g0_ WHERE LOWER(g0_.code) = ? AND g0_.is_enabled = true LIMIT 1
Parameters:
[
"gp"
]
|
|
0.69 ms (1.67%) |
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 gp_country g0_ WHERE g0_.is_enabled = true ORDER BY g0_.id ASC
Parameters:
[] |
|
0.29 ms (0.71%) |
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 gp_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\Car | 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\Land | No errors. |
| App\Entity\CountryCar |
|
| App\Entity\CountryAd | No errors. |
| App\Entity\Ad | No errors. |