Query Metrics
23
Database Queries
6
Different statements
13.58 ms
Query time
0
Invalid entities
75
Managed entities
Grouped Statements
| Time▼ | Count | Info | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
6.55 ms (48.21%) |
13 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.type AS type_4, t0.slug AS slug_5, t0.price AS price_6, t0.price_unit AS price_unit_7, t0.pricing_type AS pricing_type_8, t0.published_domains AS published_domains_9, t0.published_pages AS published_pages_10, t0.variants AS variants_11, t0.is_published AS is_published_12, t0.published_at AS published_at_13, t0.meta_title AS meta_title_14, t0.meta_description AS meta_description_15, t0.canonical AS canonical_16, t0.sort_order AS sort_order_17, t0.created_at AS created_at_18, t0.updated_at AS updated_at_19, t0.category_id AS category_id_20 FROM pr_resource t0 WHERE t0.category_id = ?
Parameters:
[
1
]
|
||||||||||||||||||||||||||||
|
2.03 ms (14.96%) |
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.99 ms (14.66%) |
4 |
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.id = ?
Parameters:
[
4
]
|
||||||||||||||||||||||||||||
|
1.20 ms (8.84%) |
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
]
|
||||||||||||||||||||||||||||
|
1.12 ms (8.25%) |
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
]
|
||||||||||||||||||||||||||||
|
0.69 ms (5.07%) |
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, p0_.parent_id AS parent_id_10 FROM pr_category p0_ WHERE p0_.is_published = 1 AND p0_.parent_id IS NULL ORDER BY p0_.sort_order ASC, p0_.name ASC
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\Resource | 56 |
| App\Entity\Category | 13 |
| App\Entity\ResourceImage | 6 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Category | No errors. |
| App\Entity\Resource | No errors. |
| App\Entity\ResourceImage | No errors. |