Query Metrics
5
Database Queries
5
Different statements
4.61 ms
Query time
0
Invalid entities
9
Managed entities
Grouped Statements
| Time▼ | Count | Info | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
1.99 ms (43.13%) |
1 |
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
]
|
||||||||||||||||||||||||||||
|
1.00 ms (21.73%) |
1 |
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 ]
|
||||||||||||||||||||||||||||
|
0.87 ms (18.91%) |
1 |
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
]
|
||||||||||||||||||||||||||||
|
0.40 ms (8.63%) |
1 |
SELECT COUNT(m0_.id) AS sclr_0 FROM message m0_ WHERE m0_.is_read = ?
Parameters:
[
0
]
|
||||||||||||||||||||||||||||
|
0.35 ms (7.59%) |
1 |
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\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. |