3
7.82 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
581975
550811
550812
731631
789567
560980
658713
715668
562575
641604
589626
610953
641516
725488
633714
412866
692723
536131
556143
742330
806811
390133
736738
803356
821655
707441
626163
819371
458674
470990
550930
650516
680945
710540
619656
630239
788584
792689
441047
416240
641226
802181
515289
815769
821719
510918
724203
523582
666431
425611
823519
514905
693948
631880
808650
741217
657882
447337
474989
692743
798291
468206
481952
420566
533339
590418
455767
475508
636284
426551
]
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 (581975 , 550811 , 550812 , 731631 , 789567 , 560980 , 658713 , 715668 , 562575 , 641604 , 589626 , 610953 , 641516 , 725488 , 633714 , 412866 , 692723 , 536131 , 556143 , 742330 , 806811 , 390133 , 736738 , 803356 , 821655 , 707441 , 626163 , 819371 , 458674 , 470990 , 550930 , 650516 , 680945 , 710540 , 619656 , 630239 , 788584 , 792689 , 441047 , 416240 , 641226 , 802181 , 515289 , 815769 , 821719 , 510918 , 724203 , 523582 , 666431 , 425611 , 823519 , 514905 , 693948 , 631880 , 808650 , 741217 , 657882 , 447337 , 474989 , 692743 , 798291 , 468206 , 481952 , 420566 , 533339 , 590418 , 455767 , 475508 , 636284 , 426551 );
Copy
4
2.32 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
390133
412866
416240
420566
425611
426551
441047
447337
455767
458674
468206
470990
474989
475508
481952
510918
514905
515289
523582
533339
536131
550811
550812
550930
556143
560980
562575
581975
589626
590418
610953
619656
626163
630239
631880
633714
636284
641226
641516
641604
650516
657882
658713
666431
680945
692723
692743
693948
707441
710540
715668
724203
725488
731631
736738
741217
742330
788584
789567
792689
798291
802181
803356
806811
808650
815769
819371
821655
821719
823519
]
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 (390133 , 412866 , 416240 , 420566 , 425611 , 426551 , 441047 , 447337 , 455767 , 458674 , 468206 , 470990 , 474989 , 475508 , 481952 , 510918 , 514905 , 515289 , 523582 , 533339 , 536131 , 550811 , 550812 , 550930 , 556143 , 560980 , 562575 , 581975 , 589626 , 590418 , 610953 , 619656 , 626163 , 630239 , 631880 , 633714 , 636284 , 641226 , 641516 , 641604 , 650516 , 657882 , 658713 , 666431 , 680945 , 692723 , 692743 , 693948 , 707441 , 710540 , 715668 , 724203 , 725488 , 731631 , 736738 , 741217 , 742330 , 788584 , 789567 , 792689 , 798291 , 802181 , 803356 , 806811 , 808650 , 815769 , 819371 , 821655 , 821719 , 823519 );
Copy
5
106.38 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
390133
412866
416240
420566
425611
426551
441047
447337
455767
458674
468206
470990
474989
475508
481952
510918
514905
515289
523582
533339
536131
550811
550812
550930
556143
560980
562575
581975
589626
590418
610953
619656
626163
630239
631880
633714
636284
641226
641516
641604
650516
657882
658713
666431
680945
692723
692743
693948
707441
710540
715668
724203
725488
731631
736738
741217
742330
788584
789567
792689
798291
802181
803356
806811
808650
815769
819371
821655
821719
823519
]
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 (390133 , 412866 , 416240 , 420566 , 425611 , 426551 , 441047 , 447337 , 455767 , 458674 , 468206 , 470990 , 474989 , 475508 , 481952 , 510918 , 514905 , 515289 , 523582 , 533339 , 536131 , 550811 , 550812 , 550930 , 556143 , 560980 , 562575 , 581975 , 589626 , 590418 , 610953 , 619656 , 626163 , 630239 , 631880 , 633714 , 636284 , 641226 , 641516 , 641604 , 650516 , 657882 , 658713 , 666431 , 680945 , 692723 , 692743 , 693948 , 707441 , 710540 , 715668 , 724203 , 725488 , 731631 , 736738 , 741217 , 742330 , 788584 , 789567 , 792689 , 798291 , 802181 , 803356 , 806811 , 808650 , 815769 , 819371 , 821655 , 821719 , 823519 );
Copy