3
7.57 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
828704
810074
576592
592833
746646
817709
561029
757212
716672
746176
800913
630254
758448
740732
553665
579458
662818
649583
718745
439732
651465
540156
630519
540154
553675
670450
620911
809800
788979
671792
573516
659009
585812
800506
575026
727033
748964
752736
391934
583536
659033
800495
794355
807834
746021
553317
671791
669025
670402
632991
595605
811876
466384
710221
605432
643656
750549
791362
773474
582666
801292
542724
673570
707557
615714
637741
678135
633736
]
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 (828704 , 810074 , 576592 , 592833 , 746646 , 817709 , 561029 , 757212 , 716672 , 746176 , 800913 , 630254 , 758448 , 740732 , 553665 , 579458 , 662818 , 649583 , 718745 , 439732 , 651465 , 540156 , 630519 , 540154 , 553675 , 670450 , 620911 , 809800 , 788979 , 671792 , 573516 , 659009 , 585812 , 800506 , 575026 , 727033 , 748964 , 752736 , 391934 , 583536 , 659033 , 800495 , 794355 , 807834 , 746021 , 553317 , 671791 , 669025 , 670402 , 632991 , 595605 , 811876 , 466384 , 710221 , 605432 , 643656 , 750549 , 791362 , 773474 , 582666 , 801292 , 542724 , 673570 , 707557 , 615714 , 637741 , 678135 , 633736 );
Copy
4
3.57 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
391934
439732
466384
540154
540156
542724
553317
553665
553675
561029
573516
575026
576592
579458
582666
583536
585812
592833
595605
605432
615714
620911
630254
630519
632991
633736
637741
643656
649583
651465
659009
659033
662818
669025
670402
670450
671791
671792
673570
678135
707557
710221
716672
718745
727033
740732
746021
746176
746646
748964
750549
752736
757212
758448
773474
788979
791362
794355
800495
800506
800913
801292
807834
809800
810074
811876
817709
828704
]
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 (391934 , 439732 , 466384 , 540154 , 540156 , 542724 , 553317 , 553665 , 553675 , 561029 , 573516 , 575026 , 576592 , 579458 , 582666 , 583536 , 585812 , 592833 , 595605 , 605432 , 615714 , 620911 , 630254 , 630519 , 632991 , 633736 , 637741 , 643656 , 649583 , 651465 , 659009 , 659033 , 662818 , 669025 , 670402 , 670450 , 671791 , 671792 , 673570 , 678135 , 707557 , 710221 , 716672 , 718745 , 727033 , 740732 , 746021 , 746176 , 746646 , 748964 , 750549 , 752736 , 757212 , 758448 , 773474 , 788979 , 791362 , 794355 , 800495 , 800506 , 800913 , 801292 , 807834 , 809800 , 810074 , 811876 , 817709 , 828704 );
Copy
5
114.97 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
391934
439732
466384
540154
540156
542724
553317
553665
553675
561029
573516
575026
576592
579458
582666
583536
585812
592833
595605
605432
615714
620911
630254
630519
632991
633736
637741
643656
649583
651465
659009
659033
662818
669025
670402
670450
671791
671792
673570
678135
707557
710221
716672
718745
727033
740732
746021
746176
746646
748964
750549
752736
757212
758448
773474
788979
791362
794355
800495
800506
800913
801292
807834
809800
810074
811876
817709
828704
]
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 (391934 , 439732 , 466384 , 540154 , 540156 , 542724 , 553317 , 553665 , 553675 , 561029 , 573516 , 575026 , 576592 , 579458 , 582666 , 583536 , 585812 , 592833 , 595605 , 605432 , 615714 , 620911 , 630254 , 630519 , 632991 , 633736 , 637741 , 643656 , 649583 , 651465 , 659009 , 659033 , 662818 , 669025 , 670402 , 670450 , 671791 , 671792 , 673570 , 678135 , 707557 , 710221 , 716672 , 718745 , 727033 , 740732 , 746021 , 746176 , 746646 , 748964 , 750549 , 752736 , 757212 , 758448 , 773474 , 788979 , 791362 , 794355 , 800495 , 800506 , 800913 , 801292 , 807834 , 809800 , 810074 , 811876 , 817709 , 828704 );
Copy