3
11.85 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
705463
790306
588945
798893
405805
382501
523921
565043
736693
550635
603025
384282
705102
518081
572220
453436
574979
454046
428265
516444
529134
424917
532049
802648
709228
434057
551816
584739
385748
445688
543437
569950
598857
626330
434017
525145
443543
551798
569962
796135
437613
442402
471628
427332
546697
587890
416039
524782
511078
443000
441447
685477
619849
421043
525298
714074
608111
608737
533623
567188
731279
608242
567187
532129
538027
]
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 (
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ?
)
Copy
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 (705463 , 790306 , 588945 , 798893 , 405805 , 382501 , 523921 , 565043 , 736693 , 550635 , 603025 , 384282 , 705102 , 518081 , 572220 , 453436 , 574979 , 454046 , 428265 , 516444 , 529134 , 424917 , 532049 , 802648 , 709228 , 434057 , 551816 , 584739 , 385748 , 445688 , 543437 , 569950 , 598857 , 626330 , 434017 , 525145 , 443543 , 551798 , 569962 , 796135 , 437613 , 442402 , 471628 , 427332 , 546697 , 587890 , 416039 , 524782 , 511078 , 443000 , 441447 , 685477 , 619849 , 421043 , 525298 , 714074 , 608111 , 608737 , 533623 , 567188 , 731279 , 608242 , 567187 , 532129 , 538027 );
Copy
4
2.93 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
382501
384282
385748
405805
416039
421043
424917
427332
428265
434017
434057
437613
441447
442402
443000
443543
445688
453436
454046
471628
511078
516444
518081
523921
524782
525145
525298
529134
532049
532129
533623
538027
543437
546697
550635
551798
551816
565043
567187
567188
569950
569962
572220
574979
584739
587890
588945
598857
603025
608111
608242
608737
619849
626330
685477
705102
705463
709228
714074
731279
736693
790306
796135
798893
802648
]
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 (
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ?
)
Copy
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 (382501 , 384282 , 385748 , 405805 , 416039 , 421043 , 424917 , 427332 , 428265 , 434017 , 434057 , 437613 , 441447 , 442402 , 443000 , 443543 , 445688 , 453436 , 454046 , 471628 , 511078 , 516444 , 518081 , 523921 , 524782 , 525145 , 525298 , 529134 , 532049 , 532129 , 533623 , 538027 , 543437 , 546697 , 550635 , 551798 , 551816 , 565043 , 567187 , 567188 , 569950 , 569962 , 572220 , 574979 , 584739 , 587890 , 588945 , 598857 , 603025 , 608111 , 608242 , 608737 , 619849 , 626330 , 685477 , 705102 , 705463 , 709228 , 714074 , 731279 , 736693 , 790306 , 796135 , 798893 , 802648 );
Copy
5
98.15 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
382501
384282
385748
405805
416039
421043
424917
427332
428265
434017
434057
437613
441447
442402
443000
443543
445688
453436
454046
471628
511078
516444
518081
523921
524782
525145
525298
529134
532049
532129
533623
538027
543437
546697
550635
551798
551816
565043
567187
567188
569950
569962
572220
574979
584739
587890
588945
598857
603025
608111
608242
608737
619849
626330
685477
705102
705463
709228
714074
731279
736693
790306
796135
798893
802648
]
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 (
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ?
)
Copy
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 (382501 , 384282 , 385748 , 405805 , 416039 , 421043 , 424917 , 427332 , 428265 , 434017 , 434057 , 437613 , 441447 , 442402 , 443000 , 443543 , 445688 , 453436 , 454046 , 471628 , 511078 , 516444 , 518081 , 523921 , 524782 , 525145 , 525298 , 529134 , 532049 , 532129 , 533623 , 538027 , 543437 , 546697 , 550635 , 551798 , 551816 , 565043 , 567187 , 567188 , 569950 , 569962 , 572220 , 574979 , 584739 , 587890 , 588945 , 598857 , 603025 , 608111 , 608242 , 608737 , 619849 , 626330 , 685477 , 705102 , 705463 , 709228 , 714074 , 731279 , 736693 , 790306 , 796135 , 798893 , 802648 );
Copy