3
7.73 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
771312
806476
798923
768463
796277
761402
629780
569189
828569
748433
804904
555464
528494
593083
787990
788072
775577
540642
695307
739297
744681
787792
798976
780514
574022
813989
775440
810187
683047
488000
819268
597522
502895
798970
460428
550424
595087
717849
560794
791712
798966
518605
459364
486634
524360
778508
513976
499160
526070
579660
555448
516792
423572
478307
584592
693338
630609
508701
640759
675435
595315
595756
630221
599938
510898
]
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 (771312 , 806476 , 798923 , 768463 , 796277 , 761402 , 629780 , 569189 , 828569 , 748433 , 804904 , 555464 , 528494 , 593083 , 787990 , 788072 , 775577 , 540642 , 695307 , 739297 , 744681 , 787792 , 798976 , 780514 , 574022 , 813989 , 775440 , 810187 , 683047 , 488000 , 819268 , 597522 , 502895 , 798970 , 460428 , 550424 , 595087 , 717849 , 560794 , 791712 , 798966 , 518605 , 459364 , 486634 , 524360 , 778508 , 513976 , 499160 , 526070 , 579660 , 555448 , 516792 , 423572 , 478307 , 584592 , 693338 , 630609 , 508701 , 640759 , 675435 , 595315 , 595756 , 630221 , 599938 , 510898 );
Copy
4
2.57 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
423572
459364
460428
478307
486634
488000
499160
502895
508701
510898
513976
516792
518605
524360
526070
528494
540642
550424
555448
555464
560794
569189
574022
579660
584592
593083
595087
595315
595756
597522
599938
629780
630221
630609
640759
675435
683047
693338
695307
717849
739297
744681
748433
761402
768463
771312
775440
775577
778508
780514
787792
787990
788072
791712
796277
798923
798966
798970
798976
804904
806476
810187
813989
819268
828569
]
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 (423572 , 459364 , 460428 , 478307 , 486634 , 488000 , 499160 , 502895 , 508701 , 510898 , 513976 , 516792 , 518605 , 524360 , 526070 , 528494 , 540642 , 550424 , 555448 , 555464 , 560794 , 569189 , 574022 , 579660 , 584592 , 593083 , 595087 , 595315 , 595756 , 597522 , 599938 , 629780 , 630221 , 630609 , 640759 , 675435 , 683047 , 693338 , 695307 , 717849 , 739297 , 744681 , 748433 , 761402 , 768463 , 771312 , 775440 , 775577 , 778508 , 780514 , 787792 , 787990 , 788072 , 791712 , 796277 , 798923 , 798966 , 798970 , 798976 , 804904 , 806476 , 810187 , 813989 , 819268 , 828569 );
Copy
5
127.63 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
423572
459364
460428
478307
486634
488000
499160
502895
508701
510898
513976
516792
518605
524360
526070
528494
540642
550424
555448
555464
560794
569189
574022
579660
584592
593083
595087
595315
595756
597522
599938
629780
630221
630609
640759
675435
683047
693338
695307
717849
739297
744681
748433
761402
768463
771312
775440
775577
778508
780514
787792
787990
788072
791712
796277
798923
798966
798970
798976
804904
806476
810187
813989
819268
828569
]
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 (423572 , 459364 , 460428 , 478307 , 486634 , 488000 , 499160 , 502895 , 508701 , 510898 , 513976 , 516792 , 518605 , 524360 , 526070 , 528494 , 540642 , 550424 , 555448 , 555464 , 560794 , 569189 , 574022 , 579660 , 584592 , 593083 , 595087 , 595315 , 595756 , 597522 , 599938 , 629780 , 630221 , 630609 , 640759 , 675435 , 683047 , 693338 , 695307 , 717849 , 739297 , 744681 , 748433 , 761402 , 768463 , 771312 , 775440 , 775577 , 778508 , 780514 , 787792 , 787990 , 788072 , 791712 , 796277 , 798923 , 798966 , 798970 , 798976 , 804904 , 806476 , 810187 , 813989 , 819268 , 828569 );
Copy