3
14.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
744844
747004
808756
468584
414516
468756
516427
526996
498238
508818
521779
488813
404366
407111
464058
511268
468781
694058
587858
622188
757928
755967
418411
406695
468773
528906
485325
483500
401025
407505
524089
518917
526188
531436
523496
647297
714497
565481
597227
602532
806324
489120
526564
508769
483498
414651
468771
645997
558138
579359
547974
568556
584328
589232
404318
413827
414548
520736
526003
478647
523205
521804
470288
581736
489082
637123
577929
462450
419627
424746
624214
571834
575197
605406
561307
]
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 (744844 , 747004 , 808756 , 468584 , 414516 , 468756 , 516427 , 526996 , 498238 , 508818 , 521779 , 488813 , 404366 , 407111 , 464058 , 511268 , 468781 , 694058 , 587858 , 622188 , 757928 , 755967 , 418411 , 406695 , 468773 , 528906 , 485325 , 483500 , 401025 , 407505 , 524089 , 518917 , 526188 , 531436 , 523496 , 647297 , 714497 , 565481 , 597227 , 602532 , 806324 , 489120 , 526564 , 508769 , 483498 , 414651 , 468771 , 645997 , 558138 , 579359 , 547974 , 568556 , 584328 , 589232 , 404318 , 413827 , 414548 , 520736 , 526003 , 478647 , 523205 , 521804 , 470288 , 581736 , 489082 , 637123 , 577929 , 462450 , 419627 , 424746 , 624214 , 571834 , 575197 , 605406 , 561307 );
Copy
4
3.59 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
401025
404318
404366
406695
407111
407505
413827
414516
414548
414651
418411
419627
424746
462450
464058
468584
468756
468771
468773
468781
470288
478647
483498
483500
485325
488813
489082
489120
498238
508769
508818
511268
516427
518917
520736
521779
521804
523205
523496
524089
526003
526188
526564
526996
528906
531436
547974
558138
561307
565481
568556
571834
575197
577929
579359
581736
584328
587858
589232
597227
602532
605406
622188
624214
637123
645997
647297
694058
714497
744844
747004
755967
757928
806324
808756
]
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 (401025 , 404318 , 404366 , 406695 , 407111 , 407505 , 413827 , 414516 , 414548 , 414651 , 418411 , 419627 , 424746 , 462450 , 464058 , 468584 , 468756 , 468771 , 468773 , 468781 , 470288 , 478647 , 483498 , 483500 , 485325 , 488813 , 489082 , 489120 , 498238 , 508769 , 508818 , 511268 , 516427 , 518917 , 520736 , 521779 , 521804 , 523205 , 523496 , 524089 , 526003 , 526188 , 526564 , 526996 , 528906 , 531436 , 547974 , 558138 , 561307 , 565481 , 568556 , 571834 , 575197 , 577929 , 579359 , 581736 , 584328 , 587858 , 589232 , 597227 , 602532 , 605406 , 622188 , 624214 , 637123 , 645997 , 647297 , 694058 , 714497 , 744844 , 747004 , 755967 , 757928 , 806324 , 808756 );
Copy
5
96.21 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
401025
404318
404366
406695
407111
407505
413827
414516
414548
414651
418411
419627
424746
462450
464058
468584
468756
468771
468773
468781
470288
478647
483498
483500
485325
488813
489082
489120
498238
508769
508818
511268
516427
518917
520736
521779
521804
523205
523496
524089
526003
526188
526564
526996
528906
531436
547974
558138
561307
565481
568556
571834
575197
577929
579359
581736
584328
587858
589232
597227
602532
605406
622188
624214
637123
645997
647297
694058
714497
744844
747004
755967
757928
806324
808756
]
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 (401025 , 404318 , 404366 , 406695 , 407111 , 407505 , 413827 , 414516 , 414548 , 414651 , 418411 , 419627 , 424746 , 462450 , 464058 , 468584 , 468756 , 468771 , 468773 , 468781 , 470288 , 478647 , 483498 , 483500 , 485325 , 488813 , 489082 , 489120 , 498238 , 508769 , 508818 , 511268 , 516427 , 518917 , 520736 , 521779 , 521804 , 523205 , 523496 , 524089 , 526003 , 526188 , 526564 , 526996 , 528906 , 531436 , 547974 , 558138 , 561307 , 565481 , 568556 , 571834 , 575197 , 577929 , 579359 , 581736 , 584328 , 587858 , 589232 , 597227 , 602532 , 605406 , 622188 , 624214 , 637123 , 645997 , 647297 , 694058 , 714497 , 744844 , 747004 , 755967 , 757928 , 806324 , 808756 );
Copy