Query Metrics
6
Database Queries
6
Different statements
5.48 ms
Query time
0
Invalid entities
13
Managed entities
Queries
| #▲ | Time | Info | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2.12 ms |
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.content AS content_2, a0_.excerpt AS excerpt_3, a0_.slug AS slug_4, a0_.created_at AS created_at_5, a0_.updated_at AS updated_at_6, a0_.is_active AS is_active_7, a0_.read_time AS read_time_8, a0_.image AS image_9, u1_.id AS id_10, u1_.email AS email_11, u1_.roles AS roles_12, u1_.password AS password_13, u1_.is_verified AS is_verified_14, u1_.first_name AS first_name_15, u1_.last_name AS last_name_16, u1_.photo AS photo_17, u1_.nom AS nom_18, u1_.prenoms AS prenoms_19, u1_.contact AS contact_20, u1_.adresse AS adresse_21, c2_.id AS id_22, c2_.name AS name_23, c2_.image AS image_24, c2_.created_at AS created_at_25, c2_.description AS description_26, a0_.category_id AS category_id_27, a0_.author_id AS author_id_28, c2_.parent_id AS parent_id_29 FROM article a0_ LEFT JOIN user u1_ ON a0_.author_id = u1_.id LEFT JOIN category c2_ ON a0_.category_id = c2_.id WHERE a0_.is_active = ? ORDER BY a0_.created_at DESC LIMIT 12
Parameters:
[
1
]
|
||||||||||||||||||||||||||||
| 2 | 0.78 ms |
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.content AS content_2, a0_.excerpt AS excerpt_3, a0_.slug AS slug_4, a0_.created_at AS created_at_5, a0_.updated_at AS updated_at_6, a0_.is_active AS is_active_7, a0_.read_time AS read_time_8, a0_.image AS image_9, u1_.id AS id_10, u1_.email AS email_11, u1_.roles AS roles_12, u1_.password AS password_13, u1_.is_verified AS is_verified_14, u1_.first_name AS first_name_15, u1_.last_name AS last_name_16, u1_.photo AS photo_17, u1_.nom AS nom_18, u1_.prenoms AS prenoms_19, u1_.contact AS contact_20, u1_.adresse AS adresse_21, c2_.id AS id_22, c2_.name AS name_23, c2_.image AS image_24, c2_.created_at AS created_at_25, c2_.description AS description_26, a0_.category_id AS category_id_27, a0_.author_id AS author_id_28, c2_.parent_id AS parent_id_29 FROM article a0_ LEFT JOIN user u1_ ON a0_.author_id = u1_.id LEFT JOIN category c2_ ON a0_.category_id = c2_.id WHERE a0_.is_active = ? ORDER BY a0_.created_at DESC LIMIT 3
Parameters:
[
1
]
|
||||||||||||||||||||||||||||
| 3 | 1.28 ms |
SELECT c.*, COUNT(a.id) AS cnt FROM category c LEFT JOIN article a ON a.category_id = c.id AND a.is_active = :active WHERE c.id IN (SELECT DISTINCT cat.id FROM article a2 JOIN category cat ON a2.category_id = cat.id WHERE a2.is_active = :active2) GROUP BY c.id ORDER BY c.name ASC
Parameters:
[ "active" => true "active2" => true ]
|
||||||||||||||||||||||||||||
| 4 | 0.43 ms |
SELECT COUNT(m0_.id) AS sclr_0 FROM message m0_ WHERE m0_.is_read = ?
Parameters:
[
0
]
|
||||||||||||||||||||||||||||
| 5 | 0.51 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.email AS email_3, t0.subject AS subject_4, t0.message AS message_5, t0.created_at AS created_at_6, t0.is_read AS is_read_7 FROM message t0 WHERE t0.is_read = ? ORDER BY t0.created_at DESC LIMIT 5
Parameters:
[
0
]
|
||||||||||||||||||||||||||||
| 6 | 0.37 ms |
SELECT COUNT(a0_.id) AS sclr_0 FROM admin_activity a0_ WHERE a0_.is_read = ?
Parameters:
[
0
]
|
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\Article\Article | 5 |
| App\Entity\Contact\Message | 4 |
| App\Entity\Produit\Category | 3 |
| App\Entity\User\User | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Article\Article | No errors. |
| App\Entity\User\User | No errors. |
| App\Entity\Produit\Category | No errors. |
| App\Entity\Produit\Produit | No errors. |
| App\Entity\Contact\Message | No errors. |
| App\Entity\Admin\AdminActivity | No errors. |