4
10.76 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
557717
595161
784895
384823
538506
695498
530928
712238
670313
702170
698991
622284
414254
405458
404532
669347
670315
708653
454908
580772
517062
456089
489442
504893
702173
718697
767941
506581
6863
451735
683663
549751
586832
593113
593140
593156
586932
805162
633518
586868
548721
669341
670306
701774
593921
593211
599956
805243
753486
461447
509897
523066
558156
558148
399807
395892
463897
472313
529043
519551
524533
443018
600281
504793
593180
599938
486934
]
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 (557717 , 595161 , 784895 , 384823 , 538506 , 695498 , 530928 , 712238 , 670313 , 702170 , 698991 , 622284 , 414254 , 405458 , 404532 , 669347 , 670315 , 708653 , 454908 , 580772 , 517062 , 456089 , 489442 , 504893 , 702173 , 718697 , 767941 , 506581 , 6863 , 451735 , 683663 , 549751 , 586832 , 593113 , 593140 , 593156 , 586932 , 805162 , 633518 , 586868 , 548721 , 669341 , 670306 , 701774 , 593921 , 593211 , 599956 , 805243 , 753486 , 461447 , 509897 , 523066 , 558156 , 558148 , 399807 , 395892 , 463897 , 472313 , 529043 , 519551 , 524533 , 443018 , 600281 , 504793 , 593180 , 599938 , 486934 );
Copy
5
3.51 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
6863
384823
395892
399807
404532
405458
414254
443018
451735
454908
456089
461447
463897
472313
486934
489442
504793
504893
506581
509897
517062
519551
523066
524533
529043
530928
538506
548721
549751
557717
558148
558156
580772
586832
586868
586932
593113
593140
593156
593180
593211
593921
595161
599938
599956
600281
622284
633518
669341
669347
670306
670313
670315
683663
695498
698991
701774
702170
702173
708653
712238
718697
753486
767941
784895
805162
805243
]
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 (6863 , 384823 , 395892 , 399807 , 404532 , 405458 , 414254 , 443018 , 451735 , 454908 , 456089 , 461447 , 463897 , 472313 , 486934 , 489442 , 504793 , 504893 , 506581 , 509897 , 517062 , 519551 , 523066 , 524533 , 529043 , 530928 , 538506 , 548721 , 549751 , 557717 , 558148 , 558156 , 580772 , 586832 , 586868 , 586932 , 593113 , 593140 , 593156 , 593180 , 593211 , 593921 , 595161 , 599938 , 599956 , 600281 , 622284 , 633518 , 669341 , 669347 , 670306 , 670313 , 670315 , 683663 , 695498 , 698991 , 701774 , 702170 , 702173 , 708653 , 712238 , 718697 , 753486 , 767941 , 784895 , 805162 , 805243 );
Copy
6
80.10 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
6863
384823
395892
399807
404532
405458
414254
443018
451735
454908
456089
461447
463897
472313
486934
489442
504793
504893
506581
509897
517062
519551
523066
524533
529043
530928
538506
548721
549751
557717
558148
558156
580772
586832
586868
586932
593113
593140
593156
593180
593211
593921
595161
599938
599956
600281
622284
633518
669341
669347
670306
670313
670315
683663
695498
698991
701774
702170
702173
708653
712238
718697
753486
767941
784895
805162
805243
]
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 (6863 , 384823 , 395892 , 399807 , 404532 , 405458 , 414254 , 443018 , 451735 , 454908 , 456089 , 461447 , 463897 , 472313 , 486934 , 489442 , 504793 , 504893 , 506581 , 509897 , 517062 , 519551 , 523066 , 524533 , 529043 , 530928 , 538506 , 548721 , 549751 , 557717 , 558148 , 558156 , 580772 , 586832 , 586868 , 586932 , 593113 , 593140 , 593156 , 593180 , 593211 , 593921 , 595161 , 599938 , 599956 , 600281 , 622284 , 633518 , 669341 , 669347 , 670306 , 670313 , 670315 , 683663 , 695498 , 698991 , 701774 , 702170 , 702173 , 708653 , 712238 , 718697 , 753486 , 767941 , 784895 , 805162 , 805243 );
Copy