3
222.76 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
565245
640813
680118
628327
629359
642043
494121
582179
398426
532843
599835
414771
443323
544840
615717
522138
543659
543848
457064
597963
428276
481142
454802
612399
630524
631202
419132
416989
468835
471668
634769
628082
519592
493122
545611
610694
634187
633449
675009
586587
545488
470580
599967
517743
466404
541853
565276
512447
516684
675008
632632
617165
599988
543842
501239
453103
628117
600011
593125
523924
491232
648257
469198
503151
527915
665328
559378
]
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 (565245 , 640813 , 680118 , 628327 , 629359 , 642043 , 494121 , 582179 , 398426 , 532843 , 599835 , 414771 , 443323 , 544840 , 615717 , 522138 , 543659 , 543848 , 457064 , 597963 , 428276 , 481142 , 454802 , 612399 , 630524 , 631202 , 419132 , 416989 , 468835 , 471668 , 634769 , 628082 , 519592 , 493122 , 545611 , 610694 , 634187 , 633449 , 675009 , 586587 , 545488 , 470580 , 599967 , 517743 , 466404 , 541853 , 565276 , 512447 , 516684 , 675008 , 632632 , 617165 , 599988 , 543842 , 501239 , 453103 , 628117 , 600011 , 593125 , 523924 , 491232 , 648257 , 469198 , 503151 , 527915 , 665328 , 559378 );
Copy
4
2.84 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
398426
414771
416989
419132
428276
443323
453103
454802
457064
466404
468835
469198
470580
471668
481142
491232
493122
494121
501239
503151
512447
516684
517743
519592
522138
523924
527915
532843
541853
543659
543842
543848
544840
545488
545611
559378
565245
565276
582179
586587
593125
597963
599835
599967
599988
600011
610694
612399
615717
617165
628082
628117
628327
629359
630524
631202
632632
633449
634187
634769
640813
642043
648257
665328
675008
675009
680118
]
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 (398426 , 414771 , 416989 , 419132 , 428276 , 443323 , 453103 , 454802 , 457064 , 466404 , 468835 , 469198 , 470580 , 471668 , 481142 , 491232 , 493122 , 494121 , 501239 , 503151 , 512447 , 516684 , 517743 , 519592 , 522138 , 523924 , 527915 , 532843 , 541853 , 543659 , 543842 , 543848 , 544840 , 545488 , 545611 , 559378 , 565245 , 565276 , 582179 , 586587 , 593125 , 597963 , 599835 , 599967 , 599988 , 600011 , 610694 , 612399 , 615717 , 617165 , 628082 , 628117 , 628327 , 629359 , 630524 , 631202 , 632632 , 633449 , 634187 , 634769 , 640813 , 642043 , 648257 , 665328 , 675008 , 675009 , 680118 );
Copy
5
287.91 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
398426
414771
416989
419132
428276
443323
453103
454802
457064
466404
468835
469198
470580
471668
481142
491232
493122
494121
501239
503151
512447
516684
517743
519592
522138
523924
527915
532843
541853
543659
543842
543848
544840
545488
545611
559378
565245
565276
582179
586587
593125
597963
599835
599967
599988
600011
610694
612399
615717
617165
628082
628117
628327
629359
630524
631202
632632
633449
634187
634769
640813
642043
648257
665328
675008
675009
680118
]
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 (398426 , 414771 , 416989 , 419132 , 428276 , 443323 , 453103 , 454802 , 457064 , 466404 , 468835 , 469198 , 470580 , 471668 , 481142 , 491232 , 493122 , 494121 , 501239 , 503151 , 512447 , 516684 , 517743 , 519592 , 522138 , 523924 , 527915 , 532843 , 541853 , 543659 , 543842 , 543848 , 544840 , 545488 , 545611 , 559378 , 565245 , 565276 , 582179 , 586587 , 593125 , 597963 , 599835 , 599967 , 599988 , 600011 , 610694 , 612399 , 615717 , 617165 , 628082 , 628117 , 628327 , 629359 , 630524 , 631202 , 632632 , 633449 , 634187 , 634769 , 640813 , 642043 , 648257 , 665328 , 675008 , 675009 , 680118 );
Copy