3
13.03 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
752700
811330
721521
398051
668292
709628
632678
579673
590169
720007
655010
728571
752623
416611
423434
485471
423435
455914
680816
753110
415961
531192
600951
598675
530110
511501
428241
752973
108925
518766
581083
602300
672686
739054
458675
530375
531183
537771
641949
785503
807553
443231
537913
678063
613859
530482
458922
446529
642018
642066
599875
541863
637087
530479
600296
633123
678109
628383
628371
514113
617414
542216
794189
536645
531252
533512
683261
678131
592409
]
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 (752700 , 811330 , 721521 , 398051 , 668292 , 709628 , 632678 , 579673 , 590169 , 720007 , 655010 , 728571 , 752623 , 416611 , 423434 , 485471 , 423435 , 455914 , 680816 , 753110 , 415961 , 531192 , 600951 , 598675 , 530110 , 511501 , 428241 , 752973 , 108925 , 518766 , 581083 , 602300 , 672686 , 739054 , 458675 , 530375 , 531183 , 537771 , 641949 , 785503 , 807553 , 443231 , 537913 , 678063 , 613859 , 530482 , 458922 , 446529 , 642018 , 642066 , 599875 , 541863 , 637087 , 530479 , 600296 , 633123 , 678109 , 628383 , 628371 , 514113 , 617414 , 542216 , 794189 , 536645 , 531252 , 533512 , 683261 , 678131 , 592409 );
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
108925
398051
415961
416611
423434
423435
428241
443231
446529
455914
458675
458922
485471
511501
514113
518766
530110
530375
530479
530482
531183
531252
533512
536645
537771
537913
541863
542216
579673
581083
590169
592409
598675
599875
600296
600951
602300
613859
617414
628371
628383
632678
633123
637087
641949
642018
642066
655010
668292
672686
678063
678109
678131
680816
683261
709628
720007
721521
728571
739054
752623
752700
752973
753110
785503
794189
807553
811330
]
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 (108925 , 398051 , 415961 , 416611 , 423434 , 423435 , 428241 , 443231 , 446529 , 455914 , 458675 , 458922 , 485471 , 511501 , 514113 , 518766 , 530110 , 530375 , 530479 , 530482 , 531183 , 531252 , 533512 , 536645 , 537771 , 537913 , 541863 , 542216 , 579673 , 581083 , 590169 , 592409 , 598675 , 599875 , 600296 , 600951 , 602300 , 613859 , 617414 , 628371 , 628383 , 632678 , 633123 , 637087 , 641949 , 642018 , 642066 , 655010 , 668292 , 672686 , 678063 , 678109 , 678131 , 680816 , 683261 , 709628 , 720007 , 721521 , 728571 , 739054 , 752623 , 752700 , 752973 , 753110 , 785503 , 794189 , 807553 , 811330 );
Copy
5
77.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
108925
398051
415961
416611
423434
423435
428241
443231
446529
455914
458675
458922
485471
511501
514113
518766
530110
530375
530479
530482
531183
531252
533512
536645
537771
537913
541863
542216
579673
581083
590169
592409
598675
599875
600296
600951
602300
613859
617414
628371
628383
632678
633123
637087
641949
642018
642066
655010
668292
672686
678063
678109
678131
680816
683261
709628
720007
721521
728571
739054
752623
752700
752973
753110
785503
794189
807553
811330
]
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 (108925 , 398051 , 415961 , 416611 , 423434 , 423435 , 428241 , 443231 , 446529 , 455914 , 458675 , 458922 , 485471 , 511501 , 514113 , 518766 , 530110 , 530375 , 530479 , 530482 , 531183 , 531252 , 533512 , 536645 , 537771 , 537913 , 541863 , 542216 , 579673 , 581083 , 590169 , 592409 , 598675 , 599875 , 600296 , 600951 , 602300 , 613859 , 617414 , 628371 , 628383 , 632678 , 633123 , 637087 , 641949 , 642018 , 642066 , 655010 , 668292 , 672686 , 678063 , 678109 , 678131 , 680816 , 683261 , 709628 , 720007 , 721521 , 728571 , 739054 , 752623 , 752700 , 752973 , 753110 , 785503 , 794189 , 807553 , 811330 );
Copy