1.99 ms (21.06%)
|
3 |
SELECT COUNT(`id`) FROM `published_blog_posts_ids`
SELECT COUNT(`id`) FROM `published_blog_posts_ids`;
|
1.16 ms (12.26%)
|
2 |
SELECT a.id, a.name, a.url FROM blog_authors a
SELECT a.id, a.name, a.url FROM blog_authors a;
|
0.91 ms (9.61%)
|
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 = 6;
|
0.79 ms (8.38%)
|
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.66 ms (6.99%)
|
1 |
SELECT id, name FROM blog_categories
SELECT id, name FROM blog_categories;
|
0.65 ms (6.84%)
|
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 = 3) AND (c.approved = 1) AND (c.reply_to IS NULL);
|
0.63 ms (6.69%)
|
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: [
"general-solar-storage-news-why-buying-solar-now-is-often-better-than-later"
]
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 = 'general-solar-storage-news-why-buying-solar-now-is-often-better-than-later' LIMIT 1;
|
0.58 ms (6.17%)
|
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 = 3;
|
0.47 ms (4.95%)
|
1 |
SELECT COUNT(id) FROM blog_post_likes WHERE post_id = ?
SELECT COUNT(id) FROM blog_post_likes WHERE post_id = 3;
|
0.47 ms (4.95%)
|
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.45 ms (4.70%)
|
1 |
SELECT COUNT(id) FROM blog_post_comments WHERE (post_id = ?) AND (approved = 1)
SELECT COUNT(id) FROM blog_post_comments WHERE (post_id = 3) AND (approved = 1);
|
0.36 ms (3.81%)
|
1 |
SELECT COUNT(id) FROM blog_post_dislikes WHERE post_id = ?
SELECT COUNT(id) FROM blog_post_dislikes WHERE post_id = 3;
|
0.34 ms (3.58%)
|
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 = 3;
|