Query Metrics
44
Database Queries
7
Different statements
11.60 ms
Query time
1
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
5.87 ms (50.64%) |
26 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.content AS content_3, t0.created_at AS created_at_4, t0.actived AS actived_5, t0.closed AS closed_6, t0.closed_at AS closed_at_7, t0.slug AS slug_8, t0.forum_user_id AS forum_user_id_9, t0.topic_id AS topic_id_10 FROM forum_post t0 WHERE t0.topic_id = ?
Parameters:
[
1
]
|
|
1.39 ms (12.00%) |
7 |
SELECT t0.id AS id_1, t0.content AS content_2, t0.created_at AS created_at_3, t0.post_id AS post_id_4, t0.forum_user_id AS forum_user_id_5 FROM forum_comment t0 WHERE t0.post_id = ?
Parameters:
[
1
]
|
|
1.36 ms (11.73%) |
5 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.country_min AS country_min_3, t0.slug AS slug_4, t0.category_id AS category_id_5 FROM forum_topic t0 WHERE t0.category_id = ?
Parameters:
[
1
]
|
|
1.34 ms (11.56%) |
1 |
SELECT f0_.id AS id_0, f0_.title AS title_1, f0_.content AS content_2, f0_.created_at AS created_at_3, f0_.actived AS actived_4, f0_.closed AS closed_5, f0_.closed_at AS closed_at_6, f0_.slug AS slug_7, f0_.forum_user_id AS forum_user_id_8, f0_.topic_id AS topic_id_9 FROM forum_post f0_ LEFT JOIN forum_comment f1_ ON f0_.id = f1_.post_id WHERE f0_.id <> 0 AND f0_.actived = ? GROUP BY f0_.id ORDER BY f1_.id DESC LIMIT 5
Parameters:
[
1
]
|
|
0.73 ms (6.30%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.country AS country_3, t0.country_min AS country_min_4 FROM forum_category t0 WHERE t0.country_min = ?
Parameters:
[
"uae"
]
|
|
0.57 ms (4.93%) |
3 |
SELECT t0.id AS id_1, t0.alias AS alias_2, t0.created_at AS created_at_3, t0.deleted_at AS deleted_at_4, t0.user_id AS user_id_5 FROM forum_user t0 WHERE t0.id = ?
Parameters:
[
525
]
|
|
0.33 ms (2.84%) |
1 |
SELECT f0_.id AS id_0, f0_.title AS title_1, f0_.content AS content_2, f0_.created_at AS created_at_3, f0_.actived AS actived_4, f0_.closed AS closed_5, f0_.closed_at AS closed_at_6, f0_.slug AS slug_7, f0_.forum_user_id AS forum_user_id_8, f0_.topic_id AS topic_id_9 FROM forum_post f0_ WHERE f0_.id <> 0 AND f0_.actived = ? ORDER BY f0_.id DESC LIMIT 5
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 |
|---|---|
| App\Entity\User | No errors. |
| App\Entity\ForumPost | No errors. |
| App\Entity\ForumCategory | No errors. |
| App\Entity\ForumTopic | No errors. |
| App\Entity\ForumUser | No errors. |
| App\Entity\ForumComment | No errors. |
| App\Entity\ForumNotificationSubscriber | No errors. |
| App\Entity\Message | No errors. |
| App\Entity\Room |
|
| App\Entity\Offer | No errors. |
| App\Entity\Notification | No errors. |
| App\Entity\ForumReport | No errors. |
| App\Entity\ForumCommentReply | No errors. |