3
11.02 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
534667
539609
534344
528951
534366
550027
468936
528948
534361
611232
774578
642990
527522
528950
527516
515301
529011
534634
558452
722109
723787
468954
531154
690373
457576
529032
671817
530094
537828
680933
680945
768057
519812
562372
621041
486842
644198
552278
468926
680946
803841
794625
459171
534335
488233
714053
454707
598648
454706
534346
418567
456896
819066
457735
457778
457019
495871
615722
768663
828172
457043
547675
549521
563388
457783
562370
457668
537721
457643
457782
549298
454669
445778
549327
]
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 (534667 , 539609 , 534344 , 528951 , 534366 , 550027 , 468936 , 528948 , 534361 , 611232 , 774578 , 642990 , 527522 , 528950 , 527516 , 515301 , 529011 , 534634 , 558452 , 722109 , 723787 , 468954 , 531154 , 690373 , 457576 , 529032 , 671817 , 530094 , 537828 , 680933 , 680945 , 768057 , 519812 , 562372 , 621041 , 486842 , 644198 , 552278 , 468926 , 680946 , 803841 , 794625 , 459171 , 534335 , 488233 , 714053 , 454707 , 598648 , 454706 , 534346 , 418567 , 456896 , 819066 , 457735 , 457778 , 457019 , 495871 , 615722 , 768663 , 828172 , 457043 , 547675 , 549521 , 563388 , 457783 , 562370 , 457668 , 537721 , 457643 , 457782 , 549298 , 454669 , 445778 , 549327 );
Copy
4
2.55 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
418567
445778
454669
454706
454707
456896
457019
457043
457576
457643
457668
457735
457778
457782
457783
459171
468926
468936
468954
486842
488233
495871
515301
519812
527516
527522
528948
528950
528951
529011
529032
530094
531154
534335
534344
534346
534361
534366
534634
534667
537721
537828
539609
547675
549298
549327
549521
550027
552278
558452
562370
562372
563388
598648
611232
615722
621041
642990
644198
671817
680933
680945
680946
690373
714053
722109
723787
768057
768663
774578
794625
803841
819066
828172
]
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 (418567 , 445778 , 454669 , 454706 , 454707 , 456896 , 457019 , 457043 , 457576 , 457643 , 457668 , 457735 , 457778 , 457782 , 457783 , 459171 , 468926 , 468936 , 468954 , 486842 , 488233 , 495871 , 515301 , 519812 , 527516 , 527522 , 528948 , 528950 , 528951 , 529011 , 529032 , 530094 , 531154 , 534335 , 534344 , 534346 , 534361 , 534366 , 534634 , 534667 , 537721 , 537828 , 539609 , 547675 , 549298 , 549327 , 549521 , 550027 , 552278 , 558452 , 562370 , 562372 , 563388 , 598648 , 611232 , 615722 , 621041 , 642990 , 644198 , 671817 , 680933 , 680945 , 680946 , 690373 , 714053 , 722109 , 723787 , 768057 , 768663 , 774578 , 794625 , 803841 , 819066 , 828172 );
Copy
5
112.44 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
418567
445778
454669
454706
454707
456896
457019
457043
457576
457643
457668
457735
457778
457782
457783
459171
468926
468936
468954
486842
488233
495871
515301
519812
527516
527522
528948
528950
528951
529011
529032
530094
531154
534335
534344
534346
534361
534366
534634
534667
537721
537828
539609
547675
549298
549327
549521
550027
552278
558452
562370
562372
563388
598648
611232
615722
621041
642990
644198
671817
680933
680945
680946
690373
714053
722109
723787
768057
768663
774578
794625
803841
819066
828172
]
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 (418567 , 445778 , 454669 , 454706 , 454707 , 456896 , 457019 , 457043 , 457576 , 457643 , 457668 , 457735 , 457778 , 457782 , 457783 , 459171 , 468926 , 468936 , 468954 , 486842 , 488233 , 495871 , 515301 , 519812 , 527516 , 527522 , 528948 , 528950 , 528951 , 529011 , 529032 , 530094 , 531154 , 534335 , 534344 , 534346 , 534361 , 534366 , 534634 , 534667 , 537721 , 537828 , 539609 , 547675 , 549298 , 549327 , 549521 , 550027 , 552278 , 558452 , 562370 , 562372 , 563388 , 598648 , 611232 , 615722 , 621041 , 642990 , 644198 , 671817 , 680933 , 680945 , 680946 , 690373 , 714053 , 722109 , 723787 , 768057 , 768663 , 774578 , 794625 , 803841 , 819066 , 828172 );
Copy