Query Metrics
7
Database Queries
7
Different statements
128.18 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
106.24 ms (82.89%) |
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 423349 441537 466821 472244 479006 480924 486421 495579 498254 499371 502841 503459 506088 507697 509981 516754 528692 528788 530935 530943 532351 534784 552343 553227 562062 568455 568973 577697 580243 585976 586566 587937 592481 592762 593812 595099 595358 596555 599305 602642 605359 606946 609161 610654 613310 613394 614956 619724 619823 623744 635584 642504 647495 661974 664593 666125 668508 677064 680249 696202 696430 697006 705099 729260 730914 731437 749924 750611 750718 751567 763720 765860 772600 784003 787120 797437 799553 800030 804927 811124 ] |
||||||||||||||||||||||||||||||
|
11.69 ms (9.12%) |
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 580243 677064 647495 680249 577697 592481 602642 619724 587937 595358 606946 613310 800030 799553 811124 730914 751567 787120 729260 750718 765860 763720 635584 797437 800178 480924 472244 499371 498254 486421 553227 661974 664593 696202 705099 666125 668508 696430 562062 592762 586566 599305 642504 784003 772600 731437 610654 804927 479006 503459 441537 532351 534784 495579 516754 528692 530943 697006 552343 568973 614956 619823 595099 593812 750611 466821 507697 502841 596555 749924 423349 506088 530935 623744 609161 605359 509981 568455 585976 528788 613394 ] |
||||||||||||||||||||||||||||||
|
2.85 ms (2.23%) |
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 423349 441537 466821 472244 479006 480924 486421 495579 498254 499371 502841 503459 506088 507697 509981 516754 528692 528788 530935 530943 532351 534784 552343 553227 562062 568455 568973 577697 580243 585976 586566 587937 592481 592762 593812 595099 595358 596555 599305 602642 605359 606946 609161 610654 613310 613394 614956 619724 619823 623744 635584 642504 647495 661974 664593 666125 668508 677064 680249 696202 696430 697006 705099 729260 730914 731437 749924 750611 750718 751567 763720 765860 772600 784003 787120 797437 799553 800030 804927 811124 ] |
||||||||||||||||||||||||||||||
|
2.17 ms (1.69%) |
1 |
SELECT `trend_id` FROM `trend` WHERE `subject` = ? LIMIT 1
Parameters:
[
"фанаты"
]
|
||||||||||||||||||||||||||||||
|
1.79 ms (1.40%) |
1 |
SELECT `query_id` FROM `search_log` WHERE `query` = ?
Parameters:
[
"фанат"
]
|
||||||||||||||||||||||||||||||
|
1.72 ms (1.35%) |
1 |
SELECT `lang_id`, `code`, `name`, `icon` FROM `lang`
Parameters:
[] |
||||||||||||||||||||||||||||||
|
1.71 ms (1.33%) |
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.