Query Metrics
41
Database Queries
12
Different statements
5.01 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
1.54 ms (30.66%) |
19 |
SELECT t0.id AS id_1, t0.foreign_key AS foreign_key_2, t0.value AS value_3 FROM translator t0 WHERE t0.foreign_key = ? LIMIT 1
Parameters:
[
"og_meta_tags_image"
]
|
|
0.77 ms (15.41%) |
7 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.content_type AS content_type_3, t0.visibility AS visibility_4, t0.position AS position_5, t0.id_structure AS id_structure_6 FROM structure_element t0 WHERE t0.id_structure = ? ORDER BY t0.position ASC
Parameters:
[
13
]
|
|
0.62 ms (12.46%) |
1 |
SELECT s0_.id AS id_0, s0_.type AS type_1, s0_.name AS name_2, s0_.is_homepage AS is_homepage_3, s0_.visibility AS visibility_4, s0_.access_type AS access_type_5, s0_.page_layout AS page_layout_6, s0_.lft AS lft_7, s0_.rgt AS rgt_8, s0_.depth AS depth_9, s0_.lang AS lang_10, s0_.slug AS slug_11, s0_.id_target AS id_target_12 FROM structure s0_ WHERE s0_.lang = ? AND s0_.is_homepage = 1 LIMIT 1
Parameters:
[
"pl"
]
|
|
0.58 ms (11.66%) |
2 |
SELECT s0_.id AS id_0, s0_.type AS type_1, s0_.name AS name_2, s0_.is_homepage AS is_homepage_3, s0_.visibility AS visibility_4, s0_.access_type AS access_type_5, s0_.page_layout AS page_layout_6, s0_.lft AS lft_7, s0_.rgt AS rgt_8, s0_.depth AS depth_9, s0_.lang AS lang_10, s0_.slug AS slug_11, s0_.id_target AS id_target_12 FROM structure s0_ WHERE s0_.lang = ? AND (s0_.lft > ? AND s0_.rgt < ?) AND s0_.depth = ? AND s0_.slug = ? LIMIT 1
Parameters:
[ "pl" 1 18 1 "lokalizacje" ] |
|
0.36 ms (7.15%) |
3 |
SELECT l0_.city AS city_0, l0_.sort_order AS sort_order_1 FROM location_content l0_
Parameters:
[] |
|
0.27 ms (5.33%) |
2 |
SELECT h0_.city AS city_0, COUNT(h1_.id) AS sclr_1 FROM hotel_conference_room h1_ INNER JOIN hotel h0_ ON h1_.id_hotel = h0_.id WHERE h1_.is_edited_by_admin = 1 AND h1_.id_hotel IS NOT NULL GROUP BY h0_.city ORDER BY h0_.city ASC
Parameters:
[] |
|
0.21 ms (4.21%) |
1 |
SELECT t0.id AS id_1, t0.city AS city_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.id_image AS id_image_5, t0.id_header_image AS id_header_image_6 FROM location_content t0 WHERE t0.city = ? LIMIT 1
Parameters:
[
"Szczawnica"
]
|
|
0.21 ms (4.21%) |
2 |
SELECT t0.name AS name_1, t0.value AS value_2 FROM settings t0 WHERE t0.name = ?
Parameters:
[
"app.settings"
]
|
|
0.13 ms (2.61%) |
1 |
SELECT s0_.id AS id_0, s0_.type AS type_1, s0_.name AS name_2, s0_.is_homepage AS is_homepage_3, s0_.visibility AS visibility_4, s0_.access_type AS access_type_5, s0_.page_layout AS page_layout_6, s0_.lft AS lft_7, s0_.rgt AS rgt_8, s0_.depth AS depth_9, s0_.lang AS lang_10, s0_.slug AS slug_11, s0_.id_target AS id_target_12 FROM structure s0_ WHERE s0_.lang = ? ORDER BY s0_.depth ASC, s0_.lft ASC
Parameters:
[
"pl"
]
|
|
0.11 ms (2.26%) |
1 |
SELECT h0_.city AS city_0, COUNT(h0_.id) AS sclr_1 FROM hotel h0_ WHERE h0_.is_edited_by_admin = 1 GROUP BY h0_.city ORDER BY h0_.city ASC
Parameters:
[] |
|
0.10 ms (2.08%) |
1 |
SELECT t0.id AS id_1, t0.city AS city_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.id_image AS id_image_5, t0.id_header_image AS id_header_image_6 FROM location_content t0
Parameters:
[] |
|
0.10 ms (1.96%) |
1 |
SELECT l0_.id AS id_0, l0_.city AS city_1 FROM location_content l0_
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.
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Admin\Modules\Structure\Entity\Structure | No errors. |
| App\Admin\Modules\Structure\Entity\StructureElement | No errors. |
| App\Admin\Modules\Structure\Entity\StructureElementYoutubeMovie | No errors. |
| App\Admin\Modules\Structure\Entity\StructureElementHtmlContent | No errors. |
| App\Admin\Modules\Structure\Entity\StructureElementHtmlTextImage | No errors. |
| App\Admin\Modules\Structure\Entity\StructureElementGallery | No errors. |
| App\Admin\Modules\Structure\Entity\StructureElementBanner | No errors. |
| App\Admin\Modules\Structure\Entity\StructureElementCustomForm | No errors. |
| App\Admin\Modules\HotelConferenceRoom\Entity\HotelConferenceRoom | No errors. |
| App\Admin\Modules\Hotel\Entity\Hotel | No errors. |
| App\Admin\Modules\Locations\Entity\LocationContent | No errors. |
| App\Admin\Modules\FileRepository\Entity\FileRepository | No errors. |
| App\Admin\Modules\Translator\Entity\Translator | No errors. |
| App\Entity\Settings | No errors. |