3
224.46 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
698218
533271
566443
728862
817032
674257
89205
662522
702682
576949
553417
575228
777474
757983
727797
635770
715821
661004
667789
757735
617819
778035
566394
551154
656643
689531
642259
626191
778971
796933
575912
626200
796343
427429
510530
443896
461887
534827
669702
589299
809678
454405
460855
489531
566392
568192
773703
430805
456171
464039
459883
669035
598842
475604
512668
468627
543362
723164
563143
750152
403900
481124
520020
467868
456164
453343
439730
]
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 (698218 , 533271 , 566443 , 728862 , 817032 , 674257 , 89205 , 662522 , 702682 , 576949 , 553417 , 575228 , 777474 , 757983 , 727797 , 635770 , 715821 , 661004 , 667789 , 757735 , 617819 , 778035 , 566394 , 551154 , 656643 , 689531 , 642259 , 626191 , 778971 , 796933 , 575912 , 626200 , 796343 , 427429 , 510530 , 443896 , 461887 , 534827 , 669702 , 589299 , 809678 , 454405 , 460855 , 489531 , 566392 , 568192 , 773703 , 430805 , 456171 , 464039 , 459883 , 669035 , 598842 , 475604 , 512668 , 468627 , 543362 , 723164 , 563143 , 750152 , 403900 , 481124 , 520020 , 467868 , 456164 , 453343 , 439730 );
Copy
4
2.59 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
89205
403900
427429
430805
439730
443896
453343
454405
456164
456171
459883
460855
461887
464039
467868
468627
475604
481124
489531
510530
512668
520020
533271
534827
543362
551154
553417
563143
566392
566394
566443
568192
575228
575912
576949
589299
598842
617819
626191
626200
635770
642259
656643
661004
662522
667789
669035
669702
674257
689531
698218
702682
715821
723164
727797
728862
750152
757735
757983
773703
777474
778035
778971
796343
796933
809678
817032
]
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 (89205 , 403900 , 427429 , 430805 , 439730 , 443896 , 453343 , 454405 , 456164 , 456171 , 459883 , 460855 , 461887 , 464039 , 467868 , 468627 , 475604 , 481124 , 489531 , 510530 , 512668 , 520020 , 533271 , 534827 , 543362 , 551154 , 553417 , 563143 , 566392 , 566394 , 566443 , 568192 , 575228 , 575912 , 576949 , 589299 , 598842 , 617819 , 626191 , 626200 , 635770 , 642259 , 656643 , 661004 , 662522 , 667789 , 669035 , 669702 , 674257 , 689531 , 698218 , 702682 , 715821 , 723164 , 727797 , 728862 , 750152 , 757735 , 757983 , 773703 , 777474 , 778035 , 778971 , 796343 , 796933 , 809678 , 817032 );
Copy
5
88.89 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
89205
403900
427429
430805
439730
443896
453343
454405
456164
456171
459883
460855
461887
464039
467868
468627
475604
481124
489531
510530
512668
520020
533271
534827
543362
551154
553417
563143
566392
566394
566443
568192
575228
575912
576949
589299
598842
617819
626191
626200
635770
642259
656643
661004
662522
667789
669035
669702
674257
689531
698218
702682
715821
723164
727797
728862
750152
757735
757983
773703
777474
778035
778971
796343
796933
809678
817032
]
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 (89205 , 403900 , 427429 , 430805 , 439730 , 443896 , 453343 , 454405 , 456164 , 456171 , 459883 , 460855 , 461887 , 464039 , 467868 , 468627 , 475604 , 481124 , 489531 , 510530 , 512668 , 520020 , 533271 , 534827 , 543362 , 551154 , 553417 , 563143 , 566392 , 566394 , 566443 , 568192 , 575228 , 575912 , 576949 , 589299 , 598842 , 617819 , 626191 , 626200 , 635770 , 642259 , 656643 , 661004 , 662522 , 667789 , 669035 , 669702 , 674257 , 689531 , 698218 , 702682 , 715821 , 723164 , 727797 , 728862 , 750152 , 757735 , 757983 , 773703 , 777474 , 778035 , 778971 , 796343 , 796933 , 809678 , 817032 );
Copy