3
215.66 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
725183
724088
538106
819391
667306
807426
761249
798796
824573
807455
823206
816927
823307
805710
750379
797066
823469
475457
794028
796656
607533
666492
585866
750467
787150
755354
735734
561908
816878
703765
722107
587409
793524
748540
737535
725508
816827
672084
813414
618246
823316
575315
524369
782652
691693
687312
593676
750579
715106
605426
792775
730396
808114
648387
594002
458624
505528
608639
610142
809872
633216
731158
608613
447545
509720
577583
415702
]
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 (725183 , 724088 , 538106 , 819391 , 667306 , 807426 , 761249 , 798796 , 824573 , 807455 , 823206 , 816927 , 823307 , 805710 , 750379 , 797066 , 823469 , 475457 , 794028 , 796656 , 607533 , 666492 , 585866 , 750467 , 787150 , 755354 , 735734 , 561908 , 816878 , 703765 , 722107 , 587409 , 793524 , 748540 , 737535 , 725508 , 816827 , 672084 , 813414 , 618246 , 823316 , 575315 , 524369 , 782652 , 691693 , 687312 , 593676 , 750579 , 715106 , 605426 , 792775 , 730396 , 808114 , 648387 , 594002 , 458624 , 505528 , 608639 , 610142 , 809872 , 633216 , 731158 , 608613 , 447545 , 509720 , 577583 , 415702 );
Copy
4
210.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
415702
447545
458624
475457
505528
509720
524369
538106
561908
575315
577583
585866
587409
593676
594002
605426
607533
608613
608639
610142
618246
633216
648387
666492
667306
672084
687312
691693
703765
715106
722107
724088
725183
725508
730396
731158
735734
737535
748540
750379
750467
750579
755354
761249
782652
787150
792775
793524
794028
796656
797066
798796
805710
807426
807455
808114
809872
813414
816827
816878
816927
819391
823206
823307
823316
823469
824573
]
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 (415702 , 447545 , 458624 , 475457 , 505528 , 509720 , 524369 , 538106 , 561908 , 575315 , 577583 , 585866 , 587409 , 593676 , 594002 , 605426 , 607533 , 608613 , 608639 , 610142 , 618246 , 633216 , 648387 , 666492 , 667306 , 672084 , 687312 , 691693 , 703765 , 715106 , 722107 , 724088 , 725183 , 725508 , 730396 , 731158 , 735734 , 737535 , 748540 , 750379 , 750467 , 750579 , 755354 , 761249 , 782652 , 787150 , 792775 , 793524 , 794028 , 796656 , 797066 , 798796 , 805710 , 807426 , 807455 , 808114 , 809872 , 813414 , 816827 , 816878 , 816927 , 819391 , 823206 , 823307 , 823316 , 823469 , 824573 );
Copy
5
276.52 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
415702
447545
458624
475457
505528
509720
524369
538106
561908
575315
577583
585866
587409
593676
594002
605426
607533
608613
608639
610142
618246
633216
648387
666492
667306
672084
687312
691693
703765
715106
722107
724088
725183
725508
730396
731158
735734
737535
748540
750379
750467
750579
755354
761249
782652
787150
792775
793524
794028
796656
797066
798796
805710
807426
807455
808114
809872
813414
816827
816878
816927
819391
823206
823307
823316
823469
824573
]
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 (415702 , 447545 , 458624 , 475457 , 505528 , 509720 , 524369 , 538106 , 561908 , 575315 , 577583 , 585866 , 587409 , 593676 , 594002 , 605426 , 607533 , 608613 , 608639 , 610142 , 618246 , 633216 , 648387 , 666492 , 667306 , 672084 , 687312 , 691693 , 703765 , 715106 , 722107 , 724088 , 725183 , 725508 , 730396 , 731158 , 735734 , 737535 , 748540 , 750379 , 750467 , 750579 , 755354 , 761249 , 782652 , 787150 , 792775 , 793524 , 794028 , 796656 , 797066 , 798796 , 805710 , 807426 , 807455 , 808114 , 809872 , 813414 , 816827 , 816878 , 816927 , 819391 , 823206 , 823307 , 823316 , 823469 , 824573 );
Copy