3
217.67 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
826435
745736
762567
812114
805488
819447
815193
567962
664225
693795
791323
761331
185595
668532
663960
793999
397502
814231
699505
636716
799819
771173
737032
785776
807791
817660
658964
760919
386953
472564
783941
387777
816018
583300
622701
772991
756193
765278
727454
762338
799865
688997
721124
607073
585254
460960
551335
641482
803160
404576
465756
502674
517344
401479
418003
425370
510060
558740
569820
659394
413529
452221
462478
567150
601226
405203
500830
519886
424817
]
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 (826435 , 745736 , 762567 , 812114 , 805488 , 819447 , 815193 , 567962 , 664225 , 693795 , 791323 , 761331 , 185595 , 668532 , 663960 , 793999 , 397502 , 814231 , 699505 , 636716 , 799819 , 771173 , 737032 , 785776 , 807791 , 817660 , 658964 , 760919 , 386953 , 472564 , 783941 , 387777 , 816018 , 583300 , 622701 , 772991 , 756193 , 765278 , 727454 , 762338 , 799865 , 688997 , 721124 , 607073 , 585254 , 460960 , 551335 , 641482 , 803160 , 404576 , 465756 , 502674 , 517344 , 401479 , 418003 , 425370 , 510060 , 558740 , 569820 , 659394 , 413529 , 452221 , 462478 , 567150 , 601226 , 405203 , 500830 , 519886 , 424817 );
Copy
4
2.35 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
185595
386953
387777
397502
401479
404576
405203
413529
418003
424817
425370
452221
460960
462478
465756
472564
500830
502674
510060
517344
519886
551335
558740
567150
567962
569820
583300
585254
601226
607073
622701
636716
641482
658964
659394
663960
664225
668532
688997
693795
699505
721124
727454
737032
745736
756193
760919
761331
762338
762567
765278
771173
772991
783941
785776
791323
793999
799819
799865
803160
805488
807791
812114
814231
815193
816018
817660
819447
826435
]
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 (185595 , 386953 , 387777 , 397502 , 401479 , 404576 , 405203 , 413529 , 418003 , 424817 , 425370 , 452221 , 460960 , 462478 , 465756 , 472564 , 500830 , 502674 , 510060 , 517344 , 519886 , 551335 , 558740 , 567150 , 567962 , 569820 , 583300 , 585254 , 601226 , 607073 , 622701 , 636716 , 641482 , 658964 , 659394 , 663960 , 664225 , 668532 , 688997 , 693795 , 699505 , 721124 , 727454 , 737032 , 745736 , 756193 , 760919 , 761331 , 762338 , 762567 , 765278 , 771173 , 772991 , 783941 , 785776 , 791323 , 793999 , 799819 , 799865 , 803160 , 805488 , 807791 , 812114 , 814231 , 815193 , 816018 , 817660 , 819447 , 826435 );
Copy
5
98.69 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
185595
386953
387777
397502
401479
404576
405203
413529
418003
424817
425370
452221
460960
462478
465756
472564
500830
502674
510060
517344
519886
551335
558740
567150
567962
569820
583300
585254
601226
607073
622701
636716
641482
658964
659394
663960
664225
668532
688997
693795
699505
721124
727454
737032
745736
756193
760919
761331
762338
762567
765278
771173
772991
783941
785776
791323
793999
799819
799865
803160
805488
807791
812114
814231
815193
816018
817660
819447
826435
]
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 (185595 , 386953 , 387777 , 397502 , 401479 , 404576 , 405203 , 413529 , 418003 , 424817 , 425370 , 452221 , 460960 , 462478 , 465756 , 472564 , 500830 , 502674 , 510060 , 517344 , 519886 , 551335 , 558740 , 567150 , 567962 , 569820 , 583300 , 585254 , 601226 , 607073 , 622701 , 636716 , 641482 , 658964 , 659394 , 663960 , 664225 , 668532 , 688997 , 693795 , 699505 , 721124 , 727454 , 737032 , 745736 , 756193 , 760919 , 761331 , 762338 , 762567 , 765278 , 771173 , 772991 , 783941 , 785776 , 791323 , 793999 , 799819 , 799865 , 803160 , 805488 , 807791 , 812114 , 814231 , 815193 , 816018 , 817660 , 819447 , 826435 );
Copy