3
13.76 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
544502
567959
567382
550232
550227
563447
576350
563217
558009
691186
547607
563221
619076
563223
563456
644968
563198
546993
563166
558249
598067
567429
545517
549771
551847
563133
578952
563218
566370
558003
542956
579345
601853
617641
547932
622831
625491
601846
546614
611616
616686
662137
622833
566304
546774
659262
523624
542954
563441
622832
542961
601851
526111
470636
563446
597134
620757
613318
485589
600069
659270
543965
472005
609196
543579
727794
456389
491153
470924
697459
509910
453601
470944
465828
620223
]
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 (544502 , 567959 , 567382 , 550232 , 550227 , 563447 , 576350 , 563217 , 558009 , 691186 , 547607 , 563221 , 619076 , 563223 , 563456 , 644968 , 563198 , 546993 , 563166 , 558249 , 598067 , 567429 , 545517 , 549771 , 551847 , 563133 , 578952 , 563218 , 566370 , 558003 , 542956 , 579345 , 601853 , 617641 , 547932 , 622831 , 625491 , 601846 , 546614 , 611616 , 616686 , 662137 , 622833 , 566304 , 546774 , 659262 , 523624 , 542954 , 563441 , 622832 , 542961 , 601851 , 526111 , 470636 , 563446 , 597134 , 620757 , 613318 , 485589 , 600069 , 659270 , 543965 , 472005 , 609196 , 543579 , 727794 , 456389 , 491153 , 470924 , 697459 , 509910 , 453601 , 470944 , 465828 , 620223 );
Copy
4
2.85 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
453601
456389
465828
470636
470924
470944
472005
485589
491153
509910
523624
526111
542954
542956
542961
543579
543965
544502
545517
546614
546774
546993
547607
547932
549771
550227
550232
551847
558003
558009
558249
563133
563166
563198
563217
563218
563221
563223
563441
563446
563447
563456
566304
566370
567382
567429
567959
576350
578952
579345
597134
598067
600069
601846
601851
601853
609196
611616
613318
616686
617641
619076
620223
620757
622831
622832
622833
625491
644968
659262
659270
662137
691186
697459
727794
]
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 (453601 , 456389 , 465828 , 470636 , 470924 , 470944 , 472005 , 485589 , 491153 , 509910 , 523624 , 526111 , 542954 , 542956 , 542961 , 543579 , 543965 , 544502 , 545517 , 546614 , 546774 , 546993 , 547607 , 547932 , 549771 , 550227 , 550232 , 551847 , 558003 , 558009 , 558249 , 563133 , 563166 , 563198 , 563217 , 563218 , 563221 , 563223 , 563441 , 563446 , 563447 , 563456 , 566304 , 566370 , 567382 , 567429 , 567959 , 576350 , 578952 , 579345 , 597134 , 598067 , 600069 , 601846 , 601851 , 601853 , 609196 , 611616 , 613318 , 616686 , 617641 , 619076 , 620223 , 620757 , 622831 , 622832 , 622833 , 625491 , 644968 , 659262 , 659270 , 662137 , 691186 , 697459 , 727794 );
Copy
5
111.04 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
453601
456389
465828
470636
470924
470944
472005
485589
491153
509910
523624
526111
542954
542956
542961
543579
543965
544502
545517
546614
546774
546993
547607
547932
549771
550227
550232
551847
558003
558009
558249
563133
563166
563198
563217
563218
563221
563223
563441
563446
563447
563456
566304
566370
567382
567429
567959
576350
578952
579345
597134
598067
600069
601846
601851
601853
609196
611616
613318
616686
617641
619076
620223
620757
622831
622832
622833
625491
644968
659262
659270
662137
691186
697459
727794
]
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 (453601 , 456389 , 465828 , 470636 , 470924 , 470944 , 472005 , 485589 , 491153 , 509910 , 523624 , 526111 , 542954 , 542956 , 542961 , 543579 , 543965 , 544502 , 545517 , 546614 , 546774 , 546993 , 547607 , 547932 , 549771 , 550227 , 550232 , 551847 , 558003 , 558009 , 558249 , 563133 , 563166 , 563198 , 563217 , 563218 , 563221 , 563223 , 563441 , 563446 , 563447 , 563456 , 566304 , 566370 , 567382 , 567429 , 567959 , 576350 , 578952 , 579345 , 597134 , 598067 , 600069 , 601846 , 601851 , 601853 , 609196 , 611616 , 613318 , 616686 , 617641 , 619076 , 620223 , 620757 , 622831 , 622832 , 622833 , 625491 , 644968 , 659262 , 659270 , 662137 , 691186 , 697459 , 727794 );
Copy