GET http://www.dev.michaeljpitz.com/article/migrations-doctrine-bonnes-pratiques

Query Metrics

11 Database Queries
8 Different statements
8.68 ms Query time
0 Invalid entities
14 Managed entities

Grouped Statements

Show all queries

Time Count Info
2.83 ms
(32.63%)
4
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.color AS color_4, t0.description AS description_5, t0.level AS level_6 FROM category t0 INNER JOIN article_category ON t0.id = article_category.category_id WHERE article_category.article_id = ?
Parameters:
[
  724
]
1.28 ms
(14.71%)
1
SELECT AVG(r0_.rating) AS sclr_0 FROM rating r0_ WHERE r0_.article_id = ?
Parameters:
[
  724
]
1.27 ms
(14.68%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.user_name AS user_name_5, t0.activation_token AS activation_token_6, t0.status AS status_7, t0.reset_password_token AS reset_password_token_8, t0.reset_password_requested_at AS reset_password_requested_at_9, t0.created_at AS created_at_10, t0.avatar_name AS avatar_name_11, t0.biography AS biography_12, t0.external_link1 AS external_link1_13, t0.external_link2 AS external_link2_14, t0.external_link3 AS external_link3_15, t0.updated_at AS updated_at_16 FROM `user` t0 WHERE t0.id = ?
Parameters:
[
  418
]
1.26 ms
(14.55%)
1
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.slug AS slug_2, a0_.content AS content_3, a0_.excerpt AS excerpt_4, a0_.featured_image AS featured_image_5, a0_.is_published AS is_published_6, a0_.created_at AS created_at_7, a0_.published_at AS published_at_8, a0_.updated_at AS updated_at_9 FROM article a0_ INNER JOIN article_category a2_ ON a0_.id = a2_.article_id INNER JOIN category c1_ ON c1_.id = a2_.category_id WHERE a0_.is_published = 1 AND c1_.id IN (?, ?, ?) AND a0_.id <> ? GROUP BY a0_.id ORDER BY a0_.published_at DESC LIMIT 3
Parameters:
[
  284
  287
  291
  724
]
0.72 ms
(8.33%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.color AS color_4, t0.description AS description_5, t0.level AS level_6 FROM category t0 ORDER BY t0.title ASC
Parameters:
[]
0.52 ms
(6.00%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.content AS content_4, t0.excerpt AS excerpt_5, t0.featured_image AS featured_image_6, t0.is_published AS is_published_7, t0.created_at AS created_at_8, t0.published_at AS published_at_9, t0.updated_at AS updated_at_10 FROM article t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "migrations-doctrine-bonnes-pratiques"
]
0.44 ms
(5.05%)
1
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.created_at AS created_at_3, t0.user_id AS user_id_4, t0.article_id AS article_id_5 FROM rating t0 WHERE t0.article_id = ?
Parameters:
[
  724
]
0.35 ms
(4.04%)
1
SELECT c0_.id AS id_0, c0_.content AS content_1, c0_.created_at AS created_at_2, c0_.is_approved AS is_approved_3, c0_.user_id AS user_id_4, c0_.article_id AS article_id_5 FROM comment c0_ WHERE c0_.article_id = ? AND c0_.is_approved = 1 ORDER BY c0_.created_at DESC
Parameters:
[
  724
]

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\Category 8
App\Entity\Article 4
App\Entity\Comment 1
App\Entity\User 1

Entities Mapping

Class Mapping errors
App\Entity\Article No errors.
App\Entity\Category No errors.
App\Entity\Comment No errors.
App\Entity\Rating No errors.
App\Entity\Page No errors.
App\Entity\User No errors.