3
8.15 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
713427
729036
810136
731010
729007
753057
617812
825264
700821
782404
753033
324568
710590
589672
665592
390467
825170
753023
824520
804028
824224
824765
732963
796860
826597
459472
389819
742636
825405
797333
391923
824833
456022
579510
662900
511061
562462
641807
592690
578169
813793
589120
733564
738255
426294
706889
664579
420304
390650
813822
571131
552569
587298
802291
578198
466992
485400
523622
554793
781857
407442
491436
491860
517697
595097
525992
463973
428174
590418
489868
515964
555055
562423
]
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 (713427 , 729036 , 810136 , 731010 , 729007 , 753057 , 617812 , 825264 , 700821 , 782404 , 753033 , 324568 , 710590 , 589672 , 665592 , 390467 , 825170 , 753023 , 824520 , 804028 , 824224 , 824765 , 732963 , 796860 , 826597 , 459472 , 389819 , 742636 , 825405 , 797333 , 391923 , 824833 , 456022 , 579510 , 662900 , 511061 , 562462 , 641807 , 592690 , 578169 , 813793 , 589120 , 733564 , 738255 , 426294 , 706889 , 664579 , 420304 , 390650 , 813822 , 571131 , 552569 , 587298 , 802291 , 578198 , 466992 , 485400 , 523622 , 554793 , 781857 , 407442 , 491436 , 491860 , 517697 , 595097 , 525992 , 463973 , 428174 , 590418 , 489868 , 515964 , 555055 , 562423 );
Copy
4
1.99 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
324568
389819
390467
390650
391923
407442
420304
426294
428174
456022
459472
463973
466992
485400
489868
491436
491860
511061
515964
517697
523622
525992
552569
554793
555055
562423
562462
571131
578169
578198
579510
587298
589120
589672
590418
592690
595097
617812
641807
662900
664579
665592
700821
706889
710590
713427
729007
729036
731010
732963
733564
738255
742636
753023
753033
753057
781857
782404
796860
797333
802291
804028
810136
813793
813822
824224
824520
824765
824833
825170
825264
825405
826597
]
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 (324568 , 389819 , 390467 , 390650 , 391923 , 407442 , 420304 , 426294 , 428174 , 456022 , 459472 , 463973 , 466992 , 485400 , 489868 , 491436 , 491860 , 511061 , 515964 , 517697 , 523622 , 525992 , 552569 , 554793 , 555055 , 562423 , 562462 , 571131 , 578169 , 578198 , 579510 , 587298 , 589120 , 589672 , 590418 , 592690 , 595097 , 617812 , 641807 , 662900 , 664579 , 665592 , 700821 , 706889 , 710590 , 713427 , 729007 , 729036 , 731010 , 732963 , 733564 , 738255 , 742636 , 753023 , 753033 , 753057 , 781857 , 782404 , 796860 , 797333 , 802291 , 804028 , 810136 , 813793 , 813822 , 824224 , 824520 , 824765 , 824833 , 825170 , 825264 , 825405 , 826597 );
Copy
5
111.77 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
324568
389819
390467
390650
391923
407442
420304
426294
428174
456022
459472
463973
466992
485400
489868
491436
491860
511061
515964
517697
523622
525992
552569
554793
555055
562423
562462
571131
578169
578198
579510
587298
589120
589672
590418
592690
595097
617812
641807
662900
664579
665592
700821
706889
710590
713427
729007
729036
731010
732963
733564
738255
742636
753023
753033
753057
781857
782404
796860
797333
802291
804028
810136
813793
813822
824224
824520
824765
824833
825170
825264
825405
826597
]
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 (324568 , 389819 , 390467 , 390650 , 391923 , 407442 , 420304 , 426294 , 428174 , 456022 , 459472 , 463973 , 466992 , 485400 , 489868 , 491436 , 491860 , 511061 , 515964 , 517697 , 523622 , 525992 , 552569 , 554793 , 555055 , 562423 , 562462 , 571131 , 578169 , 578198 , 579510 , 587298 , 589120 , 589672 , 590418 , 592690 , 595097 , 617812 , 641807 , 662900 , 664579 , 665592 , 700821 , 706889 , 710590 , 713427 , 729007 , 729036 , 731010 , 732963 , 733564 , 738255 , 742636 , 753023 , 753033 , 753057 , 781857 , 782404 , 796860 , 797333 , 802291 , 804028 , 810136 , 813793 , 813822 , 824224 , 824520 , 824765 , 824833 , 825170 , 825264 , 825405 , 826597 );
Copy