Query Metrics

8 Database Queries
8 Different statements
170.75 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
134.86 ms
(78.98%)
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
  385282
  393504
  394109
  398002
  398830
  407434
  421763
  455405
  456166
  460471
  460553
  460875
  466349
  479357
  497519
  498947
  540193
  542122
  546610
  563987
  566971
  571966
  575288
  577460
  583334
  584267
  588003
  605157
  611342
  615001
  616585
  618019
  621548
  626305
  631417
  635576
  647806
  647915
  650037
  655182
  656875
  662410
  663280
  671206
  671654
  672221
  683042
  685391
  688279
  696990
  697199
  703284
  705724
  707457
  710303
  710316
  713872
  718527
  719776
  720304
  726160
  726173
  726726
  730049
  732270
  734609
  735089
  735532
  737240
  737449
  737822
  738455
  741074
  742844
  744893
  745742
  746468
  747555
  749204
  752701
  753445
  754868
  760934
  766487
  772034
  772778
  779228
  780283
  781693
  783487
  787800
  789137
  789606
  789829
  789948
  789949
  790012
  794143
  795743
  796212
  805035
  806805
  808860
  809948
  809966
  810208
  811151
  811462
  812028
  812944
  813541
  814034
  814200
  815450
  815671
  817931
  817948
  818539
  823536
  824305
]
23.16 ms
(13.56%)
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
  732270
  754868
  766487
  735532
  745742
  760934
  696990
  796212
  466349
  735089
  540193
  688279
  823536
  575288
  806805
  705724
  787800
  385282
  815671
  817931
  456166
  647806
  650037
  685391
  588003
  811151
  789137
  808860
  730049
  753445
  772778
  811462
  737240
  789829
  647915
  671654
  683042
  656875
  738455
  749204
  583334
  546610
  663280
  718527
  720304
  571966
  611342
  795743
  772034
  814034
  824305
  498947
  710316
  616585
  615001
  618019
  621548
  794143
  812028
  781693
  812944
  726726
  737822
  741074
  783487
  744893
  734609
  746468
  726173
  737449
  789948
  789949
  818539
  752701
  790012
  398002
  719776
  779228
  805035
  460553
  566971
  631417
  780283
  407434
  817948
  703284
  707457
  672221
  726160
  626305
  710303
  789606
  393504
  814200
  497519
  563987
  577460
  662410
  655182
  671206
  815450
  460875
  542122
  605157
  635576
  810208
  813541
  809948
  742844
  747555
  809966
  394109
  398830
  479357
  460471
  421763
  455405
  584267
  697199
  713872
]
2.74 ms
(1.60%)
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
  385282
  393504
  394109
  398002
  398830
  407434
  421763
  455405
  456166
  460471
  460553
  460875
  466349
  479357
  497519
  498947
  540193
  542122
  546610
  563987
  566971
  571966
  575288
  577460
  583334
  584267
  588003
  605157
  611342
  615001
  616585
  618019
  621548
  626305
  631417
  635576
  647806
  647915
  650037
  655182
  656875
  662410
  663280
  671206
  671654
  672221
  683042
  685391
  688279
  696990
  697199
  703284
  705724
  707457
  710303
  710316
  713872
  718527
  719776
  720304
  726160
  726173
  726726
  730049
  732270
  734609
  735089
  735532
  737240
  737449
  737822
  738455
  741074
  742844
  744893
  745742
  746468
  747555
  749204
  752701
  753445
  754868
  760934
  766487
  772034
  772778
  779228
  780283
  781693
  783487
  787800
  789137
  789606
  789829
  789948
  789949
  790012
  794143
  795743
  796212
  805035
  806805
  808860
  809948
  809966
  810208
  811151
  811462
  812028
  812944
  813541
  814034
  814200
  815450
  815671
  817931
  817948
  818539
  823536
  824305
]
2.44 ms
(1.43%)
1
SELECT 1 FROM `trend_has_post` WHERE `trend_id` = ? LIMIT 1
Parameters:
[
  b"\x01”V:Y¿p#¹ßL=gª^Ñ"
]
2.03 ms
(1.19%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "sex night"
]
1.91 ms
(1.12%)
1
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "секс night"
]
1.85 ms
(1.08%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ?
Parameters:
[
  "секс night"
]
1.77 ms
(1.04%)
1
SELECT `lang_id`, `code`, `name`, `icon` FROM `lang`
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.

Entities Mapping

No loaded entities.