4
8.07 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
406566
801297
776289
654922
736040
741191
725119
722627
631944
512918
621689
743286
532998
580258
741269
534981
599921
632594
641930
731665
815704
537903
815950
787883
633770
597252
642041
630635
775911
650198
632935
600297
675007
630524
497452
669967
762225
512911
630536
632632
762262
679377
428672
702628
671703
679383
727794
407881
400931
451456
415941
545670
717236
447471
786463
443811
525236
447474
459163
762213
586786
627804
447500
420472
597235
]
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 (406566 , 801297 , 776289 , 654922 , 736040 , 741191 , 725119 , 722627 , 631944 , 512918 , 621689 , 743286 , 532998 , 580258 , 741269 , 534981 , 599921 , 632594 , 641930 , 731665 , 815704 , 537903 , 815950 , 787883 , 633770 , 597252 , 642041 , 630635 , 775911 , 650198 , 632935 , 600297 , 675007 , 630524 , 497452 , 669967 , 762225 , 512911 , 630536 , 632632 , 762262 , 679377 , 428672 , 702628 , 671703 , 679383 , 727794 , 407881 , 400931 , 451456 , 415941 , 545670 , 717236 , 447471 , 786463 , 443811 , 525236 , 447474 , 459163 , 762213 , 586786 , 627804 , 447500 , 420472 , 597235 );
Copy
5
2.33 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
400931
406566
407881
415941
420472
428672
443811
447471
447474
447500
451456
459163
497452
512911
512918
525236
532998
534981
537903
545670
580258
586786
597235
597252
599921
600297
621689
627804
630524
630536
630635
631944
632594
632632
632935
633770
641930
642041
650198
654922
669967
671703
675007
679377
679383
702628
717236
722627
725119
727794
731665
736040
741191
741269
743286
762213
762225
762262
775911
776289
786463
787883
801297
815704
815950
]
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 (400931 , 406566 , 407881 , 415941 , 420472 , 428672 , 443811 , 447471 , 447474 , 447500 , 451456 , 459163 , 497452 , 512911 , 512918 , 525236 , 532998 , 534981 , 537903 , 545670 , 580258 , 586786 , 597235 , 597252 , 599921 , 600297 , 621689 , 627804 , 630524 , 630536 , 630635 , 631944 , 632594 , 632632 , 632935 , 633770 , 641930 , 642041 , 650198 , 654922 , 669967 , 671703 , 675007 , 679377 , 679383 , 702628 , 717236 , 722627 , 725119 , 727794 , 731665 , 736040 , 741191 , 741269 , 743286 , 762213 , 762225 , 762262 , 775911 , 776289 , 786463 , 787883 , 801297 , 815704 , 815950 );
Copy
6
85.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
400931
406566
407881
415941
420472
428672
443811
447471
447474
447500
451456
459163
497452
512911
512918
525236
532998
534981
537903
545670
580258
586786
597235
597252
599921
600297
621689
627804
630524
630536
630635
631944
632594
632632
632935
633770
641930
642041
650198
654922
669967
671703
675007
679377
679383
702628
717236
722627
725119
727794
731665
736040
741191
741269
743286
762213
762225
762262
775911
776289
786463
787883
801297
815704
815950
]
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 (400931 , 406566 , 407881 , 415941 , 420472 , 428672 , 443811 , 447471 , 447474 , 447500 , 451456 , 459163 , 497452 , 512911 , 512918 , 525236 , 532998 , 534981 , 537903 , 545670 , 580258 , 586786 , 597235 , 597252 , 599921 , 600297 , 621689 , 627804 , 630524 , 630536 , 630635 , 631944 , 632594 , 632632 , 632935 , 633770 , 641930 , 642041 , 650198 , 654922 , 669967 , 671703 , 675007 , 679377 , 679383 , 702628 , 717236 , 722627 , 725119 , 727794 , 731665 , 736040 , 741191 , 741269 , 743286 , 762213 , 762225 , 762262 , 775911 , 776289 , 786463 , 787883 , 801297 , 815704 , 815950 );
Copy