3
11.98 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
815133
502559
473907
825653
826301
573565
645889
531012
785768
54371
397092
766051
529030
529077
644934
799048
527545
538393
485489
584867
573859
578082
462500
470571
527498
645922
539614
470511
470266
475962
647296
572997
573085
645932
565194
641999
644685
406060
429083
427800
485493
525439
472266
541332
458244
469152
471337
554562
573558
573426
599542
751566
458886
444411
524250
454736
522212
425925
513751
523796
594929
450484
427898
489373
518945
470550
543618
552777
420206
666819
472910
482492
557676
469601
]
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 (815133 , 502559 , 473907 , 825653 , 826301 , 573565 , 645889 , 531012 , 785768 , 54371 , 397092 , 766051 , 529030 , 529077 , 644934 , 799048 , 527545 , 538393 , 485489 , 584867 , 573859 , 578082 , 462500 , 470571 , 527498 , 645922 , 539614 , 470511 , 470266 , 475962 , 647296 , 572997 , 573085 , 645932 , 565194 , 641999 , 644685 , 406060 , 429083 , 427800 , 485493 , 525439 , 472266 , 541332 , 458244 , 469152 , 471337 , 554562 , 573558 , 573426 , 599542 , 751566 , 458886 , 444411 , 524250 , 454736 , 522212 , 425925 , 513751 , 523796 , 594929 , 450484 , 427898 , 489373 , 518945 , 470550 , 543618 , 552777 , 420206 , 666819 , 472910 , 482492 , 557676 , 469601 );
Copy
4
2.78 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
54371
397092
406060
420206
425925
427800
427898
429083
444411
450484
454736
458244
458886
462500
469152
469601
470266
470511
470550
470571
471337
472266
472910
473907
475962
482492
485489
485493
489373
502559
513751
518945
522212
523796
524250
525439
527498
527545
529030
529077
531012
538393
539614
541332
543618
552777
554562
557676
565194
572997
573085
573426
573558
573565
573859
578082
584867
594929
599542
641999
644685
644934
645889
645922
645932
647296
666819
751566
766051
785768
799048
815133
825653
826301
]
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 (54371 , 397092 , 406060 , 420206 , 425925 , 427800 , 427898 , 429083 , 444411 , 450484 , 454736 , 458244 , 458886 , 462500 , 469152 , 469601 , 470266 , 470511 , 470550 , 470571 , 471337 , 472266 , 472910 , 473907 , 475962 , 482492 , 485489 , 485493 , 489373 , 502559 , 513751 , 518945 , 522212 , 523796 , 524250 , 525439 , 527498 , 527545 , 529030 , 529077 , 531012 , 538393 , 539614 , 541332 , 543618 , 552777 , 554562 , 557676 , 565194 , 572997 , 573085 , 573426 , 573558 , 573565 , 573859 , 578082 , 584867 , 594929 , 599542 , 641999 , 644685 , 644934 , 645889 , 645922 , 645932 , 647296 , 666819 , 751566 , 766051 , 785768 , 799048 , 815133 , 825653 , 826301 );
Copy
5
97.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
54371
397092
406060
420206
425925
427800
427898
429083
444411
450484
454736
458244
458886
462500
469152
469601
470266
470511
470550
470571
471337
472266
472910
473907
475962
482492
485489
485493
489373
502559
513751
518945
522212
523796
524250
525439
527498
527545
529030
529077
531012
538393
539614
541332
543618
552777
554562
557676
565194
572997
573085
573426
573558
573565
573859
578082
584867
594929
599542
641999
644685
644934
645889
645922
645932
647296
666819
751566
766051
785768
799048
815133
825653
826301
]
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 (54371 , 397092 , 406060 , 420206 , 425925 , 427800 , 427898 , 429083 , 444411 , 450484 , 454736 , 458244 , 458886 , 462500 , 469152 , 469601 , 470266 , 470511 , 470550 , 470571 , 471337 , 472266 , 472910 , 473907 , 475962 , 482492 , 485489 , 485493 , 489373 , 502559 , 513751 , 518945 , 522212 , 523796 , 524250 , 525439 , 527498 , 527545 , 529030 , 529077 , 531012 , 538393 , 539614 , 541332 , 543618 , 552777 , 554562 , 557676 , 565194 , 572997 , 573085 , 573426 , 573558 , 573565 , 573859 , 578082 , 584867 , 594929 , 599542 , 641999 , 644685 , 644934 , 645889 , 645922 , 645932 , 647296 , 666819 , 751566 , 766051 , 785768 , 799048 , 815133 , 825653 , 826301 );
Copy