Query Metrics

13 Database Queries
13 Different statements
152.24 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 1.69 ms
SELECT `lang_id`, `code`, `name`, `icon` FROM `lang`
Parameters:
[]
2 2.22 ms
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "throat"
]
3 2.11 ms
SELECT 1 FROM `trend_has_post` WHERE `trend_id` = ? LIMIT 1
Parameters:
[
  b"\x01’Üóã;rþ¤Ô)±\x06c®ð"
]
4 2.32 ms
SELECT COUNT(*)
            FROM `trend_has_post` as `t0`
            INNER JOIN `post` as `p` ON (trend_id = ? AND p.post_id = t0.post_id)
            WHERE p.type = ? AND `p`.`status` = ? AND `t0`.`is_tested` = 1
Parameters:
[
  b"\x01’Üóã;rþ¤Ô)±\x06c®ð"
  0
  10
]
5 10.53 ms
SELECT t0.post_id FROM trend_has_post t0 INNER JOIN post p ON trend_id = ? AND p.post_id = t0.post_id WHERE (p.type = ? AND p.status = ?) AND (t0.is_tested = 0) ORDER BY t0.ctr DESC LIMIT 120 OFFSET 1080
Parameters:
[
  b"\x01’Üóã;rþ¤Ô)±\x06c®ð"
  0
  10
]
6 2.15 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 (NULL)
Parameters:
[
  1
  2
]
7 2.03 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 (NULL)
Parameters:
[
  1
  2
]
8 1.86 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 (NULL)
Parameters:
[
  1
  2
]
9 15.24 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
  517393
  489214
  495399
  510338
  523125
  417828
  444902
  435207
  487197
  486765
  524299
  537249
  536481
  558250
  567664
  545601
  564122
  665264
  650109
  626367
  597086
  447258
  434870
  420769
  448249
  449178
  477454
  517673
  511910
  520576
  520740
  489823
  490507
  497424
  520555
  496518
  475923
  584451
  670745
  559801
  595315
  623306
  763136
  478966
  422389
  439607
  452472
  457527
  472384
  494121
  528640
  419914
  508974
  516327
  526895
  497447
  521489
  566667
  575841
  615672
  627117
  586616
  431448
  458555
  447952
  420999
  613924
  601906
  497935
  548257
  613279
  627730
  620995
  496367
  514093
]
10 2.51 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
  417828
  419914
  420769
  420999
  422389
  431448
  434870
  435207
  439607
  444902
  447258
  447952
  448249
  449178
  452472
  457527
  458555
  472384
  475923
  477454
  478966
  486765
  487197
  489214
  489823
  490507
  494121
  495399
  496367
  496518
  497424
  497447
  497935
  508974
  510338
  511910
  514093
  516327
  517393
  517673
  520555
  520576
  520740
  521489
  523125
  524299
  526895
  528640
  536481
  537249
  545601
  548257
  558250
  559801
  564122
  566667
  567664
  575841
  584451
  586616
  595315
  597086
  601906
  613279
  613924
  615672
  620995
  623306
  626367
  627117
  627730
  650109
  665264
  670745
  763136
]
11 106.26 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
  417828
  419914
  420769
  420999
  422389
  431448
  434870
  435207
  439607
  444902
  447258
  447952
  448249
  449178
  452472
  457527
  458555
  472384
  475923
  477454
  478966
  486765
  487197
  489214
  489823
  490507
  494121
  495399
  496367
  496518
  497424
  497447
  497935
  508974
  510338
  511910
  514093
  516327
  517393
  517673
  520555
  520576
  520740
  521489
  523125
  524299
  526895
  528640
  536481
  537249
  545601
  548257
  558250
  559801
  564122
  566667
  567664
  575841
  584451
  586616
  595315
  597086
  601906
  613279
  613924
  615672
  620995
  623306
  626367
  627117
  627730
  650109
  665264
  670745
  763136
]
12 1.74 ms
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "throat"
]
13 1.57 ms
SELECT `trend_id` FROM `trend` WHERE `subject` = ?
Parameters:
[
  "throat"
]

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.