Query Metrics

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

Queries

Group similar statements

# Time Info
1 2.01 ms
SELECT `lang_id`, `code`, `name`, `icon` FROM `lang`
Parameters:
[]
2 2.30 ms
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "russian beautiful hardcore"
]
3 17.55 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
  779953
  572505
  531177
  565247
  478775
  490507
  502962
  680183
  423783
  595373
  410935
  813573
  534032
  525680
  552114
  718785
  611572
  785871
  751577
  801280
  805120
  386460
  431416
  443256
  450484
  448851
  451775
  454143
  388227
  447573
  476737
  410937
  472436
  475943
  505575
  521966
  511721
  521970
  486510
  489676
  505600
  514434
  484706
  813598
  721556
  558048
  762072
  545616
  427027
  457630
  470034
  494181
  640469
  742404
  730893
  604316
  530373
  783442
  560018
  721332
  700872
  645169
  590447
  786721
  784208
  797790
  805639
  735821
  780085
  791189
  804824
  461524
  476458
  644971
  825864
  534041
  533911
  537986
  539420
  569326
  569927
  718678
  693269
  811296
  410930
  467882
  421196
  448570
  493398
  511857
  498112
  502795
  523355
  593729
  417396
  421157
  473963
  410934
  789926
  461460
  564416
  541195
  665595
  677346
  686052
  798967
  810132
  762666
  727268
  773822
  761474
  715077
  782317
  613488
  691614
  729732
  810109
  542864
  470378
  476113
]
4 3.00 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
  386460
  388227
  410930
  410934
  410935
  410937
  417396
  421157
  421196
  423783
  427027
  431416
  443256
  447573
  448570
  448851
  450484
  451775
  454143
  457630
  461460
  461524
  467882
  470034
  470378
  472436
  473963
  475943
  476113
  476458
  476737
  478775
  484706
  486510
  489676
  490507
  493398
  494181
  498112
  502795
  502962
  505575
  505600
  511721
  511857
  514434
  521966
  521970
  523355
  525680
  530373
  531177
  533911
  534032
  534041
  537986
  539420
  541195
  542864
  545616
  552114
  558048
  560018
  564416
  565247
  569326
  569927
  572505
  590447
  593729
  595373
  604316
  611572
  613488
  640469
  644971
  645169
  665595
  677346
  680183
  686052
  691614
  693269
  700872
  715077
  718678
  718785
  721332
  721556
  727268
  729732
  730893
  735821
  742404
  751577
  761474
  762072
  762666
  773822
  779953
  780085
  782317
  783442
  784208
  785871
  786721
  789926
  791189
  797790
  798967
  801280
  804824
  805120
  805639
  810109
  810132
  811296
  813573
  813598
  825864
]
5 139.28 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
  386460
  388227
  410930
  410934
  410935
  410937
  417396
  421157
  421196
  423783
  427027
  431416
  443256
  447573
  448570
  448851
  450484
  451775
  454143
  457630
  461460
  461524
  467882
  470034
  470378
  472436
  473963
  475943
  476113
  476458
  476737
  478775
  484706
  486510
  489676
  490507
  493398
  494181
  498112
  502795
  502962
  505575
  505600
  511721
  511857
  514434
  521966
  521970
  523355
  525680
  530373
  531177
  533911
  534032
  534041
  537986
  539420
  541195
  542864
  545616
  552114
  558048
  560018
  564416
  565247
  569326
  569927
  572505
  590447
  593729
  595373
  604316
  611572
  613488
  640469
  644971
  645169
  665595
  677346
  680183
  686052
  691614
  693269
  700872
  715077
  718678
  718785
  721332
  721556
  727268
  729732
  730893
  735821
  742404
  751577
  761474
  762072
  762666
  773822
  779953
  780085
  782317
  783442
  784208
  785871
  786721
  789926
  791189
  797790
  798967
  801280
  804824
  805120
  805639
  810109
  810132
  811296
  813573
  813598
  825864
]
6 1.89 ms
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "русск красивая хардкор"
]
7 1.80 ms
SELECT `trend_id` FROM `trend` WHERE `subject` = ?
Parameters:
[
  "русск красивая хардкор"
]
8 27.48 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 beautiful hardcore"
  "russian beautiful hardcore"
  "russian beautiful hardcore"
  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.