Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
176.58 ms
(72.98%)
1
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
  382636
  383347
  387696
  389596
  390749
  392316
  396375
  397794
  416686
  420636
  421639
  423619
  427367
  427518
  428303
  436068
  437496
  451334
  454689
  469068
  469395
  469439
  471052
  471987
  472194
  472535
  477129
  483735
  488791
  492506
  492661
  494210
  506626
  510001
  517360
  524258
  530970
  531050
  534083
  536146
  537990
  544098
  553436
  553560
  554728
  559981
  574218
  574319
  577160
  581008
  584219
  585691
  591848
  596402
  597051
  602850
  629044
  635067
  641571
  650719
  661534
  671518
  709788
  726438
  728978
  733422
  734110
  736051
  736191
  741500
  746789
  752557
  752573
  756470
  758450
  760569
  761933
  766154
  767680
  779645
  782056
  782567
  783188
  784833
  784988
  785090
  786091
  787777
  790443
  790447
  790551
  792445
  793115
  796687
  796838
  801658
  801816
  801836
  801980
  802038
  804185
  807060
  807072
  808446
  809630
  811252
  811299
  813724
  816690
  819278
  820166
  823601
  824653
  824811
  825838
  826569
  828207
  828614
]
33.01 ms
(13.64%)
1
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:
[
  "amateur webcam masturbation"
  "amateur webcam masturbation"
  "amateur webcam masturbation"
  20
]
19.95 ms
(8.25%)
1
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
  783188
  824653
  820166
  825134
  823601
  826569
  828207
  828614
  802038
  577160
  436068
  492506
  671518
  423619
  472194
  483735
  494210
  544098
  416686
  531050
  537990
  709788
  661534
  623802
  629044
  602850
  641571
  733422
  787777
  766154
  752557
  530970
  591848
  635067
  760569
  761933
  574218
  383347
  392316
  824811
  813724
  825838
  816690
  819278
  534083
  559981
  581008
  585691
  801980
  782056
  782567
  801658
  758450
  790551
  807060
  746789
  752573
  784833
  804185
  811252
  506626
  510001
  596402
  597051
  382636
  387696
  390749
  427518
  428303
  421639
  471987
  469439
  472535
  477129
  524258
  536146
  469068
  793115
  808446
  796687
  736191
  796838
  389596
  397794
  427367
  437496
  451334
  454689
  469395
  471052
  420636
  492661
  488791
  396375
  517360
  553436
  553560
  554728
  650719
  574319
  584219
  801816
  779645
  786091
  807072
  784988
  785090
  790443
  792445
  801836
  809630
  811299
  741500
  756470
  726438
  728978
  734110
  767680
  736051
  790447
]
4.53 ms
(1.87%)
1
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
  382636
  383347
  387696
  389596
  390749
  392316
  396375
  397794
  416686
  420636
  421639
  423619
  427367
  427518
  428303
  436068
  437496
  451334
  454689
  469068
  469395
  469439
  471052
  471987
  472194
  472535
  477129
  483735
  488791
  492506
  492661
  494210
  506626
  510001
  517360
  524258
  530970
  531050
  534083
  536146
  537990
  544098
  553436
  553560
  554728
  559981
  574218
  574319
  577160
  581008
  584219
  585691
  591848
  596402
  597051
  602850
  629044
  635067
  641571
  650719
  661534
  671518
  709788
  726438
  728978
  733422
  734110
  736051
  736191
  741500
  746789
  752557
  752573
  756470
  758450
  760569
  761933
  766154
  767680
  779645
  782056
  782567
  783188
  784833
  784988
  785090
  786091
  787777
  790443
  790447
  790551
  792445
  793115
  796687
  796838
  801658
  801816
  801836
  801980
  802038
  804185
  807060
  807072
  808446
  809630
  811252
  811299
  813724
  816690
  819278
  820166
  823601
  824653
  824811
  825838
  826569
  828207
  828614
]
2.29 ms
(0.94%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "amateur webcam masturbation"
]
2.06 ms
(0.85%)
1
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "любительск вебкамер мастурбац"
]
1.93 ms
(0.80%)
1
SELECT `lang_id`, `code`, `name`, `icon` FROM `lang`
Parameters:
[]
1.62 ms
(0.67%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ?
Parameters:
[
  "любительск вебкамер мастурбац"
]

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.