GET https://eclectis.eu/index.php/blog/posts/author/alex-thompson

Query Metrics

11 Database Queries
8 Different statements
6.33 ms Query time
0 Invalid entities
1 Managed entities

Grouped Statements

Show all queries

Time Count Info
1.11 ms
(17.61%)
2
SELECT a.id, a.name, a.url FROM blog_authors a
Parameters:
[]
1.06 ms
(16.82%)
2
SELECT COUNT(`id`) FROM `blog_posts_published_ids`
Parameters:
[]
0.92 ms
(14.48%)
2
SELECT p.url, p.title, p.cover, p.date, c.id AS category_id, c.name AS category_name, a.name AS author_name, a.url AS author_url, (SELECT COUNT(m.id) FROM blog_post_comments m WHERE m.post_id = p.id AND m.approved = 1) AS comments_count FROM blog_posts p INNER JOIN blog_authors a ON p.author_id = a.id INNER JOIN blog_categories c ON p.category_id = c.id WHERE p.id IN(NULL)
Parameters:
[]
0.77 ms
(12.18%)
1
SELECT p.id, p.title, p.cover, p.text, p.url, p.published, p.date, c.id AS category_id, c.name AS category_name, a.url AS author_url, a.name AS author_name, a.avatar AS author_avatar, (SELECT COUNT(m.id) FROM blog_post_comments m WHERE m.post_id = p.id AND m.approved = 1) AS comments_count, (SELECT COUNT(i.id) FROM blog_post_images i WHERE i.post_id = p.id) AS images_count FROM blog_posts p INNER JOIN blog_categories c ON p.category_id = c.id INNER JOIN blog_authors a ON p.author_id = a.id WHERE (a.id = ?) AND (p.published = ?) ORDER BY p.priority, date desc LIMIT 10
Parameters:
[
  1
  1
]
0.69 ms
(10.89%)
1
SELECT id, name FROM blog_tag_names ORDER BY RAND() ASC LIMIT 19
Parameters:
[]
0.69 ms
(10.85%)
1
SELECT COUNT(*) FROM (SELECT p.id, p.title, p.cover, p.text, p.url, p.published, p.date, c.id AS category_id, c.name AS category_name, a.url AS author_url, a.name AS author_name, a.avatar AS author_avatar, (SELECT COUNT(m.id) FROM blog_post_comments m WHERE m.post_id = p.id AND m.approved = 1) AS comments_count, (SELECT COUNT(i.id) FROM blog_post_images i WHERE i.post_id = p.id) AS images_count FROM blog_posts p INNER JOIN blog_categories c ON p.category_id = c.id INNER JOIN blog_authors a ON p.author_id = a.id WHERE (a.id = ?) AND (p.published = ?)) tmp
Parameters:
[
  1
  1
]
0.56 ms
(8.80%)
1
SELECT id, name FROM blog_categories
Parameters:
[]
0.53 ms
(8.38%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.avatar AS avatar_4, t0.bio AS bio_5, t0.facebook AS facebook_6, t0.twitter AS twitter_7, t0.linkedin AS linkedin_8, t0.instagram AS instagram_9, t0.pinterest AS pinterest_10 FROM blog_authors t0 WHERE t0.url = ? LIMIT 1
Parameters:
[
  "alex-thompson"
]

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\Model\Blog\Entity\Author\Author 1