3
10.62 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
485760
490793
555984
732069
383785
485745
460663
549230
562291
592592
778613
808027
465374
384862
465332
447327
462038
465341
496608
496599
520965
565481
558788
383118
418101
468216
496611
591161
796831
724275
804619
389623
470274
490086
420218
406089
522874
464499
511162
520514
546940
555786
586435
477982
466046
470779
484627
490873
491510
528053
544500
584168
663380
455479
447890
465963
490901
502808
563198
484728
572053
514375
630177
618476
589683
491955
559378
]
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 (485760 , 490793 , 555984 , 732069 , 383785 , 485745 , 460663 , 549230 , 562291 , 592592 , 778613 , 808027 , 465374 , 384862 , 465332 , 447327 , 462038 , 465341 , 496608 , 496599 , 520965 , 565481 , 558788 , 383118 , 418101 , 468216 , 496611 , 591161 , 796831 , 724275 , 804619 , 389623 , 470274 , 490086 , 420218 , 406089 , 522874 , 464499 , 511162 , 520514 , 546940 , 555786 , 586435 , 477982 , 466046 , 470779 , 484627 , 490873 , 491510 , 528053 , 544500 , 584168 , 663380 , 455479 , 447890 , 465963 , 490901 , 502808 , 563198 , 484728 , 572053 , 514375 , 630177 , 618476 , 589683 , 491955 , 559378 );
Copy
4
2.70 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
383118
383785
384862
389623
406089
418101
420218
447327
447890
455479
460663
462038
464499
465332
465341
465374
465963
466046
468216
470274
470779
477982
484627
484728
485745
485760
490086
490793
490873
490901
491510
491955
496599
496608
496611
502808
511162
514375
520514
520965
522874
528053
544500
546940
549230
555786
555984
558788
559378
562291
563198
565481
572053
584168
586435
589683
591161
592592
618476
630177
663380
724275
732069
778613
796831
804619
808027
]
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 (383118 , 383785 , 384862 , 389623 , 406089 , 418101 , 420218 , 447327 , 447890 , 455479 , 460663 , 462038 , 464499 , 465332 , 465341 , 465374 , 465963 , 466046 , 468216 , 470274 , 470779 , 477982 , 484627 , 484728 , 485745 , 485760 , 490086 , 490793 , 490873 , 490901 , 491510 , 491955 , 496599 , 496608 , 496611 , 502808 , 511162 , 514375 , 520514 , 520965 , 522874 , 528053 , 544500 , 546940 , 549230 , 555786 , 555984 , 558788 , 559378 , 562291 , 563198 , 565481 , 572053 , 584168 , 586435 , 589683 , 591161 , 592592 , 618476 , 630177 , 663380 , 724275 , 732069 , 778613 , 796831 , 804619 , 808027 );
Copy
5
119.23 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
383118
383785
384862
389623
406089
418101
420218
447327
447890
455479
460663
462038
464499
465332
465341
465374
465963
466046
468216
470274
470779
477982
484627
484728
485745
485760
490086
490793
490873
490901
491510
491955
496599
496608
496611
502808
511162
514375
520514
520965
522874
528053
544500
546940
549230
555786
555984
558788
559378
562291
563198
565481
572053
584168
586435
589683
591161
592592
618476
630177
663380
724275
732069
778613
796831
804619
808027
]
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 (383118 , 383785 , 384862 , 389623 , 406089 , 418101 , 420218 , 447327 , 447890 , 455479 , 460663 , 462038 , 464499 , 465332 , 465341 , 465374 , 465963 , 466046 , 468216 , 470274 , 470779 , 477982 , 484627 , 484728 , 485745 , 485760 , 490086 , 490793 , 490873 , 490901 , 491510 , 491955 , 496599 , 496608 , 496611 , 502808 , 511162 , 514375 , 520514 , 520965 , 522874 , 528053 , 544500 , 546940 , 549230 , 555786 , 555984 , 558788 , 559378 , 562291 , 563198 , 565481 , 572053 , 584168 , 586435 , 589683 , 591161 , 592592 , 618476 , 630177 , 663380 , 724275 , 732069 , 778613 , 796831 , 804619 , 808027 );
Copy