Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
146.23 ms
(85.64%)
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
  417513
  421108
  426926
  427084
  432393
  432531
  437561
  437576
  437579
  439669
  439721
  442325
  442835
  442867
  443010
  444165
  451428
  451639
  455515
  455531
  455923
  456170
  456291
  458311
  458532
  462995
  462999
  465353
  465823
  466151
  466755
  467551
  468912
  469014
  470662
  472138
  476588
  477953
  481444
  485537
  486581
  486892
  486962
  487719
  490373
  500299
  503914
  504912
  506142
  506146
  508941
  509620
  511528
  511827
  512384
  512521
  512575
  512988
  515592
  515736
  516156
  516748
  517356
  518608
  519515
  520597
  520800
  522281
  525773
  527442
  528217
  534126
  542051
  542759
  549244
  555130
  555141
  561936
  563884
  564985
  565673
  575243
  577439
  584566
  590288
  590545
  602747
  603629
  609133
  610613
  619539
  620086
  621338
  623365
  624109
  627095
  644095
  645920
  756506
  807356
]
14.64 ms
(8.58%)
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
  437576
  437579
  455531
  439721
  458311
  481444
  462995
  466755
  456291
  477953
  442325
  469014
  515592
  485537
  516156
  517356
  519515
  520597
  508941
  515736
  522281
  512575
  458532
  577439
  609133
  486892
  509620
  456170
  525773
  555130
  555141
  437561
  442867
  451428
  432393
  512988
  518608
  503914
  417513
  421108
  468912
  470662
  486962
  584566
  575243
  590545
  807356
  621338
  443010
  426926
  516748
  506146
  500299
  512521
  534126
  645920
  756506
  627095
  455515
  511827
  528217
  520800
  542759
  603629
  644095
  432531
  439669
  455923
  427084
  444165
  465353
  451639
  462999
  472138
  527442
  486581
  467551
  465823
  506142
  602747
  487719
  590288
  442835
  511528
  549244
  466151
  490373
  512384
  476588
  542051
  564985
  623365
  620086
  610613
  565673
  563884
  561936
  619539
  504912
  624109
]
2.65 ms
(1.55%)
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
  417513
  421108
  426926
  427084
  432393
  432531
  437561
  437576
  437579
  439669
  439721
  442325
  442835
  442867
  443010
  444165
  451428
  451639
  455515
  455531
  455923
  456170
  456291
  458311
  458532
  462995
  462999
  465353
  465823
  466151
  466755
  467551
  468912
  469014
  470662
  472138
  476588
  477953
  481444
  485537
  486581
  486892
  486962
  487719
  490373
  500299
  503914
  504912
  506142
  506146
  508941
  509620
  511528
  511827
  512384
  512521
  512575
  512988
  515592
  515736
  516156
  516748
  517356
  518608
  519515
  520597
  520800
  522281
  525773
  527442
  528217
  534126
  542051
  542759
  549244
  555130
  555141
  561936
  563884
  564985
  565673
  575243
  577439
  584566
  590288
  590545
  602747
  603629
  609133
  610613
  619539
  620086
  621338
  623365
  624109
  627095
  644095
  645920
  756506
  807356
]
2.03 ms
(1.19%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "amateur teacher"
]
1.84 ms
(1.08%)
1
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "любительск teacher"
]
1.68 ms
(0.98%)
1
SELECT `lang_id`, `code`, `name`, `icon` FROM `lang`
Parameters:
[]
1.67 ms
(0.98%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ?
Parameters:
[
  "любительск teacher"
]

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.