3
8.32 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
595183
728988
742277
620465
541032
709936
629740
544556
746034
762397
788665
732933
703772
585821
616506
730175
762411
703709
748443
522055
563751
610128
638177
734362
729862
771367
531597
584274
556761
700162
607545
616021
627265
823330
584346
656283
708983
748620
592111
616632
781286
793085
607629
566927
591798
514053
637174
450853
524102
449957
628724
463369
463471
741507
559451
617704
539618
501717
520829
723277
392801
463464
574958
547874
525255
569232
434815
601430
]
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 (595183 , 728988 , 742277 , 620465 , 541032 , 709936 , 629740 , 544556 , 746034 , 762397 , 788665 , 732933 , 703772 , 585821 , 616506 , 730175 , 762411 , 703709 , 748443 , 522055 , 563751 , 610128 , 638177 , 734362 , 729862 , 771367 , 531597 , 584274 , 556761 , 700162 , 607545 , 616021 , 627265 , 823330 , 584346 , 656283 , 708983 , 748620 , 592111 , 616632 , 781286 , 793085 , 607629 , 566927 , 591798 , 514053 , 637174 , 450853 , 524102 , 449957 , 628724 , 463369 , 463471 , 741507 , 559451 , 617704 , 539618 , 501717 , 520829 , 723277 , 392801 , 463464 , 574958 , 547874 , 525255 , 569232 , 434815 , 601430 );
Copy
4
2.43 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
392801
434815
449957
450853
463369
463464
463471
501717
514053
520829
522055
524102
525255
531597
539618
541032
544556
547874
556761
559451
563751
566927
569232
574958
584274
584346
585821
591798
592111
595183
601430
607545
607629
610128
616021
616506
616632
617704
620465
627265
628724
629740
637174
638177
656283
700162
703709
703772
708983
709936
723277
728988
729862
730175
732933
734362
741507
742277
746034
748443
748620
762397
762411
771367
781286
788665
793085
823330
]
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 (392801 , 434815 , 449957 , 450853 , 463369 , 463464 , 463471 , 501717 , 514053 , 520829 , 522055 , 524102 , 525255 , 531597 , 539618 , 541032 , 544556 , 547874 , 556761 , 559451 , 563751 , 566927 , 569232 , 574958 , 584274 , 584346 , 585821 , 591798 , 592111 , 595183 , 601430 , 607545 , 607629 , 610128 , 616021 , 616506 , 616632 , 617704 , 620465 , 627265 , 628724 , 629740 , 637174 , 638177 , 656283 , 700162 , 703709 , 703772 , 708983 , 709936 , 723277 , 728988 , 729862 , 730175 , 732933 , 734362 , 741507 , 742277 , 746034 , 748443 , 748620 , 762397 , 762411 , 771367 , 781286 , 788665 , 793085 , 823330 );
Copy
5
84.35 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
392801
434815
449957
450853
463369
463464
463471
501717
514053
520829
522055
524102
525255
531597
539618
541032
544556
547874
556761
559451
563751
566927
569232
574958
584274
584346
585821
591798
592111
595183
601430
607545
607629
610128
616021
616506
616632
617704
620465
627265
628724
629740
637174
638177
656283
700162
703709
703772
708983
709936
723277
728988
729862
730175
732933
734362
741507
742277
746034
748443
748620
762397
762411
771367
781286
788665
793085
823330
]
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 (392801 , 434815 , 449957 , 450853 , 463369 , 463464 , 463471 , 501717 , 514053 , 520829 , 522055 , 524102 , 525255 , 531597 , 539618 , 541032 , 544556 , 547874 , 556761 , 559451 , 563751 , 566927 , 569232 , 574958 , 584274 , 584346 , 585821 , 591798 , 592111 , 595183 , 601430 , 607545 , 607629 , 610128 , 616021 , 616506 , 616632 , 617704 , 620465 , 627265 , 628724 , 629740 , 637174 , 638177 , 656283 , 700162 , 703709 , 703772 , 708983 , 709936 , 723277 , 728988 , 729862 , 730175 , 732933 , 734362 , 741507 , 742277 , 746034 , 748443 , 748620 , 762397 , 762411 , 771367 , 781286 , 788665 , 793085 , 823330 );
Copy