Query Metrics
12
Database Queries
9
Different statements
64.33 ms
Query time
0
Invalid entities
16
Managed entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 7.44 ms |
SELECT count(DISTINCT p0_.id) AS sclr_0 FROM post p0_
Parameters:
[] |
| 2 | 3.31 ms |
SELECT DISTINCT p0_.id AS id_0, p0_.created AS created_1 FROM post p0_ ORDER BY p0_.created DESC LIMIT 10 OFFSET 270
Parameters:
[] |
| 3 | 6.18 ms |
SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.body AS body_2, p0_.slug AS slug_3, p0_.seo AS seo_4, p0_.stick AS stick_5, p0_.created AS created_6, p0_.updated AS updated_7, p0_.image_id AS image_id_8 FROM post p0_ WHERE p0_.id IN (?, ?, ?) ORDER BY p0_.created DESC
Parameters:
[ 1721 1722 1723 ] |
| 4 | 0.95 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.config_key AS config_key_3, t0.settings AS settings_4 FROM configuration t0 WHERE t0.config_key = ? LIMIT 1
Parameters:
[
"homepage"
]
|
| 5 | 1.30 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.path AS path_4, t0.file_type AS file_type_5 FROM image t0 WHERE t0.id = ?
Parameters:
[
8176
]
|
| 6 | 1.06 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.weight AS weight_3, t0.slug AS slug_4, t0.parent_id AS parent_id_5 FROM category t0 INNER JOIN post_tags ON t0.id = post_tags.tag_id WHERE post_tags.post_id = ?
Parameters:
[
1721
]
|
| 7 | 3.60 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.weight AS weight_3, t0.slug AS slug_4, t0.parent_id AS parent_id_5 FROM category t0 INNER JOIN post_tags ON t0.id = post_tags.tag_id WHERE post_tags.post_id = ?
Parameters:
[
1722
]
|
| 8 | 11.70 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.path AS path_4, t0.file_type AS file_type_5 FROM image t0 WHERE t0.id = ?
Parameters:
[
8111
]
|
| 9 | 2.11 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.weight AS weight_3, t0.slug AS slug_4, t0.parent_id AS parent_id_5 FROM category t0 INNER JOIN post_tags ON t0.id = post_tags.tag_id WHERE post_tags.post_id = ?
Parameters:
[
1723
]
|
| 10 | 6.22 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.body AS body_3, t0.slug AS slug_4, t0.seo AS seo_5, t0.stick AS stick_6, t0.created AS created_7, t0.updated AS updated_8, t0.image_id AS image_id_9 FROM post t0 ORDER BY t0.created DESC LIMIT 5
Parameters:
[] |
| 11 | 5.59 ms |
SELECT count(id) AS count, created FROM post GROUP BY YEAR(created), MONTH(created) ORDER BY YEAR(created) DESC, MONTH(created) DESC
Parameters:
[] |
| 12 | 14.89 ms |
SELECT count(p.post_id) AS count, t.id, t.name, t.slug FROM category t JOIN post_tags p on (p.tag_id = t.id) GROUP BY (p.post_id)
Parameters:
[] |
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 |
|---|---|
| Uniski\CMSBundle\Entity\Post | 8 |
| Uniski\ResourceBundle\Entity\Image | 7 |
| Uniski\ConfigBundle\Entity\Configuration | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| Uniski\CMSBundle\Entity\Post | No errors. |
| Uniski\ResourceBundle\Entity\Image | No errors. |
| Uniski\ConfigBundle\Entity\Category | No errors. |
| Uniski\ConfigBundle\Entity\Configuration | No errors. |