Query Metrics
35
Database Queries
9
Different statements
52.99 ms
Query time
0
Invalid entities
223
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
16.90 ms (31.90%) |
14 |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.pageCategory AS pageCategory_4, t0.language AS language_5 FROM pages_categories_contents t0 WHERE t0.language = ? AND t0.pageCategory = ? LIMIT 1
Parameters:
[ "ca" 10 ] |
|
10.27 ms (19.37%) |
1 |
SELECT t0.id AS id_1, t0.iso2 AS iso2_2, t0.iso3 AS iso3_3, t0.i18n AS i18n_4, t0.name AS name_5, t0.fieldOrder AS fieldOrder_6, t0.isActiveFront AS isActiveFront_7, t0.isActiveBack AS isActiveBack_8 FROM languages t0 ORDER BY t0.fieldOrder ASC
Parameters:
[] |
|
9.79 ms (18.48%) |
14 |
SELECT p0_.id AS id_0, p0_.slug AS slug_1, p0_.name AS name_2, p0_.title AS title_3, p0_.subtitle AS subtitle_4, p0_.intro AS intro_5, p0_.body AS body_6, p0_.metaTitle AS metaTitle_7, p0_.metaDescription AS metaDescription_8, p0_.metaKeywords AS metaKeywords_9, p0_.bannerText AS bannerText_10, p0_.redirect_url AS redirect_url_11, p0_.is_external AS is_external_12, p0_.bannerImage AS bannerImage_13, p0_.page AS page_14, p0_.language AS language_15 FROM pages_contents p0_ INNER JOIN pages p1_ ON p0_.page = p1_.id INNER JOIN languages l2_ ON p0_.language = l2_.id WHERE l2_.id = ? AND p1_.active = 1 AND p1_.pages_categories = ? ORDER BY p1_.orderPosition ASC, p1_.id ASC
Parameters:
[ "ca" 10 ] |
|
8.27 ms (15.61%) |
1 |
SELECT t0.id AS id_1, t0.firstName AS firstName_2, t0.lastName AS lastName_3, t0.role AS role_4, t0.email AS email_5, t0.phone AS phone_6, t0.instagram AS instagram_7, t0.facebook AS facebook_8, t0.twitter AS twitter_9, t0.transparency AS transparency_10, t0.retribution AS retribution_11, t0.declaration AS declaration_12, t0.agenda AS agenda_13, t0.photoFilename AS photoFilename_14, t0.bio AS bio_15, t0.isAlcalde AS isAlcalde_16, t0.isGovern AS isGovern_17, t0.displayOrder AS displayOrder_18, t0.updatedAt AS updatedAt_19, t0.party_id AS party_id_20 FROM elected_officials t0 WHERE t0.isGovern = ? AND t0.isAlcalde = ? ORDER BY t0.displayOrder ASC
Parameters:
[ 1 0 ] |
|
5.45 ms (10.29%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.iconOrImage AS iconOrImage_3, t0.displayOrder AS displayOrder_4, t0.email AS email_5, t0.updatedAt AS updatedAt_6, t0.image_id AS image_id_7, t0.responsible_official_id AS responsible_official_id_8 FROM municipal_areas t0 ORDER BY t0.displayOrder ASC
Parameters:
[] |
|
0.97 ms (1.84%) |
1 |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.title AS title_4, t0.subtitle AS subtitle_5, t0.intro AS intro_6, t0.body AS body_7, t0.metaTitle AS metaTitle_8, t0.metaDescription AS metaDescription_9, t0.metaKeywords AS metaKeywords_10, t0.bannerText AS bannerText_11, t0.redirect_url AS redirect_url_12, t0.is_external AS is_external_13, t0.bannerImage AS bannerImage_14, t0.page AS page_15, t0.language AS language_16 FROM pages_contents t0 WHERE t0.language = ? AND t0.slug = ? LIMIT 1
Parameters:
[ "ca" "arees-de-treball" ] |
|
0.67 ms (1.26%) |
1 |
SELECT t0.id AS id_1, t0.active AS active_2, t0.orderPosition AS orderPosition_3, t0.opcionals AS opcionals_4, t0.fieldType AS fieldType_5, t0.pages_categories AS pages_categories_6, t0.bannerImage AS bannerImage_7 FROM pages t0 WHERE t0.id = ?
Parameters:
[
"areesMunicipals"
]
|
|
0.40 ms (0.76%) |
1 |
SELECT t0.id AS id_1, t0.firstName AS firstName_2, t0.lastName AS lastName_3, t0.role AS role_4, t0.email AS email_5, t0.phone AS phone_6, t0.instagram AS instagram_7, t0.facebook AS facebook_8, t0.twitter AS twitter_9, t0.transparency AS transparency_10, t0.retribution AS retribution_11, t0.declaration AS declaration_12, t0.agenda AS agenda_13, t0.photoFilename AS photoFilename_14, t0.bio AS bio_15, t0.isAlcalde AS isAlcalde_16, t0.isGovern AS isGovern_17, t0.displayOrder AS displayOrder_18, t0.updatedAt AS updatedAt_19, t0.party_id AS party_id_20 FROM elected_officials t0 WHERE t0.isGovern = ? ORDER BY t0.displayOrder ASC
Parameters:
[
0
]
|
|
0.26 ms (0.49%) |
1 |
SELECT t0.id AS id_1, t0.firstName AS firstName_2, t0.lastName AS lastName_3, t0.role AS role_4, t0.email AS email_5, t0.phone AS phone_6, t0.instagram AS instagram_7, t0.facebook AS facebook_8, t0.twitter AS twitter_9, t0.transparency AS transparency_10, t0.retribution AS retribution_11, t0.declaration AS declaration_12, t0.agenda AS agenda_13, t0.photoFilename AS photoFilename_14, t0.bio AS bio_15, t0.isAlcalde AS isAlcalde_16, t0.isGovern AS isGovern_17, t0.displayOrder AS displayOrder_18, t0.updatedAt AS updatedAt_19, t0.party_id AS party_id_20 FROM elected_officials t0 WHERE t0.isAlcalde = ? LIMIT 1
Parameters:
[
1
]
|
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\PageContent | 81 |
| App\Entity\Page | 81 |
| App\Entity\PageCategory | 14 |
| App\Entity\MunicipalArea | 14 |
| App\Entity\PageCategoryContent | 14 |
| App\Entity\ElectedOfficial | 13 |
| App\Entity\PoliticalParty | 4 |
| App\Entity\Language | 2 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\PageContent | No errors. |
| App\Entity\Image | No errors. |
| App\Entity\Page | No errors. |
| App\Entity\Language | No errors. |
| App\Entity\PageCategory | No errors. |
| App\Entity\ElectedOfficial | No errors. |
| App\Entity\PoliticalParty | No errors. |
| App\Entity\MunicipalArea | No errors. |
| App\Entity\MunicipalAreaContent | No errors. |
| App\Entity\PageCategoryContent | No errors. |