GET https://search.jues.net/post/ukk-Bg3

Query Metrics

17 Database Queries
15 Different statements
87.60 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
43.91 ms
(50.13%)
1
SELECT phc.post_id, phc.category_id, c.slug, IFNULL(`r`.`name`, `f`.`name`) as `name` FROM post_has_category phc INNER JOIN category c ON phc.category_id = c.category_id AND c.enabled = 1 LEFT JOIN category_translation f ON c.category_id = f.category_id  AND  f.lang_id=? LEFT JOIN category_translation r ON `c`.`category_id` = `r`.`category_id`  AND  `r`.`lang_id`=? WHERE phc.post_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1
  2
  477471
  485083
  544749
  558130
  617408
  630537
  637086
  640770
  649110
  653854
  678967
  684547
  687262
  701010
  705832
  709748
  710832
  716027
  721298
  723492
  749266
  760957
  766269
  770124
  775836
  801418
  809928
  810701
  811425
  817033
]
6.43 ms
(7.34%)
1
SELECT p.post_id, p.user_id, p.content_id, p.public_key, p.search_field, p.cover, p.type, p.sexual_orientation, p.orientation, p.quality, p.noindex, p.nofollow, p.contents_num, p.duration, p.likes, p.dislikes, p.views, p.vote_rating, p.params, p.published_at, IFNULL(`r`.`title`, `f`.`title`) as `title`, IFNULL(`r`.`custom1`, `f`.`custom1`) as `custom1`, IFNULL(`r`.`custom2`, `f`.`custom2`) as `custom2` FROM post p LEFT JOIN post_translation f ON `p`.`post_id` = `f`.`post_id`  AND  `f`.`lang_id`=? LEFT JOIN post_translation r ON `p`.`post_id` = `r`.`post_id`  AND  `r`.`lang_id`=? WHERE p.post_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1
  2
  809928
  544749
  705832
  678967
  770124
  716027
  721298
  817033
  723492
  617408
  801418
  709748
  687262
  710832
  684547
  640770
  760957
  749266
  775836
  649110
  630537
  701010
  810701
  811425
  637086
  558130
  477471
  485083
  766269
  653854
]
6.16 ms
(7.03%)
1
SELECT phc.post_id, phc.category_id, c.slug, IFNULL(`r`.`name`, `f`.`name`) as `name` FROM post_has_category phc INNER JOIN category c ON phc.category_id = c.category_id AND c.enabled = 1 LEFT JOIN category_translation f ON c.category_id = f.category_id  AND  f.lang_id=? LEFT JOIN category_translation r ON `c`.`category_id` = `r`.`category_id`  AND  `r`.`lang_id`=? WHERE phc.post_id IN (?)
Parameters:
[
  1
  2
  805023
]
4.98 ms
(5.68%)
1
INSERT INTO `post_has_related` (`post_id`, `related_id`, `relevance`)
            VALUES (805023, 742449, 130.24261),(805023, 609682, 129.68245),(805023, 790754, 127.326515),(805023, 809928, 126.16102),(805023, 544749, 126.155815),(805023, 705832, 123.681435),(805023, 678967, 122.237885),(805023, 770124, 121.83896),(805023, 716027, 121.542725),(805023, 721298, 121.420845),(805023, 817033, 121.04496),(805023, 723492, 120.9362),(805023, 617408, 120.44267),(805023, 801418, 119.4997),(805023, 709748, 119.17153),(805023, 687262, 118.68135),(805023, 710832, 118.32495),(805023, 684547, 117.43489),(805023, 640770, 117.13468),(805023, 760957, 116.945946),(805023, 749266, 116.90087),(805023, 775836, 115.82776),(805023, 649110, 115.122116),(805023, 630537, 114.708084),(805023, 701010, 114.35101),(805023, 810701, 114.102104),(805023, 811425, 114.06669),(805023, 637086, 113.949745),(805023, 558130, 113.68151),(805023, 477471, 113.26991),(805023, 485083, 113.09808),(805023, 766269, 112.846146),(805023, 653854, 112.80044)
            ON DUPLICATE KEY UPDATE `post_id`=`post_id`, `related_id`=`related_id`
Parameters:
[]
3.51 ms
(4.00%)
2
SELECT `phr`.`related_id`
                FROM `post_has_related` as `phr`
                LEFT JOIN `post` as `p` USING (`post_id`)
                WHERE `phr`.`post_id` = ? AND `p`.`status` = ?
                LIMIT ?
                OFFSET ?
Parameters:
[
  805023
  10
  3
  0
]
3.47 ms
(3.96%)
1
SELECT phc.post_id, phc.category_id, c.slug, IFNULL(`r`.`name`, `f`.`name`) as `name` FROM post_has_category phc INNER JOIN category c ON phc.category_id = c.category_id AND c.enabled = 1 LEFT JOIN category_translation f ON c.category_id = f.category_id  AND  f.lang_id=? LEFT JOIN category_translation r ON `c`.`category_id` = `r`.`category_id`  AND  `r`.`lang_id`=? WHERE phc.post_id IN (?, ?, ?)
Parameters:
[
  1
  2
  609682
  742449
  790754
]
3.05 ms
(3.48%)
2
SELECT `post_id`, `search_field`
                FROM `post`
                WHERE `post_id` = ?
Parameters:
[
  805023
]
2.76 ms
(3.15%)
1
SELECT pht.post_id, pht.tag_id, t.slug, IFNULL(`r`.`name`, `f`.`name`) as `name` FROM post_has_tag pht INNER JOIN tag t ON pht.tag_id = t.tag_id AND t.enabled = 1 LEFT JOIN tag_translation f ON t.tag_id = f.tag_id AND f.lang_id=? LEFT JOIN tag_translation r ON `t`.`tag_id` = `r`.`tag_id` AND `r`.`lang_id`=? WHERE pht.post_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1
  2
  477471
  485083
  544749
  558130
  617408
  630537
  637086
  640770
  649110
  653854
  678967
  684547
  687262
  701010
  705832
  709748
  710832
  716027
  721298
  723492
  749266
  760957
  766269
  770124
  775836
  801418
  809928
  810701
  811425
  817033
]
2.56 ms
(2.93%)
1
SELECT p.post_id, p.user_id, p.content_id, p.channel_id, p.public_key, p.cover, p.type, p.sexual_orientation, p.orientation, p.quality, p.noindex, p.nofollow, p.contents_num, p.duration, p.likes, p.dislikes, p.views, p.vote_rating, p.params, p.status, p.published_at, u.username, IFNULL(`r`.`title`, `f`.`title`) as `title`, IFNULL(`r`.`description`, `f`.`description`) as `description`, IFNULL(`r`.`custom1`, `f`.`custom1`) as `custom1`, IFNULL(`r`.`custom2`, `f`.`custom2`) as `custom2` FROM post p LEFT JOIN post_translation f ON `p`.`post_id` = `f`.`post_id` AND `f`.`lang_id`=? LEFT JOIN user u ON `p`.`user_id` = `u`.`user_id` LEFT JOIN post_translation r ON `p`.`post_id` = `r`.`post_id`  AND  `r`.`lang_id`=? WHERE `p`.`public_key` = ? LIMIT 1
Parameters:
[
  1
  2
  "ukk-Bg3"
]
1.98 ms
(2.26%)
1
INSERT INTO `post_has_related` (`post_id`, `related_id`, `relevance`)
            VALUES (805023, 742449, 130.24261),(805023, 609682, 129.68245),(805023, 790754, 127.326515)
            ON DUPLICATE KEY UPDATE `post_id`=`post_id`, `related_id`=`related_id`
Parameters:
[]
1.93 ms
(2.20%)
1
SELECT pc.content_id, pc.post_id, pc.path, pc.width, pc.height FROM post_content pc WHERE pc.post_id IN (?)
Parameters:
[
  805023
]
1.87 ms
(2.14%)
1
SELECT pht.post_id, pht.tag_id, t.slug, IFNULL(`r`.`name`, `f`.`name`) as `name` FROM post_has_tag pht INNER JOIN tag t ON pht.tag_id = t.tag_id AND t.enabled = 1 LEFT JOIN tag_translation f ON t.tag_id = f.tag_id AND f.lang_id=? LEFT JOIN tag_translation r ON `t`.`tag_id` = `r`.`tag_id` AND `r`.`lang_id`=? WHERE pht.post_id IN (?)
Parameters:
[
  1
  2
  805023
]
1.82 ms
(2.08%)
1
SELECT p.post_id, p.user_id, p.content_id, p.public_key, p.search_field, p.cover, p.type, p.sexual_orientation, p.orientation, p.quality, p.noindex, p.nofollow, p.contents_num, p.duration, p.likes, p.dislikes, p.views, p.vote_rating, p.params, p.published_at, IFNULL(`r`.`title`, `f`.`title`) as `title`, IFNULL(`r`.`custom1`, `f`.`custom1`) as `custom1`, IFNULL(`r`.`custom2`, `f`.`custom2`) as `custom2` FROM post p LEFT JOIN post_translation f ON `p`.`post_id` = `f`.`post_id`  AND  `f`.`lang_id`=? LEFT JOIN post_translation r ON `p`.`post_id` = `r`.`post_id`  AND  `r`.`lang_id`=? WHERE p.post_id IN (?, ?, ?)
Parameters:
[
  1
  2
  742449
  609682
  790754
]
1.66 ms
(1.90%)
1
SELECT `lang_id`, `code`, `name`, `icon` FROM `lang`
Parameters:
[]
1.50 ms
(1.72%)
1
SELECT pht.post_id, pht.tag_id, t.slug, IFNULL(`r`.`name`, `f`.`name`) as `name` FROM post_has_tag pht INNER JOIN tag t ON pht.tag_id = t.tag_id AND t.enabled = 1 LEFT JOIN tag_translation f ON t.tag_id = f.tag_id AND f.lang_id=? LEFT JOIN tag_translation r ON `t`.`tag_id` = `r`.`tag_id` AND `r`.`lang_id`=? WHERE pht.post_id IN (?, ?, ?)
Parameters:
[
  1
  2
  609682
  742449
  790754
]

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

No loaded entities.