3
13.89 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
469381
511562
523124
530447
495120
501239
556000
567548
649174
679109
693965
697006
673522
557542
558714
606681
599113
607237
750611
780661
417632
443809
459189
472743
385911
385377
437814
535021
505813
512042
562973
596534
807363
748389
624511
471339
395622
443609
450577
522980
491478
503807
509664
484618
498306
486861
448989
467043
533512
536657
583997
435226
435479
452097
546669
596571
623813
502738
467009
600837
514648
530061
541244
620754
511802
458010
596423
430553
]
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 (469381 , 511562 , 523124 , 530447 , 495120 , 501239 , 556000 , 567548 , 649174 , 679109 , 693965 , 697006 , 673522 , 557542 , 558714 , 606681 , 599113 , 607237 , 750611 , 780661 , 417632 , 443809 , 459189 , 472743 , 385911 , 385377 , 437814 , 535021 , 505813 , 512042 , 562973 , 596534 , 807363 , 748389 , 624511 , 471339 , 395622 , 443609 , 450577 , 522980 , 491478 , 503807 , 509664 , 484618 , 498306 , 486861 , 448989 , 467043 , 533512 , 536657 , 583997 , 435226 , 435479 , 452097 , 546669 , 596571 , 623813 , 502738 , 467009 , 600837 , 514648 , 530061 , 541244 , 620754 , 511802 , 458010 , 596423 , 430553 );
Copy
4
1.97 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
385377
385911
395622
417632
430553
435226
435479
437814
443609
443809
448989
450577
452097
458010
459189
467009
467043
469381
472743
484618
486861
491478
495120
498306
501239
502738
503807
505813
509664
511562
511802
512042
514648
522980
523124
530061
530447
533512
535021
536657
541244
546669
556000
557542
558714
562973
567548
583997
596423
596534
596571
599113
600837
606681
607237
620754
623813
624511
649174
673522
679109
693965
697006
748389
750611
780661
807363
]
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 (385377 , 385911 , 395622 , 417632 , 430553 , 435226 , 435479 , 437814 , 443609 , 443809 , 448989 , 450577 , 452097 , 458010 , 459189 , 467009 , 467043 , 469381 , 472743 , 484618 , 486861 , 491478 , 495120 , 498306 , 501239 , 502738 , 503807 , 505813 , 509664 , 511562 , 511802 , 512042 , 514648 , 522980 , 523124 , 530061 , 530447 , 533512 , 535021 , 536657 , 541244 , 546669 , 556000 , 557542 , 558714 , 562973 , 567548 , 583997 , 596423 , 596534 , 596571 , 599113 , 600837 , 606681 , 607237 , 620754 , 623813 , 624511 , 649174 , 673522 , 679109 , 693965 , 697006 , 748389 , 750611 , 780661 , 807363 );
Copy
5
84.53 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
385377
385911
395622
417632
430553
435226
435479
437814
443609
443809
448989
450577
452097
458010
459189
467009
467043
469381
472743
484618
486861
491478
495120
498306
501239
502738
503807
505813
509664
511562
511802
512042
514648
522980
523124
530061
530447
533512
535021
536657
541244
546669
556000
557542
558714
562973
567548
583997
596423
596534
596571
599113
600837
606681
607237
620754
623813
624511
649174
673522
679109
693965
697006
748389
750611
780661
807363
]
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 (385377 , 385911 , 395622 , 417632 , 430553 , 435226 , 435479 , 437814 , 443609 , 443809 , 448989 , 450577 , 452097 , 458010 , 459189 , 467009 , 467043 , 469381 , 472743 , 484618 , 486861 , 491478 , 495120 , 498306 , 501239 , 502738 , 503807 , 505813 , 509664 , 511562 , 511802 , 512042 , 514648 , 522980 , 523124 , 530061 , 530447 , 533512 , 535021 , 536657 , 541244 , 546669 , 556000 , 557542 , 558714 , 562973 , 567548 , 583997 , 596423 , 596534 , 596571 , 599113 , 600837 , 606681 , 607237 , 620754 , 623813 , 624511 , 649174 , 673522 , 679109 , 693965 , 697006 , 748389 , 750611 , 780661 , 807363 );
Copy