3
8.21 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
490594
556085
514253
784958
468252
629144
451358
809606
702308
786083
588564
824811
539388
423707
695857
824320
456667
827218
593887
801806
796408
737891
756335
767519
742133
516368
525139
500297
496876
797083
796397
797918
796388
796402
500298
553833
435609
435603
435602
666680
777738
796385
726229
702317
784125
435632
497716
513450
577698
680925
801841
750626
747492
438460
444081
527469
554865
620657
753193
435614
500287
435635
504617
545334
496890
450437
497713
505355
435601
523866
596637
482041
463915
624841
]
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 (490594 , 556085 , 514253 , 784958 , 468252 , 629144 , 451358 , 809606 , 702308 , 786083 , 588564 , 824811 , 539388 , 423707 , 695857 , 824320 , 456667 , 827218 , 593887 , 801806 , 796408 , 737891 , 756335 , 767519 , 742133 , 516368 , 525139 , 500297 , 496876 , 797083 , 796397 , 797918 , 796388 , 796402 , 500298 , 553833 , 435609 , 435603 , 435602 , 666680 , 777738 , 796385 , 726229 , 702317 , 784125 , 435632 , 497716 , 513450 , 577698 , 680925 , 801841 , 750626 , 747492 , 438460 , 444081 , 527469 , 554865 , 620657 , 753193 , 435614 , 500287 , 435635 , 504617 , 545334 , 496890 , 450437 , 497713 , 505355 , 435601 , 523866 , 596637 , 482041 , 463915 , 624841 );
Copy
4
2.61 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
423707
435601
435602
435603
435609
435614
435632
435635
438460
444081
450437
451358
456667
463915
468252
482041
490594
496876
496890
497713
497716
500287
500297
500298
504617
505355
513450
514253
516368
523866
525139
527469
539388
545334
553833
554865
556085
577698
588564
593887
596637
620657
624841
629144
666680
680925
695857
702308
702317
726229
737891
742133
747492
750626
753193
756335
767519
777738
784125
784958
786083
796385
796388
796397
796402
796408
797083
797918
801806
801841
809606
824320
824811
827218
]
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 (423707 , 435601 , 435602 , 435603 , 435609 , 435614 , 435632 , 435635 , 438460 , 444081 , 450437 , 451358 , 456667 , 463915 , 468252 , 482041 , 490594 , 496876 , 496890 , 497713 , 497716 , 500287 , 500297 , 500298 , 504617 , 505355 , 513450 , 514253 , 516368 , 523866 , 525139 , 527469 , 539388 , 545334 , 553833 , 554865 , 556085 , 577698 , 588564 , 593887 , 596637 , 620657 , 624841 , 629144 , 666680 , 680925 , 695857 , 702308 , 702317 , 726229 , 737891 , 742133 , 747492 , 750626 , 753193 , 756335 , 767519 , 777738 , 784125 , 784958 , 786083 , 796385 , 796388 , 796397 , 796402 , 796408 , 797083 , 797918 , 801806 , 801841 , 809606 , 824320 , 824811 , 827218 );
Copy
5
98.92 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
423707
435601
435602
435603
435609
435614
435632
435635
438460
444081
450437
451358
456667
463915
468252
482041
490594
496876
496890
497713
497716
500287
500297
500298
504617
505355
513450
514253
516368
523866
525139
527469
539388
545334
553833
554865
556085
577698
588564
593887
596637
620657
624841
629144
666680
680925
695857
702308
702317
726229
737891
742133
747492
750626
753193
756335
767519
777738
784125
784958
786083
796385
796388
796397
796402
796408
797083
797918
801806
801841
809606
824320
824811
827218
]
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 (423707 , 435601 , 435602 , 435603 , 435609 , 435614 , 435632 , 435635 , 438460 , 444081 , 450437 , 451358 , 456667 , 463915 , 468252 , 482041 , 490594 , 496876 , 496890 , 497713 , 497716 , 500287 , 500297 , 500298 , 504617 , 505355 , 513450 , 514253 , 516368 , 523866 , 525139 , 527469 , 539388 , 545334 , 553833 , 554865 , 556085 , 577698 , 588564 , 593887 , 596637 , 620657 , 624841 , 629144 , 666680 , 680925 , 695857 , 702308 , 702317 , 726229 , 737891 , 742133 , 747492 , 750626 , 753193 , 756335 , 767519 , 777738 , 784125 , 784958 , 786083 , 796385 , 796388 , 796397 , 796402 , 796408 , 797083 , 797918 , 801806 , 801841 , 809606 , 824320 , 824811 , 827218 );
Copy