Query Metrics
9
Database Queries
7
Different statements
6.18 ms
Query time
0
Invalid entities
Queries
#▲ | Time | Info |
---|---|---|
1 | 1.70 ms |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.slug AS slug_2, p0_.chapo AS chapo_3, p0_.content AS content_4, p0_.created_at AS created_at_5, p0_.updated_at AS updated_at_6, p0_.published_at AS published_at_7, p0_.deleted AS deleted_8, p0_.published AS published_9, p0_.language AS language_10, p0_.comments_allowed AS comments_allowed_11 FROM post p0_ INNER JOIN category c1_ ON p0_.category_id = c1_.id WHERE p0_.language = ? AND c1_.slug = ? AND p0_.deleted = ? AND p0_.published = ? ORDER BY p0_.published_at DESC) dctrn_result) dctrn_table
Parameters:
[ "fr" "star-wars" 0 1 ] |
2 | 0.79 ms |
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0, published_at_7 FROM (SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.slug AS slug_2, p0_.chapo AS chapo_3, p0_.content AS content_4, p0_.created_at AS created_at_5, p0_.updated_at AS updated_at_6, p0_.published_at AS published_at_7, p0_.deleted AS deleted_8, p0_.published AS published_9, p0_.language AS language_10, p0_.comments_allowed AS comments_allowed_11, c1_.slug AS slug_12 FROM post p0_ INNER JOIN category c1_ ON p0_.category_id = c1_.id WHERE p0_.language = ? AND c1_.slug = ? AND p0_.deleted = ? AND p0_.published = ?) dctrn_result_inner ORDER BY published_at_7 DESC) dctrn_result LIMIT 5
Parameters:
[ "fr" "star-wars" 0 1 ] |
3 | 0.75 ms |
SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.slug AS slug_2, p0_.chapo AS chapo_3, p0_.content AS content_4, p0_.created_at AS created_at_5, p0_.updated_at AS updated_at_6, p0_.published_at AS published_at_7, p0_.deleted AS deleted_8, p0_.published AS published_9, p0_.language AS language_10, p0_.comments_allowed AS comments_allowed_11, p0_.category_id AS category_id_12, p0_.created_by_id AS created_by_id_13 FROM post p0_ INNER JOIN category c1_ ON p0_.category_id = c1_.id WHERE p0_.language = ? AND c1_.slug = ? AND p0_.deleted = ? AND p0_.published = ? AND p0_.id IN (?, ?) ORDER BY p0_.published_at DESC
Parameters:
[ "fr" "star-wars" 0 1 3 1 ] |
4 | 0.31 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.language AS language_3, t0.slug AS slug_4 FROM tag t0 INNER JOIN post_tag ON t0.id = post_tag.tag_id WHERE post_tag.post_id = ?
Parameters:
[
3
]
|
5 | 0.04 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.language AS language_3, t0.slug AS slug_4, t0.comments_allowed AS comments_allowed_5 FROM category t0 WHERE t0.id IN (?)
Parameters:
[
1
]
|
6 | 0.05 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.language AS language_3, t0.slug AS slug_4 FROM tag t0 INNER JOIN post_tag ON t0.id = post_tag.tag_id WHERE post_tag.post_id = ?
Parameters:
[
1
]
|
7 | 0.97 ms |
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.is_verified AS is_verified_5, t0.firstname AS firstname_6, t0.lastname AS lastname_7, t0.username AS username_8 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
7
]
|
8 | 0.97 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.content AS content_3, t0.created_at AS created_at_4, t0.spam AS spam_5, t0.published AS published_6, t0.verified_at AS verified_at_7, t0.published_at AS published_at_8, t0.created_by_id AS created_by_id_9, t0.post_id AS post_id_10 FROM comment t0 WHERE t0.post_id = ?
Parameters:
[
3
]
|
9 | 0.60 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.content AS content_3, t0.created_at AS created_at_4, t0.spam AS spam_5, t0.published AS published_6, t0.verified_at AS verified_at_7, t0.published_at AS published_at_8, t0.created_by_id AS created_by_id_9, t0.post_id AS post_id_10 FROM comment t0 WHERE t0.post_id = ?
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.
Entities Mapping
Class | Mapping errors |
---|---|
Cms\Entity\Post | No errors. |
Cms\Entity\Category | No errors. |
Cms\Entity\User | No errors. |
Cms\Entity\Tag | No errors. |
Cms\Entity\Comment | No errors. |
Cms\Entity\Platform | No errors. |