3
10.60 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
673809
618853
465031
597140
658992
669224
388094
445043
686034
634116
395456
485161
465669
590165
414001
393314
393660
533490
535467
720924
680161
649168
617618
730466
633112
460194
396704
678127
641678
383564
359918
443231
419027
814654
511499
532926
518394
532968
535749
524870
676073
704715
632681
385677
605449
617417
666876
399058
518935
533002
680198
623973
463262
413235
516685
573373
458916
390413
475703
500931
554445
632692
446167
536645
521576
637074
]
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 (673809 , 618853 , 465031 , 597140 , 658992 , 669224 , 388094 , 445043 , 686034 , 634116 , 395456 , 485161 , 465669 , 590165 , 414001 , 393314 , 393660 , 533490 , 535467 , 720924 , 680161 , 649168 , 617618 , 730466 , 633112 , 460194 , 396704 , 678127 , 641678 , 383564 , 359918 , 443231 , 419027 , 814654 , 511499 , 532926 , 518394 , 532968 , 535749 , 524870 , 676073 , 704715 , 632681 , 385677 , 605449 , 617417 , 666876 , 399058 , 518935 , 533002 , 680198 , 623973 , 463262 , 413235 , 516685 , 573373 , 458916 , 390413 , 475703 , 500931 , 554445 , 632692 , 446167 , 536645 , 521576 , 637074 );
Copy
4
3.96 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
359918
383564
385677
388094
390413
393314
393660
395456
396704
399058
413235
414001
419027
443231
445043
446167
458916
460194
463262
465031
465669
475703
485161
500931
511499
516685
518394
518935
521576
524870
532926
532968
533002
533490
535467
535749
536645
554445
573373
590165
597140
605449
617417
617618
618853
623973
632681
632692
633112
634116
637074
641678
649168
658992
666876
669224
673809
676073
678127
680161
680198
686034
704715
720924
730466
814654
]
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 (359918 , 383564 , 385677 , 388094 , 390413 , 393314 , 393660 , 395456 , 396704 , 399058 , 413235 , 414001 , 419027 , 443231 , 445043 , 446167 , 458916 , 460194 , 463262 , 465031 , 465669 , 475703 , 485161 , 500931 , 511499 , 516685 , 518394 , 518935 , 521576 , 524870 , 532926 , 532968 , 533002 , 533490 , 535467 , 535749 , 536645 , 554445 , 573373 , 590165 , 597140 , 605449 , 617417 , 617618 , 618853 , 623973 , 632681 , 632692 , 633112 , 634116 , 637074 , 641678 , 649168 , 658992 , 666876 , 669224 , 673809 , 676073 , 678127 , 680161 , 680198 , 686034 , 704715 , 720924 , 730466 , 814654 );
Copy
5
100.15 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
359918
383564
385677
388094
390413
393314
393660
395456
396704
399058
413235
414001
419027
443231
445043
446167
458916
460194
463262
465031
465669
475703
485161
500931
511499
516685
518394
518935
521576
524870
532926
532968
533002
533490
535467
535749
536645
554445
573373
590165
597140
605449
617417
617618
618853
623973
632681
632692
633112
634116
637074
641678
649168
658992
666876
669224
673809
676073
678127
680161
680198
686034
704715
720924
730466
814654
]
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 (359918 , 383564 , 385677 , 388094 , 390413 , 393314 , 393660 , 395456 , 396704 , 399058 , 413235 , 414001 , 419027 , 443231 , 445043 , 446167 , 458916 , 460194 , 463262 , 465031 , 465669 , 475703 , 485161 , 500931 , 511499 , 516685 , 518394 , 518935 , 521576 , 524870 , 532926 , 532968 , 533002 , 533490 , 535467 , 535749 , 536645 , 554445 , 573373 , 590165 , 597140 , 605449 , 617417 , 617618 , 618853 , 623973 , 632681 , 632692 , 633112 , 634116 , 637074 , 641678 , 649168 , 658992 , 666876 , 669224 , 673809 , 676073 , 678127 , 680161 , 680198 , 686034 , 704715 , 720924 , 730466 , 814654 );
Copy