Query Metrics

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

Queries

Group similar statements

# Time Info
1 1.50 ms
SELECT `lang_id`, `code`, `name`, `icon` FROM `lang`
Parameters:
[]
2 210.50 ms
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "tag team"
]
3 6.79 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
  753918
  635853
  545584
  673028
  531918
  773961
  394238
  545102
  597965
  517584
  541967
  722521
  773554
  654297
  590888
  400156
  504900
  468774
  519819
  532263
  554504
  653594
  394229
  429713
  407180
  410724
  413890
  523712
  453926
  535542
  723994
  430095
  520725
  453358
  534288
  525487
  504046
  492106
  520731
]
4 4.22 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
  394229
  394238
  400156
  407180
  410724
  413890
  429713
  430095
  453358
  453926
  468774
  492106
  504046
  504900
  517584
  519819
  520725
  520731
  523712
  525487
  531918
  532263
  534288
  535542
  541967
  545102
  545584
  554504
  590888
  597965
  635853
  653594
  654297
  673028
  722521
  723994
  753918
  773554
  773961
]
5 64.00 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
  394229
  394238
  400156
  407180
  410724
  413890
  429713
  430095
  453358
  453926
  468774
  492106
  504046
  504900
  517584
  519819
  520725
  520731
  523712
  525487
  531918
  532263
  534288
  535542
  541967
  545102
  545584
  554504
  590888
  597965
  635853
  653594
  654297
  673028
  722521
  723994
  753918
  773554
  773961
]
6 1.73 ms
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "tag team"
]
7 1.40 ms
SELECT `trend_id` FROM `trend` WHERE `subject` = ?
Parameters:
[
  "tag team"
]
8 3.39 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:
[
  "tag team"
  "tag team"
  "tag team"
  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.