3
10.61 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
396936
396903
635791
610780
653619
622179
801129
554811
768194
710263
566187
479074
78926
805339
631329
742684
610816
821857
385744
773966
812998
394586
545094
516631
742682
590898
636576
403834
742675
742677
477360
653630
758814
651039
460292
607343
392548
498205
755170
743906
456681
453842
770926
484944
546771
469118
477373
454365
550302
635490
621508
630915
568185
654217
472783
516635
436820
543392
502554
636579
628654
437686
517440
463625
492688
502540
]
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 (396936 , 396903 , 635791 , 610780 , 653619 , 622179 , 801129 , 554811 , 768194 , 710263 , 566187 , 479074 , 78926 , 805339 , 631329 , 742684 , 610816 , 821857 , 385744 , 773966 , 812998 , 394586 , 545094 , 516631 , 742682 , 590898 , 636576 , 403834 , 742675 , 742677 , 477360 , 653630 , 758814 , 651039 , 460292 , 607343 , 392548 , 498205 , 755170 , 743906 , 456681 , 453842 , 770926 , 484944 , 546771 , 469118 , 477373 , 454365 , 550302 , 635490 , 621508 , 630915 , 568185 , 654217 , 472783 , 516635 , 436820 , 543392 , 502554 , 636579 , 628654 , 437686 , 517440 , 463625 , 492688 , 502540 );
Copy
4
2.66 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
78926
385744
392548
394586
396903
396936
403834
436820
437686
453842
454365
456681
460292
463625
469118
472783
477360
477373
479074
484944
492688
498205
502540
502554
516631
516635
517440
543392
545094
546771
550302
554811
566187
568185
590898
607343
610780
610816
621508
622179
628654
630915
631329
635490
635791
636576
636579
651039
653619
653630
654217
710263
742675
742677
742682
742684
743906
755170
758814
768194
770926
773966
801129
805339
812998
821857
]
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 (78926 , 385744 , 392548 , 394586 , 396903 , 396936 , 403834 , 436820 , 437686 , 453842 , 454365 , 456681 , 460292 , 463625 , 469118 , 472783 , 477360 , 477373 , 479074 , 484944 , 492688 , 498205 , 502540 , 502554 , 516631 , 516635 , 517440 , 543392 , 545094 , 546771 , 550302 , 554811 , 566187 , 568185 , 590898 , 607343 , 610780 , 610816 , 621508 , 622179 , 628654 , 630915 , 631329 , 635490 , 635791 , 636576 , 636579 , 651039 , 653619 , 653630 , 654217 , 710263 , 742675 , 742677 , 742682 , 742684 , 743906 , 755170 , 758814 , 768194 , 770926 , 773966 , 801129 , 805339 , 812998 , 821857 );
Copy
5
101.90 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
78926
385744
392548
394586
396903
396936
403834
436820
437686
453842
454365
456681
460292
463625
469118
472783
477360
477373
479074
484944
492688
498205
502540
502554
516631
516635
517440
543392
545094
546771
550302
554811
566187
568185
590898
607343
610780
610816
621508
622179
628654
630915
631329
635490
635791
636576
636579
651039
653619
653630
654217
710263
742675
742677
742682
742684
743906
755170
758814
768194
770926
773966
801129
805339
812998
821857
]
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 (78926 , 385744 , 392548 , 394586 , 396903 , 396936 , 403834 , 436820 , 437686 , 453842 , 454365 , 456681 , 460292 , 463625 , 469118 , 472783 , 477360 , 477373 , 479074 , 484944 , 492688 , 498205 , 502540 , 502554 , 516631 , 516635 , 517440 , 543392 , 545094 , 546771 , 550302 , 554811 , 566187 , 568185 , 590898 , 607343 , 610780 , 610816 , 621508 , 622179 , 628654 , 630915 , 631329 , 635490 , 635791 , 636576 , 636579 , 651039 , 653619 , 653630 , 654217 , 710263 , 742675 , 742677 , 742682 , 742684 , 743906 , 755170 , 758814 , 768194 , 770926 , 773966 , 801129 , 805339 , 812998 , 821857 );
Copy