3
10.43 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
790844
828298
467042
643531
816721
726562
416102
558821
607574
429245
721707
616070
711616
812877
738241
770032
648739
811676
709723
614726
785548
728048
726662
403999
797636
590071
720342
825339
589993
800820
750616
813639
821471
816734
407322
813861
529681
403592
548164
446691
809840
625680
760991
465704
452316
397780
817903
531004
595071
812598
435927
444440
444062
472479
569412
591710
756990
413978
486288
473461
475277
482722
486730
591357
738262
737551
420530
418860
627018
559952
541434
503587
581620
596196
472693
478148
]
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 (790844 , 828298 , 467042 , 643531 , 816721 , 726562 , 416102 , 558821 , 607574 , 429245 , 721707 , 616070 , 711616 , 812877 , 738241 , 770032 , 648739 , 811676 , 709723 , 614726 , 785548 , 728048 , 726662 , 403999 , 797636 , 590071 , 720342 , 825339 , 589993 , 800820 , 750616 , 813639 , 821471 , 816734 , 407322 , 813861 , 529681 , 403592 , 548164 , 446691 , 809840 , 625680 , 760991 , 465704 , 452316 , 397780 , 817903 , 531004 , 595071 , 812598 , 435927 , 444440 , 444062 , 472479 , 569412 , 591710 , 756990 , 413978 , 486288 , 473461 , 475277 , 482722 , 486730 , 591357 , 738262 , 737551 , 420530 , 418860 , 627018 , 559952 , 541434 , 503587 , 581620 , 596196 , 472693 , 478148 );
Copy
4
2.45 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
397780
403592
403999
407322
413978
416102
418860
420530
429245
435927
444062
444440
446691
452316
465704
467042
472479
472693
473461
475277
478148
482722
486288
486730
503587
529681
531004
541434
548164
558821
559952
569412
581620
589993
590071
591357
591710
595071
596196
607574
614726
616070
625680
627018
643531
648739
709723
711616
720342
721707
726562
726662
728048
737551
738241
738262
750616
756990
760991
770032
785548
790844
797636
800820
809840
811676
812598
812877
813639
813861
816721
816734
817903
821471
825339
]
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 (397780 , 403592 , 403999 , 407322 , 413978 , 416102 , 418860 , 420530 , 429245 , 435927 , 444062 , 444440 , 446691 , 452316 , 465704 , 467042 , 472479 , 472693 , 473461 , 475277 , 478148 , 482722 , 486288 , 486730 , 503587 , 529681 , 531004 , 541434 , 548164 , 558821 , 559952 , 569412 , 581620 , 589993 , 590071 , 591357 , 591710 , 595071 , 596196 , 607574 , 614726 , 616070 , 625680 , 627018 , 643531 , 648739 , 709723 , 711616 , 720342 , 721707 , 726562 , 726662 , 728048 , 737551 , 738241 , 738262 , 750616 , 756990 , 760991 , 770032 , 785548 , 790844 , 797636 , 800820 , 809840 , 811676 , 812598 , 812877 , 813639 , 813861 , 816721 , 816734 , 817903 , 821471 , 825339 );
Copy
5
105.66 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
397780
403592
403999
407322
413978
416102
418860
420530
429245
435927
444062
444440
446691
452316
465704
467042
472479
472693
473461
475277
478148
482722
486288
486730
503587
529681
531004
541434
548164
558821
559952
569412
581620
589993
590071
591357
591710
595071
596196
607574
614726
616070
625680
627018
643531
648739
709723
711616
720342
721707
726562
726662
728048
737551
738241
738262
750616
756990
760991
770032
785548
790844
797636
800820
809840
811676
812598
812877
813639
813861
816721
816734
817903
821471
825339
]
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 (397780 , 403592 , 403999 , 407322 , 413978 , 416102 , 418860 , 420530 , 429245 , 435927 , 444062 , 444440 , 446691 , 452316 , 465704 , 467042 , 472479 , 472693 , 473461 , 475277 , 478148 , 482722 , 486288 , 486730 , 503587 , 529681 , 531004 , 541434 , 548164 , 558821 , 559952 , 569412 , 581620 , 589993 , 590071 , 591357 , 591710 , 595071 , 596196 , 607574 , 614726 , 616070 , 625680 , 627018 , 643531 , 648739 , 709723 , 711616 , 720342 , 721707 , 726562 , 726662 , 728048 , 737551 , 738241 , 738262 , 750616 , 756990 , 760991 , 770032 , 785548 , 790844 , 797636 , 800820 , 809840 , 811676 , 812598 , 812877 , 813639 , 813861 , 816721 , 816734 , 817903 , 821471 , 825339 );
Copy