Query Metrics

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

Queries

Group similar statements

# Time Info
1 2.07 ms
SELECT `lang_id`, `code`, `name`, `icon` FROM `lang`
Parameters:
[]
2 2.23 ms
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "russian drunk mature"
]
3 13.58 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
  398957
  485916
  488961
  526749
  557998
  605764
  479048
  559059
  409346
  387377
  608354
  460912
  462575
  460921
  461629
  465372
  460746
  485596
  543945
  479143
  485357
  563194
  518837
  490937
  484014
  566403
  523604
  496995
  390888
  451445
  477735
  547930
  476342
  474029
  484462
  477376
  411726
  526040
  493088
  520480
  460725
  484387
  466890
  465358
  454213
  388316
  462279
  424467
  454270
  539506
  426712
  485511
  421841
  546993
  467033
  454293
  490874
  493490
  521698
  488032
  462314
  470539
  470917
  466176
  484463
  518834
  546932
  618949
  521176
  520851
  486569
  511907
  620098
  470685
  526736
  546774
  624084
]
4 2.10 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
  387377
  388316
  390888
  398957
  409346
  411726
  421841
  424467
  426712
  451445
  454213
  454270
  454293
  460725
  460746
  460912
  460921
  461629
  462279
  462314
  462575
  465358
  465372
  466176
  466890
  467033
  470539
  470685
  470917
  474029
  476342
  477376
  477735
  479048
  479143
  484014
  484387
  484462
  484463
  485357
  485511
  485596
  485916
  486569
  488032
  488961
  490874
  490937
  493088
  493490
  496995
  511907
  518834
  518837
  520480
  520851
  521176
  521698
  523604
  526040
  526736
  526749
  539506
  543945
  546774
  546932
  546993
  547930
  557998
  559059
  563194
  566403
  605764
  608354
  618949
  620098
  624084
]
5 105.54 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
  387377
  388316
  390888
  398957
  409346
  411726
  421841
  424467
  426712
  451445
  454213
  454270
  454293
  460725
  460746
  460912
  460921
  461629
  462279
  462314
  462575
  465358
  465372
  466176
  466890
  467033
  470539
  470685
  470917
  474029
  476342
  477376
  477735
  479048
  479143
  484014
  484387
  484462
  484463
  485357
  485511
  485596
  485916
  486569
  488032
  488961
  490874
  490937
  493088
  493490
  496995
  511907
  518834
  518837
  520480
  520851
  521176
  521698
  523604
  526040
  526736
  526749
  539506
  543945
  546774
  546932
  546993
  547930
  557998
  559059
  563194
  566403
  605764
  608354
  618949
  620098
  624084
]
6 3.71 ms
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "русск пьян mature"
]
7 2.05 ms
SELECT `trend_id` FROM `trend` WHERE `subject` = ?
Parameters:
[
  "русск пьян mature"
]
8 35.92 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:
[
  "russian drunk mature"
  "russian drunk mature"
  "russian drunk mature"
  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.