Query Metrics

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

Queries

Group similar statements

# Time Info
1 1.88 ms
SELECT `lang_id`, `code`, `name`, `icon` FROM `lang`
Parameters:
[]
2 1.86 ms
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "mature vacation"
]
3 11.44 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
  707383
  692813
  818713
  617976
  788948
  820901
  827908
  795577
  796610
  619518
  401571
  585532
  807431
  707595
  816508
  531962
  598631
  803840
  618593
  819493
  714128
  557572
  561871
  765298
  474463
  525551
  813420
  402383
  383000
  550487
  559744
  803947
  573741
  400473
  453874
  454408
  580297
  720642
  782508
  477007
  439757
  815897
  461350
  501702
  510716
  541897
  562421
  715365
  660109
  592938
  603778
  733172
  756321
  633540
  498447
  559173
  464395
  456202
  524370
  486419
  590730
  439719
  549638
  419854
  450965
  463073
  513593
  561601
  643364
  453069
  534968
  509164
]
4 2.82 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
  383000
  400473
  401571
  402383
  419854
  439719
  439757
  450965
  453069
  453874
  454408
  456202
  461350
  463073
  464395
  474463
  477007
  486419
  498447
  501702
  509164
  510716
  513593
  524370
  525551
  531962
  534968
  541897
  549638
  550487
  557572
  559173
  559744
  561601
  561871
  562421
  573741
  580297
  585532
  590730
  592938
  598631
  603778
  617976
  618593
  619518
  633540
  643364
  660109
  692813
  707383
  707595
  714128
  715365
  720642
  733172
  756321
  765298
  782508
  788948
  795577
  796610
  803840
  803947
  807431
  813420
  815897
  816508
  818713
  819493
  820901
  827908
]
5 102.94 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
  383000
  400473
  401571
  402383
  419854
  439719
  439757
  450965
  453069
  453874
  454408
  456202
  461350
  463073
  464395
  474463
  477007
  486419
  498447
  501702
  509164
  510716
  513593
  524370
  525551
  531962
  534968
  541897
  549638
  550487
  557572
  559173
  559744
  561601
  561871
  562421
  573741
  580297
  585532
  590730
  592938
  598631
  603778
  617976
  618593
  619518
  633540
  643364
  660109
  692813
  707383
  707595
  714128
  715365
  720642
  733172
  756321
  765298
  782508
  788948
  795577
  796610
  803840
  803947
  807431
  813420
  815897
  816508
  818713
  819493
  820901
  827908
]
6 2.05 ms
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "mature vacation"
]
7 1.52 ms
SELECT `trend_id` FROM `trend` WHERE `subject` = ?
Parameters:
[
  "mature vacation"
]
8 21.14 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:
[
  "mature vacation"
  "mature vacation"
  "mature vacation"
  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.