3
222.85 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
585554
787771
760602
785348
750514
752849
749430
753193
617793
638878
783215
459996
525435
445721
451157
450074
583347
570409
596402
599528
804622
757234
783211
784113
784126
784127
728924
768655
445752
446049
448470
474805
544861
547593
565808
558573
706029
596778
604785
602293
641552
811571
778811
756880
733415
435880
435798
462843
461022
498266
488769
490675
514568
583739
584812
681220
594245
601679
807589
784644
452548
504553
505591
460431
577926
594179
603184
756768
518634
503712
579344
486866
569450
519679
511370
]
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 (585554 , 787771 , 760602 , 785348 , 750514 , 752849 , 749430 , 753193 , 617793 , 638878 , 783215 , 459996 , 525435 , 445721 , 451157 , 450074 , 583347 , 570409 , 596402 , 599528 , 804622 , 757234 , 783211 , 784113 , 784126 , 784127 , 728924 , 768655 , 445752 , 446049 , 448470 , 474805 , 544861 , 547593 , 565808 , 558573 , 706029 , 596778 , 604785 , 602293 , 641552 , 811571 , 778811 , 756880 , 733415 , 435880 , 435798 , 462843 , 461022 , 498266 , 488769 , 490675 , 514568 , 583739 , 584812 , 681220 , 594245 , 601679 , 807589 , 784644 , 452548 , 504553 , 505591 , 460431 , 577926 , 594179 , 603184 , 756768 , 518634 , 503712 , 579344 , 486866 , 569450 , 519679 , 511370 );
Copy
4
2.62 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
435798
435880
445721
445752
446049
448470
450074
451157
452548
459996
460431
461022
462843
474805
486866
488769
490675
498266
503712
504553
505591
511370
514568
518634
519679
525435
544861
547593
558573
565808
569450
570409
577926
579344
583347
583739
584812
585554
594179
594245
596402
596778
599528
601679
602293
603184
604785
617793
638878
641552
681220
706029
728924
733415
749430
750514
752849
753193
756768
756880
757234
760602
768655
778811
783211
783215
784113
784126
784127
784644
785348
787771
804622
807589
811571
]
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 (435798 , 435880 , 445721 , 445752 , 446049 , 448470 , 450074 , 451157 , 452548 , 459996 , 460431 , 461022 , 462843 , 474805 , 486866 , 488769 , 490675 , 498266 , 503712 , 504553 , 505591 , 511370 , 514568 , 518634 , 519679 , 525435 , 544861 , 547593 , 558573 , 565808 , 569450 , 570409 , 577926 , 579344 , 583347 , 583739 , 584812 , 585554 , 594179 , 594245 , 596402 , 596778 , 599528 , 601679 , 602293 , 603184 , 604785 , 617793 , 638878 , 641552 , 681220 , 706029 , 728924 , 733415 , 749430 , 750514 , 752849 , 753193 , 756768 , 756880 , 757234 , 760602 , 768655 , 778811 , 783211 , 783215 , 784113 , 784126 , 784127 , 784644 , 785348 , 787771 , 804622 , 807589 , 811571 );
Copy
5
112.89 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
435798
435880
445721
445752
446049
448470
450074
451157
452548
459996
460431
461022
462843
474805
486866
488769
490675
498266
503712
504553
505591
511370
514568
518634
519679
525435
544861
547593
558573
565808
569450
570409
577926
579344
583347
583739
584812
585554
594179
594245
596402
596778
599528
601679
602293
603184
604785
617793
638878
641552
681220
706029
728924
733415
749430
750514
752849
753193
756768
756880
757234
760602
768655
778811
783211
783215
784113
784126
784127
784644
785348
787771
804622
807589
811571
]
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 (435798 , 435880 , 445721 , 445752 , 446049 , 448470 , 450074 , 451157 , 452548 , 459996 , 460431 , 461022 , 462843 , 474805 , 486866 , 488769 , 490675 , 498266 , 503712 , 504553 , 505591 , 511370 , 514568 , 518634 , 519679 , 525435 , 544861 , 547593 , 558573 , 565808 , 569450 , 570409 , 577926 , 579344 , 583347 , 583739 , 584812 , 585554 , 594179 , 594245 , 596402 , 596778 , 599528 , 601679 , 602293 , 603184 , 604785 , 617793 , 638878 , 641552 , 681220 , 706029 , 728924 , 733415 , 749430 , 750514 , 752849 , 753193 , 756768 , 756880 , 757234 , 760602 , 768655 , 778811 , 783211 , 783215 , 784113 , 784126 , 784127 , 784644 , 785348 , 787771 , 804622 , 807589 , 811571 );
Copy