Query Metrics

7 Database Queries
7 Different statements
164.10 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
140.90 ms
(85.86%)
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
  386904
  395750
  397037
  404478
  406206
  406232
  408695
  411540
  415188
  417830
  418020
  423463
  426818
  429471
  429528
  442276
  447937
  448350
  453438
  453754
  456291
  459124
  464391
  474111
  477968
  489160
  493127
  495458
  496464
  498852
  498865
  498882
  503122
  505460
  510571
  510589
  512893
  515964
  519853
  520232
  520895
  525349
  527451
  529524
  539462
  551290
  556374
  556415
  557526
  562988
  563093
  564767
  569897
  577039
  579405
  583674
  584339
  585364
  591165
  592935
  592944
  593032
  595674
  599160
  600453
  601524
  604429
  604555
  607170
  610197
  610201
  610247
  612080
  615801
  621087
  634824
  640716
  642935
  644373
  649507
  676149
  681259
  705053
  719781
  722107
  730352
  740362
  766300
  790888
  795322
  801532
  802621
  814850
  814883
  816682
  824587
  824756
  826393
]
13.70 ms
(8.35%)
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
  649507
  562988
  577039
  610201
  740362
  601524
  397037
  406206
  557526
  610247
  426818
  824587
  386904
  802621
  826393
  801532
  564767
  634824
  591165
  612080
  408695
  411540
  610197
  615801
  404478
  442276
  814883
  496464
  539462
  790888
  503122
  705053
  824756
  583674
  599160
  493127
  495458
  418020
  795322
  406232
  814850
  593032
  600453
  640716
  730352
  423463
  642935
  719781
  464391
  556374
  556415
  644373
  592935
  607170
  505460
  722107
  429528
  515964
  395750
  429471
  816682
  584339
  551290
  585364
  766300
  563093
  604555
  448350
  498882
  681259
  459124
  595674
  592944
  453438
  527451
  510589
  447937
  474111
  579405
  569897
  477968
  498865
  512893
  621087
  489160
  415188
  453754
  676149
  417830
  456291
  520895
  498852
  529524
  519853
  510571
  525349
  520232
  604429
]
2.87 ms
(1.75%)
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
  386904
  395750
  397037
  404478
  406206
  406232
  408695
  411540
  415188
  417830
  418020
  423463
  426818
  429471
  429528
  442276
  447937
  448350
  453438
  453754
  456291
  459124
  464391
  474111
  477968
  489160
  493127
  495458
  496464
  498852
  498865
  498882
  503122
  505460
  510571
  510589
  512893
  515964
  519853
  520232
  520895
  525349
  527451
  529524
  539462
  551290
  556374
  556415
  557526
  562988
  563093
  564767
  569897
  577039
  579405
  583674
  584339
  585364
  591165
  592935
  592944
  593032
  595674
  599160
  600453
  601524
  604429
  604555
  607170
  610197
  610201
  610247
  612080
  615801
  621087
  634824
  640716
  642935
  644373
  649507
  676149
  681259
  705053
  719781
  722107
  730352
  740362
  766300
  790888
  795322
  801532
  802621
  814850
  814883
  816682
  824587
  824756
  826393
]
1.91 ms
(1.16%)
1
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
  "hairy massage"
]
1.62 ms
(0.99%)
1
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
  "волосатая массаж"
]
1.61 ms
(0.98%)
1
SELECT `lang_id`, `code`, `name`, `icon` FROM `lang`
Parameters:
[]
1.48 ms
(0.90%)
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.