3
9.04 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
814848
466288
730190
589467
815356
168687
789410
614671
567612
650551
736161
469770
181096
707360
772141
780730
726641
589936
824735
573596
395890
653256
609908
570045
502751
463781
610135
711600
454741
733564
731431
382284
562153
416152
721277
620145
442952
820122
591091
445938
497771
483340
499847
622856
535535
600138
511774
538936
462268
492618
409767
649566
472517
615757
580640
491773
815119
592229
580029
535038
615979
716811
513025
651954
605586
]
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 (814848 , 466288 , 730190 , 589467 , 815356 , 168687 , 789410 , 614671 , 567612 , 650551 , 736161 , 469770 , 181096 , 707360 , 772141 , 780730 , 726641 , 589936 , 824735 , 573596 , 395890 , 653256 , 609908 , 570045 , 502751 , 463781 , 610135 , 711600 , 454741 , 733564 , 731431 , 382284 , 562153 , 416152 , 721277 , 620145 , 442952 , 820122 , 591091 , 445938 , 497771 , 483340 , 499847 , 622856 , 535535 , 600138 , 511774 , 538936 , 462268 , 492618 , 409767 , 649566 , 472517 , 615757 , 580640 , 491773 , 815119 , 592229 , 580029 , 535038 , 615979 , 716811 , 513025 , 651954 , 605586 );
Copy
4
3.17 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
168687
181096
382284
395890
409767
416152
442952
445938
454741
462268
463781
466288
469770
472517
483340
491773
492618
497771
499847
502751
511774
513025
535038
535535
538936
562153
567612
570045
573596
580029
580640
589467
589936
591091
592229
600138
605586
609908
610135
614671
615757
615979
620145
622856
649566
650551
651954
653256
707360
711600
716811
721277
726641
730190
731431
733564
736161
772141
780730
789410
814848
815119
815356
820122
824735
]
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 (168687 , 181096 , 382284 , 395890 , 409767 , 416152 , 442952 , 445938 , 454741 , 462268 , 463781 , 466288 , 469770 , 472517 , 483340 , 491773 , 492618 , 497771 , 499847 , 502751 , 511774 , 513025 , 535038 , 535535 , 538936 , 562153 , 567612 , 570045 , 573596 , 580029 , 580640 , 589467 , 589936 , 591091 , 592229 , 600138 , 605586 , 609908 , 610135 , 614671 , 615757 , 615979 , 620145 , 622856 , 649566 , 650551 , 651954 , 653256 , 707360 , 711600 , 716811 , 721277 , 726641 , 730190 , 731431 , 733564 , 736161 , 772141 , 780730 , 789410 , 814848 , 815119 , 815356 , 820122 , 824735 );
Copy
5
100.39 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
168687
181096
382284
395890
409767
416152
442952
445938
454741
462268
463781
466288
469770
472517
483340
491773
492618
497771
499847
502751
511774
513025
535038
535535
538936
562153
567612
570045
573596
580029
580640
589467
589936
591091
592229
600138
605586
609908
610135
614671
615757
615979
620145
622856
649566
650551
651954
653256
707360
711600
716811
721277
726641
730190
731431
733564
736161
772141
780730
789410
814848
815119
815356
820122
824735
]
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 (168687 , 181096 , 382284 , 395890 , 409767 , 416152 , 442952 , 445938 , 454741 , 462268 , 463781 , 466288 , 469770 , 472517 , 483340 , 491773 , 492618 , 497771 , 499847 , 502751 , 511774 , 513025 , 535038 , 535535 , 538936 , 562153 , 567612 , 570045 , 573596 , 580029 , 580640 , 589467 , 589936 , 591091 , 592229 , 600138 , 605586 , 609908 , 610135 , 614671 , 615757 , 615979 , 620145 , 622856 , 649566 , 650551 , 651954 , 653256 , 707360 , 711600 , 716811 , 721277 , 726641 , 730190 , 731431 , 733564 , 736161 , 772141 , 780730 , 789410 , 814848 , 815119 , 815356 , 820122 , 824735 );
Copy