3
15.03 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
817389
817397
754312
817668
690508
817631
718569
695076
649019
649723
650706
780211
753514
754338
818745
600717
640913
642902
781431
627986
818787
524462
555451
672319
610696
810618
731380
745598
767771
787472
817636
549965
583220
651865
637978
626829
785753
766483
631869
796531
665094
791528
796536
477629
701971
768785
803816
814213
658983
489772
573993
584623
673415
600728
462888
476037
442345
492707
615182
599827
599797
537287
817649
482449
481567
798907
569433
510125
462890
469651
554649
513506
]
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 (817389 , 817397 , 754312 , 817668 , 690508 , 817631 , 718569 , 695076 , 649019 , 649723 , 650706 , 780211 , 753514 , 754338 , 818745 , 600717 , 640913 , 642902 , 781431 , 627986 , 818787 , 524462 , 555451 , 672319 , 610696 , 810618 , 731380 , 745598 , 767771 , 787472 , 817636 , 549965 , 583220 , 651865 , 637978 , 626829 , 785753 , 766483 , 631869 , 796531 , 665094 , 791528 , 796536 , 477629 , 701971 , 768785 , 803816 , 814213 , 658983 , 489772 , 573993 , 584623 , 673415 , 600728 , 462888 , 476037 , 442345 , 492707 , 615182 , 599827 , 599797 , 537287 , 817649 , 482449 , 481567 , 798907 , 569433 , 510125 , 462890 , 469651 , 554649 , 513506 );
Copy
4
2.03 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
442345
462888
462890
469651
476037
477629
481567
482449
489772
492707
510125
513506
524462
537287
549965
554649
555451
569433
573993
583220
584623
599797
599827
600717
600728
610696
615182
626829
627986
631869
637978
640913
642902
649019
649723
650706
651865
658983
665094
672319
673415
690508
695076
701971
718569
731380
745598
753514
754312
754338
766483
767771
768785
780211
781431
785753
787472
791528
796531
796536
798907
803816
810618
814213
817389
817397
817631
817636
817649
817668
818745
818787
]
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 (442345 , 462888 , 462890 , 469651 , 476037 , 477629 , 481567 , 482449 , 489772 , 492707 , 510125 , 513506 , 524462 , 537287 , 549965 , 554649 , 555451 , 569433 , 573993 , 583220 , 584623 , 599797 , 599827 , 600717 , 600728 , 610696 , 615182 , 626829 , 627986 , 631869 , 637978 , 640913 , 642902 , 649019 , 649723 , 650706 , 651865 , 658983 , 665094 , 672319 , 673415 , 690508 , 695076 , 701971 , 718569 , 731380 , 745598 , 753514 , 754312 , 754338 , 766483 , 767771 , 768785 , 780211 , 781431 , 785753 , 787472 , 791528 , 796531 , 796536 , 798907 , 803816 , 810618 , 814213 , 817389 , 817397 , 817631 , 817636 , 817649 , 817668 , 818745 , 818787 );
Copy
5
109.53 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
442345
462888
462890
469651
476037
477629
481567
482449
489772
492707
510125
513506
524462
537287
549965
554649
555451
569433
573993
583220
584623
599797
599827
600717
600728
610696
615182
626829
627986
631869
637978
640913
642902
649019
649723
650706
651865
658983
665094
672319
673415
690508
695076
701971
718569
731380
745598
753514
754312
754338
766483
767771
768785
780211
781431
785753
787472
791528
796531
796536
798907
803816
810618
814213
817389
817397
817631
817636
817649
817668
818745
818787
]
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 (442345 , 462888 , 462890 , 469651 , 476037 , 477629 , 481567 , 482449 , 489772 , 492707 , 510125 , 513506 , 524462 , 537287 , 549965 , 554649 , 555451 , 569433 , 573993 , 583220 , 584623 , 599797 , 599827 , 600717 , 600728 , 610696 , 615182 , 626829 , 627986 , 631869 , 637978 , 640913 , 642902 , 649019 , 649723 , 650706 , 651865 , 658983 , 665094 , 672319 , 673415 , 690508 , 695076 , 701971 , 718569 , 731380 , 745598 , 753514 , 754312 , 754338 , 766483 , 767771 , 768785 , 780211 , 781431 , 785753 , 787472 , 791528 , 796531 , 796536 , 798907 , 803816 , 810618 , 814213 , 817389 , 817397 , 817631 , 817636 , 817649 , 817668 , 818745 , 818787 );
Copy