| 4 |
14.08 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
548650
552685
560596
574817
575208
576105
543831
552677
573766
573767
573793
574889
575065
575095
575121
576072
576107
576410
558846
573777
574601
574605
575204
575735
548697
548709
548793
574585
574851
599010
585190
446158
511739
514387
489355
489611
508826
489614
491522
525962
491511
491715
430250
512306
575499
575505
575512
575804
543833
552637
552660
574582
560587
575764
552635
574481
575117
594554
477014
508062
492380
507965
508846
491539
502709
523999
445197
511427
558840
575109
552652
552666
570046
574864
500135
574507
552634
574869
504793
512295
589825
406121
574782
575783
575144
574546
548708
568741
518270
574527
523995
]
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 (
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
)
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`=1 LEFT JOIN post_translation r ON `p`.`post_id` = `r`.`post_id` AND `r`.`lang_id`=2 WHERE p.post_id IN (548650, 552685, 560596, 574817, 575208, 576105, 543831, 552677, 573766, 573767, 573793, 574889, 575065, 575095, 575121, 576072, 576107, 576410, 558846, 573777, 574601, 574605, 575204, 575735, 548697, 548709, 548793, 574585, 574851, 599010, 585190, 446158, 511739, 514387, 489355, 489611, 508826, 489614, 491522, 525962, 491511, 491715, 430250, 512306, 575499, 575505, 575512, 575804, 543833, 552637, 552660, 574582, 560587, 575764, 552635, 574481, 575117, 594554, 477014, 508062, 492380, 507965, 508846, 491539, 502709, 523999, 445197, 511427, 558840, 575109, 552652, 552666, 570046, 574864, 500135, 574507, 552634, 574869, 504793, 512295, 589825, 406121, 574782, 575783, 575144, 574546, 548708, 568741, 518270, 574527, 523995);
|
| 5 |
2.85 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
406121
430250
445197
446158
477014
489355
489611
489614
491511
491522
491539
491715
492380
500135
502709
504793
507965
508062
508826
508846
511427
511739
512295
512306
514387
518270
523995
523999
525962
543831
543833
548650
548697
548708
548709
548793
552634
552635
552637
552652
552660
552666
552677
552685
558840
558846
560587
560596
568741
570046
573766
573767
573777
573793
574481
574507
574527
574546
574582
574585
574601
574605
574782
574817
574851
574864
574869
574889
575065
575095
575109
575117
575121
575144
575204
575208
575499
575505
575512
575735
575764
575783
575804
576072
576105
576107
576410
585190
589825
594554
599010
]
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 (
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
)
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=1 LEFT JOIN tag_translation r ON `t`.`tag_id` = `r`.`tag_id` AND `r`.`lang_id`=2 WHERE pht.post_id IN (406121, 430250, 445197, 446158, 477014, 489355, 489611, 489614, 491511, 491522, 491539, 491715, 492380, 500135, 502709, 504793, 507965, 508062, 508826, 508846, 511427, 511739, 512295, 512306, 514387, 518270, 523995, 523999, 525962, 543831, 543833, 548650, 548697, 548708, 548709, 548793, 552634, 552635, 552637, 552652, 552660, 552666, 552677, 552685, 558840, 558846, 560587, 560596, 568741, 570046, 573766, 573767, 573777, 573793, 574481, 574507, 574527, 574546, 574582, 574585, 574601, 574605, 574782, 574817, 574851, 574864, 574869, 574889, 575065, 575095, 575109, 575117, 575121, 575144, 575204, 575208, 575499, 575505, 575512, 575735, 575764, 575783, 575804, 576072, 576105, 576107, 576410, 585190, 589825, 594554, 599010);
|
| 6 |
109.82 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
406121
430250
445197
446158
477014
489355
489611
489614
491511
491522
491539
491715
492380
500135
502709
504793
507965
508062
508826
508846
511427
511739
512295
512306
514387
518270
523995
523999
525962
543831
543833
548650
548697
548708
548709
548793
552634
552635
552637
552652
552660
552666
552677
552685
558840
558846
560587
560596
568741
570046
573766
573767
573777
573793
574481
574507
574527
574546
574582
574585
574601
574605
574782
574817
574851
574864
574869
574889
575065
575095
575109
575117
575121
575144
575204
575208
575499
575505
575512
575735
575764
575783
575804
576072
576105
576107
576410
585190
589825
594554
599010
]
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 (
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
)
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=1 LEFT JOIN category_translation r ON `c`.`category_id` = `r`.`category_id` AND `r`.`lang_id`=2 WHERE phc.post_id IN (406121, 430250, 445197, 446158, 477014, 489355, 489611, 489614, 491511, 491522, 491539, 491715, 492380, 500135, 502709, 504793, 507965, 508062, 508826, 508846, 511427, 511739, 512295, 512306, 514387, 518270, 523995, 523999, 525962, 543831, 543833, 548650, 548697, 548708, 548709, 548793, 552634, 552635, 552637, 552652, 552660, 552666, 552677, 552685, 558840, 558846, 560587, 560596, 568741, 570046, 573766, 573767, 573777, 573793, 574481, 574507, 574527, 574546, 574582, 574585, 574601, 574605, 574782, 574817, 574851, 574864, 574869, 574889, 575065, 575095, 575109, 575117, 575121, 575144, 575204, 575208, 575499, 575505, 575512, 575735, 575764, 575783, 575804, 576072, 576105, 576107, 576410, 585190, 589825, 594554, 599010);
|