3
7.70 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
442587
777204
794482
768265
782771
734415
795020
446142
457806
826759
548074
470364
521223
543645
812319
442957
460975
777133
742927
426440
449301
386698
803579
441822
482609
445465
424870
827190
734356
459471
711275
398955
448412
592763
792230
441757
452273
464245
744828
456383
616400
448058
640685
706933
650810
541509
796448
774156
442280
707974
489847
696865
464243
446090
784287
448054
478829
460976
650489
774172
820147
503619
514746
419840
581501
440581
516975
448036
614942
510555
514149
516979
635783
500477
]
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 (442587 , 777204 , 794482 , 768265 , 782771 , 734415 , 795020 , 446142 , 457806 , 826759 , 548074 , 470364 , 521223 , 543645 , 812319 , 442957 , 460975 , 777133 , 742927 , 426440 , 449301 , 386698 , 803579 , 441822 , 482609 , 445465 , 424870 , 827190 , 734356 , 459471 , 711275 , 398955 , 448412 , 592763 , 792230 , 441757 , 452273 , 464245 , 744828 , 456383 , 616400 , 448058 , 640685 , 706933 , 650810 , 541509 , 796448 , 774156 , 442280 , 707974 , 489847 , 696865 , 464243 , 446090 , 784287 , 448054 , 478829 , 460976 , 650489 , 774172 , 820147 , 503619 , 514746 , 419840 , 581501 , 440581 , 516975 , 448036 , 614942 , 510555 , 514149 , 516979 , 635783 , 500477 );
Copy
4
2.09 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
386698
398955
419840
424870
426440
440581
441757
441822
442280
442587
442957
445465
446090
446142
448036
448054
448058
448412
449301
452273
456383
457806
459471
460975
460976
464243
464245
470364
478829
482609
489847
500477
503619
510555
514149
514746
516975
516979
521223
541509
543645
548074
581501
592763
614942
616400
635783
640685
650489
650810
696865
706933
707974
711275
734356
734415
742927
744828
768265
774156
774172
777133
777204
782771
784287
792230
794482
795020
796448
803579
812319
820147
826759
827190
]
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 (386698 , 398955 , 419840 , 424870 , 426440 , 440581 , 441757 , 441822 , 442280 , 442587 , 442957 , 445465 , 446090 , 446142 , 448036 , 448054 , 448058 , 448412 , 449301 , 452273 , 456383 , 457806 , 459471 , 460975 , 460976 , 464243 , 464245 , 470364 , 478829 , 482609 , 489847 , 500477 , 503619 , 510555 , 514149 , 514746 , 516975 , 516979 , 521223 , 541509 , 543645 , 548074 , 581501 , 592763 , 614942 , 616400 , 635783 , 640685 , 650489 , 650810 , 696865 , 706933 , 707974 , 711275 , 734356 , 734415 , 742927 , 744828 , 768265 , 774156 , 774172 , 777133 , 777204 , 782771 , 784287 , 792230 , 794482 , 795020 , 796448 , 803579 , 812319 , 820147 , 826759 , 827190 );
Copy
5
82.90 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
386698
398955
419840
424870
426440
440581
441757
441822
442280
442587
442957
445465
446090
446142
448036
448054
448058
448412
449301
452273
456383
457806
459471
460975
460976
464243
464245
470364
478829
482609
489847
500477
503619
510555
514149
514746
516975
516979
521223
541509
543645
548074
581501
592763
614942
616400
635783
640685
650489
650810
696865
706933
707974
711275
734356
734415
742927
744828
768265
774156
774172
777133
777204
782771
784287
792230
794482
795020
796448
803579
812319
820147
826759
827190
]
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 (386698 , 398955 , 419840 , 424870 , 426440 , 440581 , 441757 , 441822 , 442280 , 442587 , 442957 , 445465 , 446090 , 446142 , 448036 , 448054 , 448058 , 448412 , 449301 , 452273 , 456383 , 457806 , 459471 , 460975 , 460976 , 464243 , 464245 , 470364 , 478829 , 482609 , 489847 , 500477 , 503619 , 510555 , 514149 , 514746 , 516975 , 516979 , 521223 , 541509 , 543645 , 548074 , 581501 , 592763 , 614942 , 616400 , 635783 , 640685 , 650489 , 650810 , 696865 , 706933 , 707974 , 711275 , 734356 , 734415 , 742927 , 744828 , 768265 , 774156 , 774172 , 777133 , 777204 , 782771 , 784287 , 792230 , 794482 , 795020 , 796448 , 803579 , 812319 , 820147 , 826759 , 827190 );
Copy