1.65 ms (19.03%)
|
3 |
SELECT COUNT(`id`) FROM `published_blog_posts_ids`
SELECT COUNT(`id`) FROM `published_blog_posts_ids`;
|
1.18 ms (13.56%)
|
2 |
SELECT a.id, a.name, a.url FROM blog_authors a
SELECT a.id, a.name, a.url FROM blog_authors a;
|
0.79 ms (9.16%)
|
2 |
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.id = ?
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.id = 4;
|
0.73 ms (8.45%)
|
1 |
SELECT id, name FROM blog_tag_names ORDER BY RAND() ASC LIMIT 19
SELECT id, name FROM blog_tag_names ORDER BY RAND() ASC LIMIT 19;
|
0.69 ms (7.97%)
|
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.cover AS cover_3, t0.text_ai AS text_ai_4, t0.text AS text_5, t0.url AS url_6, t0.published AS published_7, t0.moderated AS moderated_8, t0.priority AS priority_9, t0.thematic_images AS thematic_images_10, t0.short_info_for_table AS short_info_for_table_11, t0.date AS date_12, t0.author_id AS author_id_13, t0.editor_id AS editor_id_14, t0.category_id AS category_id_15 FROM blog_posts t0 WHERE t0.url = ? LIMIT 1
Parameters: [
"solar-policy-who-gets-the-blame-for-energy-poverty-in-australia"
]
SELECT t0.id AS id_1, t0.title AS title_2, t0.cover AS cover_3, t0.text_ai AS text_ai_4, t0.text AS text_5, t0.url AS url_6, t0.published AS published_7, t0.moderated AS moderated_8, t0.priority AS priority_9, t0.thematic_images AS thematic_images_10, t0.short_info_for_table AS short_info_for_table_11, t0.date AS date_12, t0.author_id AS author_id_13, t0.editor_id AS editor_id_14, t0.category_id AS category_id_15 FROM blog_posts t0 WHERE t0.url = 'solar-policy-who-gets-the-blame-for-energy-poverty-in-australia' LIMIT 1;
|
0.63 ms (7.22%)
|
1 |
SELECT c.id, c.text, DATE_FORMAT(c.date, '%M %e, %Y %h:%i:%s') AS date, (
SELECT COUNT(cl.id)
FROM blog_post_comments_likes cl
WHERE cl.user_id = c.author_id AND cl.comment_id = c.id
) AS likes_cnt, (
SELECT COUNT(cd.id)
FROM blog_post_comments_dislikes cd
WHERE cd.user_id = c.author_id AND cd.comment_id = c.id
) AS dislikes_cnt, TRIM(CONCAT(u.name_first, ' ', u.name_last)) AS name, u.nickname, u.avatar, u.photos_dir_num FROM blog_post_comments c INNER JOIN user_users u ON c.author_id = u.id WHERE (c.post_id = ?) AND (c.approved = 1) AND (c.reply_to IS NULL)
SELECT c.id, c.text, DATE_FORMAT(c.date, '%M %e, %Y %h:%i:%s') AS date, (
SELECT COUNT(cl.id)
FROM blog_post_comments_likes cl
WHERE cl.user_id = c.author_id AND cl.comment_id = c.id
) AS likes_cnt, (
SELECT COUNT(cd.id)
FROM blog_post_comments_dislikes cd
WHERE cd.user_id = c.author_id AND cd.comment_id = c.id
) AS dislikes_cnt, TRIM(CONCAT(u.name_first, ' ', u.name_last)) AS name, u.nickname, u.avatar, u.photos_dir_num FROM blog_post_comments c INNER JOIN user_users u ON c.author_id = u.id WHERE (c.post_id = 2) AND (c.approved = 1) AND (c.reply_to IS NULL);
|
0.58 ms (6.64%)
|
1 |
SELECT id, name FROM blog_categories
SELECT id, name FROM blog_categories;
|
0.46 ms (5.34%)
|
1 |
SELECT c.id, c.text, DATE_FORMAT(c.date, '%M %e, %Y %h:%i:%s') AS date, c.reply_to, (
SELECT COUNT(cl.id)
FROM blog_post_comments_likes cl
WHERE cl.user_id = c.author_id AND cl.comment_id = c.id
) AS likes_cnt, (
SELECT COUNT(cd.id)
FROM blog_post_comments_dislikes cd
WHERE cd.user_id = c.author_id AND cd.comment_id = c.id
) AS dislikes_cnt, TRIM(CONCAT(u.name_first, ' ', u.name_last)) AS name, u.nickname, u.avatar, u.photos_dir_num FROM blog_post_comments c INNER JOIN user_users u ON c.author_id = u.id WHERE (c.reply_to IN (NULL)) AND (c.approved = 1)
SELECT c.id, c.text, DATE_FORMAT(c.date, '%M %e, %Y %h:%i:%s') AS date, c.reply_to, (
SELECT COUNT(cl.id)
FROM blog_post_comments_likes cl
WHERE cl.user_id = c.author_id AND cl.comment_id = c.id
) AS likes_cnt, (
SELECT COUNT(cd.id)
FROM blog_post_comments_dislikes cd
WHERE cd.user_id = c.author_id AND cd.comment_id = c.id
) AS dislikes_cnt, TRIM(CONCAT(u.name_first, ' ', u.name_last)) AS name, u.nickname, u.avatar, u.photos_dir_num FROM blog_post_comments c INNER JOIN user_users u ON c.author_id = u.id WHERE (c.reply_to IN (NULL)) AND (c.approved = 1);
|
0.44 ms (5.04%)
|
1 |
SELECT COUNT(id) FROM blog_post_likes WHERE post_id = ?
SELECT COUNT(id) FROM blog_post_likes WHERE post_id = 2;
|
0.41 ms (4.75%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2 FROM blog_tag_names t0 INNER JOIN blog_tags ON t0.id = blog_tags.tag_id WHERE blog_tags.post_id = ?
SELECT t0.id AS id_1, t0.name AS name_2 FROM blog_tag_names t0 INNER JOIN blog_tags ON t0.id = blog_tags.tag_id WHERE blog_tags.post_id = 2;
|
0.41 ms (4.67%)
|
1 |
SELECT COUNT(id) FROM blog_post_comments WHERE (post_id = ?) AND (approved = 1)
SELECT COUNT(id) FROM blog_post_comments WHERE (post_id = 2) AND (approved = 1);
|
0.36 ms (4.14%)
|
1 |
SELECT COUNT(id) FROM blog_post_dislikes WHERE post_id = ?
SELECT COUNT(id) FROM blog_post_dislikes WHERE post_id = 2;
|
0.35 ms (4.03%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2 FROM blog_categories t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2 FROM blog_categories t0 WHERE t0.id = 5;
|