Query Metrics

7 Database Queries
7 Different statements
107.97 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
83.96 ms
(77.76%)
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
  437868
  445936
  458719
  464163
  468559
  468717
  480382
  485270
  488123
  497404
  499731
  507916
  510286
  512059
  516763
  516764
  516773
  517047
  519278
  522609
  523629
  523924
  526669
  527998
  529213
  531920
  532682
  534219
  535022
  536655
  536885
  541759
  543880
  550960
  551069
  551087
  554182
  556783
  557552
  557554
  558413
  560155
  560161
  560215
  560217
  561110
  563856
  564814
  569421
  569929
  572026
  580289
  582624
  583982
  587192
  588244
  595905
  598024
  599160
  599200
  604555
  605450
  605553
  611558
  621617
  625342
  628336
  630531
  634885
  635222
  650806
  666353
  668394
  671348
  671395
  673960
  682531
  682545
  684343
  688007
  688108
  690093
]
16.18 ms
(14.98%)
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
  445936
  517047
  536885
  526669
  666353
  557554
  621617
  488123
  499731
  507916
  534219
  563856
  541759
  551069
  557552
  671348
  682545
  688108
  671395
  682531
  688007
  673960
  690093
  561110
  604555
  625342
  599200
  598024
  605553
  595905
  634885
  523629
  560155
  684343
  560161
  519278
  529213
  569929
  543880
  569421
  580289
  587192
  599160
  512059
  510286
  497404
  527998
  572026
  650806
  582624
  583982
  611558
  628336
  588244
  605450
  468559
  464163
  485270
  536655
  635222
  468717
  535022
  516763
  522609
  532682
  668394
  550960
  556783
  564814
  531920
  630531
  480382
  516773
  516764
  554182
  560217
  558413
  437868
  458719
  551087
  560215
  523924
]
1.92 ms
(1.78%)
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
  437868
  445936
  458719
  464163
  468559
  468717
  480382
  485270
  488123
  497404
  499731
  507916
  510286
  512059
  516763
  516764
  516773
  517047
  519278
  522609
  523629
  523924
  526669
  527998
  529213
  531920
  532682
  534219
  535022
  536655
  536885
  541759
  543880
  550960
  551069
  551087
  554182
  556783
  557552
  557554
  558413
  560155
  560161
  560215
  560217
  561110
  563856
  564814
  569421
  569929
  572026
  580289
  582624
  583982
  587192
  588244
  595905
  598024
  599160
  599200
  604555
  605450
  605553
  611558
  621617
  625342
  628336
  630531
  634885
  635222
  650806
  666353
  668394
  671348
  671395
  673960
  682531
  682545
  684343
  688007
  688108
  690093
]
1.66 ms
(1.54%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "милфы с сюжетом"
]
1.54 ms
(1.43%)
1
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "милф сюжет"
]
1.40 ms
(1.29%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ?
Parameters:
[
  "милф сюжет"
]
1.31 ms
(1.21%)
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.