Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
127.61 ms
(72.06%)
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
  381837
  385279
  392937
  439260
  498542
  499940
  509298
  531751
  536295
  558590
  558623
  559965
  560723
  583649
  586988
  595591
  605535
  606111
  607382
  608666
  610100
  612762
  614315
  629609
  632798
  633425
  636413
  640366
  643662
  647458
  660811
  663739
  666933
  668760
  678714
  680033
  686851
  687315
  687936
  688252
  688938
  689936
  689945
  690031
  690652
  692691
  697421
  697552
  710700
  712801
  717513
  726632
  733392
  733429
  734250
  734262
  735628
  735847
  736045
  737898
  739810
  740553
  740555
  740775
  744048
  746593
  749613
  750292
  750518
  753416
  754403
  754577
  755431
  755892
  757860
  760168
  760521
  762014
  762184
  764733
  764741
  767255
  769105
  772606
  773489
  774117
  779173
  781381
  782732
  783091
  783827
  784886
  786317
  786585
  786601
  793201
  796847
  796864
  804142
  805699
  806636
  809590
  810400
  810562
  811069
  811142
  811828
  811894
  812039
  813114
  814449
  814474
  817590
  817919
  823694
  824765
  825053
  825807
  826476
  827569
]
22.97 ms
(12.97%)
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:
[
  "amateur masturbating"
  "amateur masturbating"
  "amateur masturbating"
  20
]
14.69 ms
(8.29%)
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
  814474
  814449
  823694
  817590
  509298
  536295
  688938
  614315
  779173
  783827
  784886
  786601
  806636
  809590
  811142
  812039
  781381
  813114
  767255
  805699
  810400
  811828
  811894
  734250
  734262
  773489
  755431
  762014
  740555
  750292
  739810
  749613
  754577
  697552
  717513
  786585
  793201
  810562
  499940
  558590
  583649
  647458
  663739
  680033
  689936
  690652
  692691
  666933
  687936
  690031
  712801
  668760
  686851
  689945
  697421
  558623
  608666
  636413
  640366
  607382
  612762
  643662
  678714
  687315
  595591
  605535
  610100
  385279
  817919
  826476
  827569
  824765
  825807
  531751
  498542
  560723
  559965
  710700
  660811
  586988
  606111
  632798
  629609
  786317
  796864
  782732
  796847
  736045
  740553
  740775
  746593
  760168
  772606
  774117
  783091
  804142
  811069
  754403
  764733
  764741
  726632
  735628
  735847
  755892
  757860
  769105
  733392
  744048
  753416
  760521
  733429
  737898
  750518
  762184
  633425
  688252
  392937
  381837
  439260
  825053
]
3.14 ms
(1.77%)
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
  381837
  385279
  392937
  439260
  498542
  499940
  509298
  531751
  536295
  558590
  558623
  559965
  560723
  583649
  586988
  595591
  605535
  606111
  607382
  608666
  610100
  612762
  614315
  629609
  632798
  633425
  636413
  640366
  643662
  647458
  660811
  663739
  666933
  668760
  678714
  680033
  686851
  687315
  687936
  688252
  688938
  689936
  689945
  690031
  690652
  692691
  697421
  697552
  710700
  712801
  717513
  726632
  733392
  733429
  734250
  734262
  735628
  735847
  736045
  737898
  739810
  740553
  740555
  740775
  744048
  746593
  749613
  750292
  750518
  753416
  754403
  754577
  755431
  755892
  757860
  760168
  760521
  762014
  762184
  764733
  764741
  767255
  769105
  772606
  773489
  774117
  779173
  781381
  782732
  783091
  783827
  784886
  786317
  786585
  786601
  793201
  796847
  796864
  804142
  805699
  806636
  809590
  810400
  810562
  811069
  811142
  811828
  811894
  812039
  813114
  814449
  814474
  817590
  817919
  823694
  824765
  825053
  825807
  826476
  827569
]
2.45 ms
(1.38%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "amateur masturbating"
]
2.12 ms
(1.20%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ?
Parameters:
[
  "любительск masturbating"
]
2.10 ms
(1.18%)
1
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "любительск masturbating"
]
2.00 ms
(1.13%)
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.