Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
177.21 ms
(83.79%)
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
  23670
  256898
  382372
  391043
  392418
  397665
  397962
  400619
  408837
  413143
  414092
  421009
  426477
  429471
  439871
  448886
  452853
  454763
  454902
  456842
  461009
  461256
  472214
  472732
  474381
  476510
  476748
  480238
  480240
  492407
  492630
  495376
  496571
  515016
  518786
  519594
  524653
  525158
  526547
  530675
  531053
  533858
  539977
  545327
  550042
  556591
  566055
  574886
  580341
  581878
  582070
  582484
  584723
  584849
  585075
  589966
  596860
  599075
  606714
  607139
  607650
  608467
  617869
  621092
  629117
  636162
  643541
  644010
  645528
  648079
  649936
  650447
  653187
  659428
  661062
  661321
  661339
  661694
  661702
  661714
  661743
  674081
  677028
  677367
  699237
  699456
  701131
  709169
  714414
  727151
  729644
  730741
  731092
  745685
  753155
  754447
  762703
  766441
  771847
  773670
  775754
  776431
  781211
  781645
  786562
  788618
  789321
  790634
  799400
  801384
  801718
  806865
  807364
  809794
  812870
  815386
  818866
  819223
  820671
  822834
]
17.30 ms
(8.18%)
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
  456842
  480240
  413143
  472214
  421009
  495376
  525158
  23670
  397962
  429471
  822834
  818866
  539977
  584723
  584849
  556591
  582070
  650447
  661714
  653187
  661694
  709169
  649936
  574886
  589966
  596860
  606714
  644010
  599075
  621092
  801384
  754447
  781645
  801718
  762703
  771847
  730741
  607650
  629117
  786562
  788618
  806865
  807364
  391043
  400619
  256898
  408837
  448886
  452853
  454763
  474381
  476748
  480238
  674081
  773670
  607139
  392418
  476510
  461256
  526547
  492407
  515016
  519594
  518786
  382372
  820671
  819223
  454902
  530675
  533858
  531053
  472732
  645528
  648079
  677367
  699456
  659428
  661062
  699237
  661321
  661743
  582484
  643541
  608467
  636162
  775754
  799400
  809794
  812870
  776431
  781211
  790634
  729644
  766441
  745685
  731092
  727151
  753155
  617869
  701131
  714414
  789321
  439871
  461009
  397665
  414092
  426477
  524653
  585075
  815386
  492630
  496571
  545327
  580341
  566055
  581878
  661702
  661339
  677028
  550042
]
5.96 ms
(2.82%)
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:
[
  "body beauty"
  "body beauty"
  "body beauty"
  20
]
3.30 ms
(1.56%)
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
  23670
  256898
  382372
  391043
  392418
  397665
  397962
  400619
  408837
  413143
  414092
  421009
  426477
  429471
  439871
  448886
  452853
  454763
  454902
  456842
  461009
  461256
  472214
  472732
  474381
  476510
  476748
  480238
  480240
  492407
  492630
  495376
  496571
  515016
  518786
  519594
  524653
  525158
  526547
  530675
  531053
  533858
  539977
  545327
  550042
  556591
  566055
  574886
  580341
  581878
  582070
  582484
  584723
  584849
  585075
  589966
  596860
  599075
  606714
  607139
  607650
  608467
  617869
  621092
  629117
  636162
  643541
  644010
  645528
  648079
  649936
  650447
  653187
  659428
  661062
  661321
  661339
  661694
  661702
  661714
  661743
  674081
  677028
  677367
  699237
  699456
  701131
  709169
  714414
  727151
  729644
  730741
  731092
  745685
  753155
  754447
  762703
  766441
  771847
  773670
  775754
  776431
  781211
  781645
  786562
  788618
  789321
  790634
  799400
  801384
  801718
  806865
  807364
  809794
  812870
  815386
  818866
  819223
  820671
  822834
]
2.31 ms
(1.09%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "body beauty"
]
1.99 ms
(0.94%)
1
SELECT `lang_id`, `code`, `name`, `icon` FROM `lang`
Parameters:
[]
1.73 ms
(0.82%)
1
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "body beauty"
]
1.70 ms
(0.80%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ?
Parameters:
[
  "body beauty"
]

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.