Query Metrics

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

Queries

Group similar statements

# Time Info
1 1.89 ms
SELECT `lang_id`, `code`, `name`, `icon` FROM `lang`
Parameters:
[]
2 2.21 ms
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "мама хочет зятя"
]
3 16.78 ms
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
  463162
  601867
  482140
  726587
  479709
  482553
  796099
  464564
  464374
  483907
  650781
  759554
  619515
  726472
  591131
  484779
  453458
  527128
  514679
  551539
  419370
  598278
  518317
  555870
  733486
  614056
  608044
  477896
  637706
  520237
  588031
  593054
  571137
  422170
  519508
  518017
  605111
  618477
  594958
  573759
  604003
  609248
  504446
  560497
  814891
  476797
  589634
  646895
  565923
  528538
  526372
  520840
  618381
  619007
  620236
  541611
  499882
  567141
  524276
  662445
]
4 2.47 ms
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
  419370
  422170
  453458
  463162
  464374
  464564
  476797
  477896
  479709
  482140
  482553
  483907
  484779
  499882
  504446
  514679
  518017
  518317
  519508
  520237
  520840
  524276
  526372
  527128
  528538
  541611
  551539
  555870
  560497
  565923
  567141
  571137
  573759
  588031
  589634
  591131
  593054
  594958
  598278
  601867
  604003
  605111
  608044
  609248
  614056
  618381
  618477
  619007
  619515
  620236
  637706
  646895
  650781
  662445
  726472
  726587
  733486
  759554
  796099
  814891
]
5 85.18 ms
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
  419370
  422170
  453458
  463162
  464374
  464564
  476797
  477896
  479709
  482140
  482553
  483907
  484779
  499882
  504446
  514679
  518017
  518317
  519508
  520237
  520840
  524276
  526372
  527128
  528538
  541611
  551539
  555870
  560497
  565923
  567141
  571137
  573759
  588031
  589634
  591131
  593054
  594958
  598278
  601867
  604003
  605111
  608044
  609248
  614056
  618381
  618477
  619007
  619515
  620236
  637706
  646895
  650781
  662445
  726472
  726587
  733486
  759554
  796099
  814891
]
6 1.72 ms
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "мам женщин хочет парен"
]
7 1.49 ms
SELECT `trend_id` FROM `trend` WHERE `subject` = ?
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.