GET https://askanbi.com/ad/fr-mw/menu/immovable

Query Metrics

17 Database Queries
16 Different statements
315.74 ms Query time
2 Invalid entities
227 Managed entities

Queries

Group similar statements

# Time Info
1 152.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 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "immovable"
]
2 81.01 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_.motel AS motel_4, m0_.immovable AS immovable_5, m0_.agricultural AS agricultural_6, m0_.machinery AS machinery_7, m0_.vehicle AS vehicle_8, m0_.slug AS slug_9, m0_.sum_by_hour AS sum_by_hour_10, m0_.sum_by_day AS sum_by_day_11, m0_.sum_by_night AS sum_by_night_12, m0_.sum_by_month AS sum_by_month_13, m0_.deposit_month AS deposit_month_14, m0_.content AS content_15, m0_.url AS url_16, m0_.is_enabled AS is_enabled_17, m0_.telephone AS telephone_18, m0_.filename AS filename_19, m0_.file_url AS file_url_20, m0_.file_url_mobile AS file_url_mobile_21, m0_.created_at AS created_at_22, m0_.updated_at AS updated_at_23, m0_.premium_end AS premium_end_24, CASE WHEN m0_.created_at IS NULL THEN 1 ELSE 0 END AS sclr_25 FROM mw_ad m0_ INNER JOIN mw_ad_sub_menu m1_ ON m0_.sub_menu_id = m1_.id INNER JOIN mw_author m2_ ON m0_.author_id = m2_.id INNER JOIN mw_ad_menu m3_ ON m1_.menu_id = m3_.id WHERE m0_.is_enabled = true AND m2_.is_enabled = true AND m3_.slug = ? ORDER BY sclr_25 DESC, m0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[
  "immovable"
]
3 0.91 ms
SELECT m0_.name AS name_0, m0_.slug AS slug_1 FROM mw_ad_billing m0_ ORDER BY m0_.id ASC
Parameters:
[]
4 0.23 ms
SELECT m0_.name AS name_0, m0_.slug AS slug_1 FROM mw_ad_menu m0_ ORDER BY m0_.id ASC
Parameters:
[]
5 0.48 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"
]
6 1.63 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:
[]
7 0.82 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"
]
8 0.46 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.43 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"
]
10 0.82 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"
]
11 0.28 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"
]
12 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_land m0_ WHERE LOWER(m0_.code) = ? AND m0_.is_visible = true LIMIT 1
Parameters:
[
  "mw"
]
13 0.70 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"
]
14 0.52 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"
]
15 1.12 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:
[]
16 0.81 ms
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 mw_country t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  "mw"
]
17 72.82 ms
SELECT DISTINCT id_0, MIN(sclr_26) 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_.motel AS motel_4, m0_.immovable AS immovable_5, m0_.agricultural AS agricultural_6, m0_.machinery AS machinery_7, m0_.vehicle AS vehicle_8, m0_.slug AS slug_9, m0_.sum_by_hour AS sum_by_hour_10, m0_.sum_by_day AS sum_by_day_11, m0_.sum_by_night AS sum_by_night_12, m0_.sum_by_month AS sum_by_month_13, m0_.deposit_month AS deposit_month_14, m0_.content AS content_15, m0_.url AS url_16, m0_.is_enabled AS is_enabled_17, m0_.telephone AS telephone_18, m0_.filename AS filename_19, m0_.file_url AS file_url_20, m0_.file_url_mobile AS file_url_mobile_21, m0_.created_at AS created_at_22, m0_.updated_at AS updated_at_23, m0_.premium_end AS premium_end_24, CASE WHEN m0_.created_at IS NULL THEN 1 ELSE 0 END AS sclr_25, ROW_NUMBER() OVER(ORDER BY CASE WHEN m0_.created_at IS NULL THEN 1 ELSE 0 END DESC, m0_.created_at DESC) AS sclr_26 FROM mw_ad m0_ INNER JOIN mw_ad_sub_menu m1_ ON m0_.sub_menu_id = m1_.id INNER JOIN mw_author m2_ ON m0_.author_id = m2_.id INNER JOIN mw_ad_menu m3_ ON m1_.menu_id = m3_.id WHERE m0_.is_enabled = true AND m2_.is_enabled = true AND m3_.slug = ?) dctrn_result GROUP BY id_0 ORDER BY dctrn_minrownum ASC LIMIT 10
Parameters:
[
  "immovable"
]

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\AdMenu No errors.
App\Entity\Ad No errors.
App\Entity\AdSubMenu No errors.
App\Entity\Author
  • The mappings App\Entity\Author#followers and App\Entity\Follower#author are inconsistent with each other.
App\Entity\AdBilling No errors.
App\Entity\Country 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
  • The mappings App\Entity\CountryCar#cars and App\Entity\Restaurant#country are inconsistent with each other.
App\Entity\CountryAd No errors.