| 4 |
13.84 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
550512
552008
653415
546038
546041
550776
558426
559873
600806
619433
585381
789831
786454
792552
731497
623519
409949
409958
457263
489806
429541
429565
457773
451531
483564
498620
512193
556389
572732
578290
550721
550735
706652
552053
559856
559866
576991
610669
589684
639266
643028
591849
619177
788115
634867
419947
524178
382971
463111
510160
512212
512215
559877
545849
550752
550979
551995
550748
550763
559918
578685
584794
595792
588656
590959
592377
619411
590978
799721
417960
470451
432337
551982
558425
574155
559925
563991
551991
556374
478025
445971
551997
600490
417787
515891
574156
710794
596856
512208
551989
595121
552004
632059
]
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 (550512, 552008, 653415, 546038, 546041, 550776, 558426, 559873, 600806, 619433, 585381, 789831, 786454, 792552, 731497, 623519, 409949, 409958, 457263, 489806, 429541, 429565, 457773, 451531, 483564, 498620, 512193, 556389, 572732, 578290, 550721, 550735, 706652, 552053, 559856, 559866, 576991, 610669, 589684, 639266, 643028, 591849, 619177, 788115, 634867, 419947, 524178, 382971, 463111, 510160, 512212, 512215, 559877, 545849, 550752, 550979, 551995, 550748, 550763, 559918, 578685, 584794, 595792, 588656, 590959, 592377, 619411, 590978, 799721, 417960, 470451, 432337, 551982, 558425, 574155, 559925, 563991, 551991, 556374, 478025, 445971, 551997, 600490, 417787, 515891, 574156, 710794, 596856, 512208, 551989, 595121, 552004, 632059);
|
| 5 |
2.57 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
382971
409949
409958
417787
417960
419947
429541
429565
432337
445971
451531
457263
457773
463111
470451
478025
483564
489806
498620
510160
512193
512208
512212
512215
515891
524178
545849
546038
546041
550512
550721
550735
550748
550752
550763
550776
550979
551982
551989
551991
551995
551997
552004
552008
552053
556374
556389
558425
558426
559856
559866
559873
559877
559918
559925
563991
572732
574155
574156
576991
578290
578685
584794
585381
588656
589684
590959
590978
591849
592377
595121
595792
596856
600490
600806
610669
619177
619411
619433
623519
632059
634867
639266
643028
653415
706652
710794
731497
786454
788115
789831
792552
799721
]
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 (382971, 409949, 409958, 417787, 417960, 419947, 429541, 429565, 432337, 445971, 451531, 457263, 457773, 463111, 470451, 478025, 483564, 489806, 498620, 510160, 512193, 512208, 512212, 512215, 515891, 524178, 545849, 546038, 546041, 550512, 550721, 550735, 550748, 550752, 550763, 550776, 550979, 551982, 551989, 551991, 551995, 551997, 552004, 552008, 552053, 556374, 556389, 558425, 558426, 559856, 559866, 559873, 559877, 559918, 559925, 563991, 572732, 574155, 574156, 576991, 578290, 578685, 584794, 585381, 588656, 589684, 590959, 590978, 591849, 592377, 595121, 595792, 596856, 600490, 600806, 610669, 619177, 619411, 619433, 623519, 632059, 634867, 639266, 643028, 653415, 706652, 710794, 731497, 786454, 788115, 789831, 792552, 799721);
|
| 6 |
107.55 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
382971
409949
409958
417787
417960
419947
429541
429565
432337
445971
451531
457263
457773
463111
470451
478025
483564
489806
498620
510160
512193
512208
512212
512215
515891
524178
545849
546038
546041
550512
550721
550735
550748
550752
550763
550776
550979
551982
551989
551991
551995
551997
552004
552008
552053
556374
556389
558425
558426
559856
559866
559873
559877
559918
559925
563991
572732
574155
574156
576991
578290
578685
584794
585381
588656
589684
590959
590978
591849
592377
595121
595792
596856
600490
600806
610669
619177
619411
619433
623519
632059
634867
639266
643028
653415
706652
710794
731497
786454
788115
789831
792552
799721
]
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 (382971, 409949, 409958, 417787, 417960, 419947, 429541, 429565, 432337, 445971, 451531, 457263, 457773, 463111, 470451, 478025, 483564, 489806, 498620, 510160, 512193, 512208, 512212, 512215, 515891, 524178, 545849, 546038, 546041, 550512, 550721, 550735, 550748, 550752, 550763, 550776, 550979, 551982, 551989, 551991, 551995, 551997, 552004, 552008, 552053, 556374, 556389, 558425, 558426, 559856, 559866, 559873, 559877, 559918, 559925, 563991, 572732, 574155, 574156, 576991, 578290, 578685, 584794, 585381, 588656, 589684, 590959, 590978, 591849, 592377, 595121, 595792, 596856, 600490, 600806, 610669, 619177, 619411, 619433, 623519, 632059, 634867, 639266, 643028, 653415, 706652, 710794, 731497, 786454, 788115, 789831, 792552, 799721);
|