Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
140.69 ms
(58.41%)
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
  388205
  391916
  391989
  393081
  407415
  416599
  421488
  422101
  422171
  423920
  424556
  425541
  429869
  429954
  434309
  439130
  440723
  441925
  445395
  445868
  446709
  448587
  452574
  454517
  459072
  464550
  466455
  468124
  471688
  477245
  482751
  485546
  499836
  504322
  519350
  520904
  541797
  554949
  555119
  556442
  560533
  568770
  577155
  597029
  598584
  601367
  605874
  611498
  617698
  624148
  629047
  645031
  652831
  653561
  656907
  664437
  671205
  673833
  676531
  680791
  683270
  685061
  685807
  686271
  686511
  698866
  703584
  703619
  705476
  713911
  715671
  718701
  725047
  727040
  727807
  733786
  735260
  738226
  738912
  739318
  740357
  740384
  740919
  741246
  742304
  742316
  742327
  742348
  742351
  750756
  751094
  751307
  751611
  751692
  753654
  765222
  765645
  766830
  769380
  770391
  777750
  782616
  782731
  782789
  782846
  783043
  788147
  790459
  791501
  791806
  796930
  797842
  800522
  804319
  805227
  806686
  806947
  816167
  820162
  825700
]
74.08 ms
(30.76%)
1
SELECT `query_id`, `cover`, `query`, MATCH (`query`) AGAINST (?) AS `relevance`
            FROM `search_log`
            WHERE MATCH (`query`) AGAINST (?)
              AND `query` <> ?
              AND `blocked` = 0
            ORDER BY `relevance` DESC
            LIMIT ?
Parameters:
[
  "russian anal masturbation"
  "russian anal masturbation"
  "russian anal masturbation"
  20
]
16.24 ms
(6.74%)
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
  568770
  664437
  685061
  698866
  713911
  715671
  652831
  673833
  676531
  671205
  703584
  718701
  577155
  605874
  624148
  601367
  598584
  617698
  777750
  796930
  804319
  782789
  806686
  806947
  725047
  727807
  742351
  751611
  765222
  797842
  805227
  770391
  738912
  742316
  742348
  742304
  750756
  751307
  751692
  766830
  727040
  739318
  740919
  751094
  800522
  445395
  468124
  393081
  425541
  477245
  422101
  391916
  441925
  504322
  422171
  482751
  554949
  416599
  439130
  466455
  519350
  499836
  407415
  816167
  820162
  560533
  556442
  683270
  645031
  680791
  686271
  653561
  656907
  685807
  686511
  705476
  611498
  597029
  782616
  782731
  782846
  740357
  741246
  742327
  788147
  733786
  753654
  740384
  765645
  735260
  738226
  783043
  791806
  454517
  790459
  791501
  769380
  520904
  429954
  434309
  452574
  446709
  388205
  448587
  445868
  555119
  629047
  429869
  440723
  459072
  423920
  424556
  464550
  471688
  421488
  485546
  391989
  825700
  541797
  703619
]
2.66 ms
(1.10%)
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
  388205
  391916
  391989
  393081
  407415
  416599
  421488
  422101
  422171
  423920
  424556
  425541
  429869
  429954
  434309
  439130
  440723
  441925
  445395
  445868
  446709
  448587
  452574
  454517
  459072
  464550
  466455
  468124
  471688
  477245
  482751
  485546
  499836
  504322
  519350
  520904
  541797
  554949
  555119
  556442
  560533
  568770
  577155
  597029
  598584
  601367
  605874
  611498
  617698
  624148
  629047
  645031
  652831
  653561
  656907
  664437
  671205
  673833
  676531
  680791
  683270
  685061
  685807
  686271
  686511
  698866
  703584
  703619
  705476
  713911
  715671
  718701
  725047
  727040
  727807
  733786
  735260
  738226
  738912
  739318
  740357
  740384
  740919
  741246
  742304
  742316
  742327
  742348
  742351
  750756
  751094
  751307
  751611
  751692
  753654
  765222
  765645
  766830
  769380
  770391
  777750
  782616
  782731
  782789
  782846
  783043
  788147
  790459
  791501
  791806
  796930
  797842
  800522
  804319
  805227
  806686
  806947
  816167
  820162
  825700
]
2.01 ms
(0.84%)
1
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "русск анал мастурбац"
]
1.84 ms
(0.76%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "russian anal masturbation"
]
1.77 ms
(0.74%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ?
Parameters:
[
  "русск анал мастурбац"
]
1.58 ms
(0.65%)
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.