211.13 ms (57.67%)
1
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
793044
807521
511052
515965
731946
403952
512939
604652
429819
671098
656938
806192
745142
417721
778867
382769
386944
615275
598197
417725
496869
800523
401189
501039
648514
787615
399088
417739
417727
417748
477553
551844
809493
761490
618005
417735
417723
417746
417730
482675
511047
512877
567133
582514
571221
738641
456267
417745
417743
506556
662556
462285
481421
444281
528074
529185
514379
589015
450861
485475
422511
422626
485481
408563
529405
605318
417324
526353
521526
701348
]
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 (793044 , 807521 , 511052 , 515965 , 731946 , 403952 , 512939 , 604652 , 429819 , 671098 , 656938 , 806192 , 745142 , 417721 , 778867 , 382769 , 386944 , 615275 , 598197 , 417725 , 496869 , 800523 , 401189 , 501039 , 648514 , 787615 , 399088 , 417739 , 417727 , 417748 , 477553 , 551844 , 809493 , 761490 , 618005 , 417735 , 417723 , 417746 , 417730 , 482675 , 511047 , 512877 , 567133 , 582514 , 571221 , 738641 , 456267 , 417745 , 417743 , 506556 , 662556 , 462285 , 481421 , 444281 , 528074 , 529185 , 514379 , 589015 , 450861 , 485475 , 422511 , 422626 , 485481 , 408563 , 529405 , 605318 , 417324 , 526353 , 521526 , 701348 );
Copy
121.11 ms (33.08%)
1
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
382769
386944
399088
401189
403952
408563
417324
417721
417723
417725
417727
417730
417735
417739
417743
417745
417746
417748
422511
422626
429819
444281
450861
456267
462285
477553
481421
482675
485475
485481
496869
501039
506556
511047
511052
512877
512939
514379
515965
521526
526353
528074
529185
529405
551844
567133
571221
582514
589015
598197
604652
605318
615275
618005
648514
656938
662556
671098
701348
731946
738641
745142
761490
778867
787615
793044
800523
806192
807521
809493
]
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 (382769 , 386944 , 399088 , 401189 , 403952 , 408563 , 417324 , 417721 , 417723 , 417725 , 417727 , 417730 , 417735 , 417739 , 417743 , 417745 , 417746 , 417748 , 422511 , 422626 , 429819 , 444281 , 450861 , 456267 , 462285 , 477553 , 481421 , 482675 , 485475 , 485481 , 496869 , 501039 , 506556 , 511047 , 511052 , 512877 , 512939 , 514379 , 515965 , 521526 , 526353 , 528074 , 529185 , 529405 , 551844 , 567133 , 571221 , 582514 , 589015 , 598197 , 604652 , 605318 , 615275 , 618005 , 648514 , 656938 , 662556 , 671098 , 701348 , 731946 , 738641 , 745142 , 761490 , 778867 , 787615 , 793044 , 800523 , 806192 , 807521 , 809493 );
Copy
2.19 ms (0.60%)
1
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
382769
386944
399088
401189
403952
408563
417324
417721
417723
417725
417727
417730
417735
417739
417743
417745
417746
417748
422511
422626
429819
444281
450861
456267
462285
477553
481421
482675
485475
485481
496869
501039
506556
511047
511052
512877
512939
514379
515965
521526
526353
528074
529185
529405
551844
567133
571221
582514
589015
598197
604652
605318
615275
618005
648514
656938
662556
671098
701348
731946
738641
745142
761490
778867
787615
793044
800523
806192
807521
809493
]
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 (382769 , 386944 , 399088 , 401189 , 403952 , 408563 , 417324 , 417721 , 417723 , 417725 , 417727 , 417730 , 417735 , 417739 , 417743 , 417745 , 417746 , 417748 , 422511 , 422626 , 429819 , 444281 , 450861 , 456267 , 462285 , 477553 , 481421 , 482675 , 485475 , 485481 , 496869 , 501039 , 506556 , 511047 , 511052 , 512877 , 512939 , 514379 , 515965 , 521526 , 526353 , 528074 , 529185 , 529405 , 551844 , 567133 , 571221 , 582514 , 589015 , 598197 , 604652 , 605318 , 615275 , 618005 , 648514 , 656938 , 662556 , 671098 , 701348 , 731946 , 738641 , 745142 , 761490 , 778867 , 787615 , 793044 , 800523 , 806192 , 807521 , 809493 );
Copy