Query Metrics

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

Queries

Group similar statements

# Time Info
1 1.45 ms
SELECT `lang_id`, `code`, `name`, `icon` FROM `lang`
Parameters:
[]
2 1.61 ms
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "amateur solo masturbation"
]
3 13.05 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
  827137
  827698
  733420
  530981
  584418
  581542
  654693
  672212
  684888
  684891
  712967
  648286
  653206
  662867
  684843
  684855
  640483
  622568
  641422
  611207
  613943
  617571
  640899
  630039
  702910
  738275
  825685
  754597
  760750
  627938
  776982
  536660
  444614
  756020
  511407
  627310
  729339
  674152
  558476
  670316
  749584
  742914
  711737
  798289
  31822
  420823
  480942
  553342
  580963
  559775
  617585
  785221
  803119
  801821
  808125
  766158
  757908
  749054
  782098
  796381
  804486
  827503
  825372
  825374
  825330
  453210
  719401
  652160
  559414
  643328
  640878
  783373
  796405
  787533
  733366
  744751
  746801
  754579
  732936
  744474
  751002
  744013
  750988
  725435
  739813
  784842
  810328
  409369
  427020
  494532
  536005
  790449
  689840
  753773
  824351
  792461
  743230
  741208
  535519
  530974
  665948
  746817
  700231
  706154
  662492
  601716
  694598
  576130
  626751
  826596
  824159
  754657
  754616
  783188
  794054
  707867
  591162
  628205
  804630
  496714
]
4 2.97 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
  31822
  409369
  420823
  427020
  444614
  453210
  480942
  494532
  496714
  511407
  530974
  530981
  535519
  536005
  536660
  553342
  558476
  559414
  559775
  576130
  580963
  581542
  584418
  591162
  601716
  611207
  613943
  617571
  617585
  622568
  626751
  627310
  627938
  628205
  630039
  640483
  640878
  640899
  641422
  643328
  648286
  652160
  653206
  654693
  662492
  662867
  665948
  670316
  672212
  674152
  684843
  684855
  684888
  684891
  689840
  694598
  702910
  706154
  707867
  711737
  712967
  719401
  725435
  729339
  732936
  733366
  733420
  738275
  739813
  741208
  742914
  743230
  744013
  744474
  744751
  746801
  746817
  749054
  749584
  750988
  751002
  753773
  754579
  754597
  754616
  754657
  756020
  757908
  760750
  766158
  776982
  782098
  783188
  783373
  784842
  785221
  787533
  790449
  792461
  794054
  796381
  796405
  798289
  801821
  803119
  804486
  804630
  808125
  810328
  824159
  824351
  825330
  825372
  825374
  825685
  826596
  827137
  827503
  827698
]
5 187.51 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
  31822
  409369
  420823
  427020
  444614
  453210
  480942
  494532
  496714
  511407
  530974
  530981
  535519
  536005
  536660
  553342
  558476
  559414
  559775
  576130
  580963
  581542
  584418
  591162
  601716
  611207
  613943
  617571
  617585
  622568
  626751
  627310
  627938
  628205
  630039
  640483
  640878
  640899
  641422
  643328
  648286
  652160
  653206
  654693
  662492
  662867
  665948
  670316
  672212
  674152
  684843
  684855
  684888
  684891
  689840
  694598
  702910
  706154
  707867
  711737
  712967
  719401
  725435
  729339
  732936
  733366
  733420
  738275
  739813
  741208
  742914
  743230
  744013
  744474
  744751
  746801
  746817
  749054
  749584
  750988
  751002
  753773
  754579
  754597
  754616
  754657
  756020
  757908
  760750
  766158
  776982
  782098
  783188
  783373
  784842
  785221
  787533
  790449
  792461
  794054
  796381
  796405
  798289
  801821
  803119
  804486
  804630
  808125
  810328
  824159
  824351
  825330
  825372
  825374
  825685
  826596
  827137
  827503
  827698
]
6 1.37 ms
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "любительск соло мастурбац"
]
7 1.18 ms
SELECT `trend_id` FROM `trend` WHERE `subject` = ?
Parameters:
[
  "любительск соло мастурбац"
]
8 28.78 ms
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 solo masturbation"
  "amateur solo masturbation"
  "amateur solo masturbation"
  20
]

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.