Query Metrics
56
Database Queries
5
Different statements
29.75 ms
Query time
0
Invalid entities
126
Managed entities
Grouped Statements
| Time▼ | Count | Info | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
23.34 ms (78.45%) |
50 |
SELECT t0.id AS id_1, t0.filename AS filename_2, t0.alt AS alt_3, t0.sort_order AS sort_order_4, t0.is_main AS is_main_5, t0.uploaded_at AS uploaded_at_6, t0.updated_at AS updated_at_7, t0.resource_id AS resource_id_8 FROM pr_resource_image t0 WHERE t0.resource_id = ? ORDER BY t0.sort_order ASC, t0.is_main DESC
Parameters:
[
14
]
|
||||||||||||||||||||||||||||
|
2.40 ms (8.06%) |
3 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.sort_order AS sort_order_5, t0.meta_title AS meta_title_6, t0.meta_description AS meta_description_7, t0.is_published AS is_published_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.parent_id AS parent_id_11 FROM pr_category t0 WHERE t0.parent_id = ? ORDER BY t0.sort_order ASC, t0.name ASC
Parameters:
[
1
]
|
||||||||||||||||||||||||||||
|
2.02 ms (6.80%) |
1 |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.description AS description_2, p0_.type AS type_3, p0_.slug AS slug_4, p0_.price AS price_5, p0_.price_unit AS price_unit_6, p0_.pricing_type AS pricing_type_7, p0_.published_domains AS published_domains_8, p0_.published_pages AS published_pages_9, p0_.variants AS variants_10, p0_.is_published AS is_published_11, p0_.published_at AS published_at_12, p0_.meta_title AS meta_title_13, p0_.meta_description AS meta_description_14, p0_.canonical AS canonical_15, p0_.sort_order AS sort_order_16, p0_.created_at AS created_at_17, p0_.updated_at AS updated_at_18, p1_.id AS id_19, p1_.filename AS filename_20, p1_.alt AS alt_21, p1_.sort_order AS sort_order_22, p1_.is_main AS is_main_23, p1_.uploaded_at AS uploaded_at_24, p1_.updated_at AS updated_at_25, p0_.category_id AS category_id_26, p1_.resource_id AS resource_id_27 FROM pr_resource p0_ LEFT JOIN pr_resource_image p1_ ON p0_.id = p1_.resource_id WHERE p0_.is_published = 1 AND (p0_.published_domains LIKE ? OR p0_.published_domains LIKE ?) ORDER BY p0_.sort_order ASC, p0_.created_at DESC, p1_.sort_order ASC, p1_.is_main DESC LIMIT 6
Parameters:
[ "%"*"%" "%"main"%" ]
|
||||||||||||||||||||||||||||
|
1.28 ms (4.32%) |
1 |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.description AS description_3, p0_.sort_order AS sort_order_4, p0_.meta_title AS meta_title_5, p0_.meta_description AS meta_description_6, p0_.is_published AS is_published_7, p0_.created_at AS created_at_8, p0_.updated_at AS updated_at_9, p1_.id AS id_10, p1_.name AS name_11, p1_.description AS description_12, p1_.type AS type_13, p1_.slug AS slug_14, p1_.price AS price_15, p1_.price_unit AS price_unit_16, p1_.pricing_type AS pricing_type_17, p1_.published_domains AS published_domains_18, p1_.published_pages AS published_pages_19, p1_.variants AS variants_20, p1_.is_published AS is_published_21, p1_.published_at AS published_at_22, p1_.meta_title AS meta_title_23, p1_.meta_description AS meta_description_24, p1_.canonical AS canonical_25, p1_.sort_order AS sort_order_26, p1_.created_at AS created_at_27, p1_.updated_at AS updated_at_28, p0_.parent_id AS parent_id_29, p1_.category_id AS category_id_30 FROM pr_category p0_ LEFT JOIN pr_resource p1_ ON p0_.id = p1_.category_id WHERE p0_.is_published = 1 AND (p1_.is_published = 1 OR p1_.id IS NULL) ORDER BY p0_.sort_order ASC, p0_.name ASC
Parameters:
[]
|
||||||||||||||||||||||||||||
|
0.71 ms (2.37%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.sort_order AS sort_order_5, t0.meta_title AS meta_title_6, t0.meta_description AS meta_description_7, t0.is_published AS is_published_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.parent_id AS parent_id_11 FROM pr_category t0 WHERE t0.parent_id IS NULL AND t0.is_published = ? ORDER BY t0.sort_order ASC, t0.name ASC
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\ResourceImage | 57 |
| App\Entity\Resource | 56 |
| App\Entity\Category | 13 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Category | No errors. |
| App\Entity\Resource | No errors. |
| App\Entity\ResourceImage | No errors. |