218.66 ms (65.78%)
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
522653
525200
542127
569541
680746
719808
557810
560153
565695
567074
592921
600851
460583
437619
474309
443641
460294
490440
502778
486223
515678
539069
486859
486854
486866
486875
394548
425588
464608
447474
464612
447947
530375
509027
526368
481159
584635
556018
573736
581199
584382
619090
626405
635988
526568
509174
459512
447944
455945
514828
486863
567504
584752
598601
595226
446706
452589
526228
497237
526373
455943
530384
526366
573479
486860
548311
499104
519013
467867
]
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 (522653 , 525200 , 542127 , 569541 , 680746 , 719808 , 557810 , 560153 , 565695 , 567074 , 592921 , 600851 , 460583 , 437619 , 474309 , 443641 , 460294 , 490440 , 502778 , 486223 , 515678 , 539069 , 486859 , 486854 , 486866 , 486875 , 394548 , 425588 , 464608 , 447474 , 464612 , 447947 , 530375 , 509027 , 526368 , 481159 , 584635 , 556018 , 573736 , 581199 , 584382 , 619090 , 626405 , 635988 , 526568 , 509174 , 459512 , 447944 , 455945 , 514828 , 486863 , 567504 , 584752 , 598601 , 595226 , 446706 , 452589 , 526228 , 497237 , 526373 , 455943 , 530384 , 526366 , 573479 , 486860 , 548311 , 499104 , 519013 , 467867 );
Copy
80.39 ms (24.18%)
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
394548
425588
437619
443641
446706
447474
447944
447947
452589
455943
455945
459512
460294
460583
464608
464612
467867
474309
481159
486223
486854
486859
486860
486863
486866
486875
490440
497237
499104
502778
509027
509174
514828
515678
519013
522653
525200
526228
526366
526368
526373
526568
530375
530384
539069
542127
548311
556018
557810
560153
565695
567074
567504
569541
573479
573736
581199
584382
584635
584752
592921
595226
598601
600851
619090
626405
635988
680746
719808
]
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 (394548 , 425588 , 437619 , 443641 , 446706 , 447474 , 447944 , 447947 , 452589 , 455943 , 455945 , 459512 , 460294 , 460583 , 464608 , 464612 , 467867 , 474309 , 481159 , 486223 , 486854 , 486859 , 486860 , 486863 , 486866 , 486875 , 490440 , 497237 , 499104 , 502778 , 509027 , 509174 , 514828 , 515678 , 519013 , 522653 , 525200 , 526228 , 526366 , 526368 , 526373 , 526568 , 530375 , 530384 , 539069 , 542127 , 548311 , 556018 , 557810 , 560153 , 565695 , 567074 , 567504 , 569541 , 573479 , 573736 , 581199 , 584382 , 584635 , 584752 , 592921 , 595226 , 598601 , 600851 , 619090 , 626405 , 635988 , 680746 , 719808 );
Copy
2.47 ms (0.74%)
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
394548
425588
437619
443641
446706
447474
447944
447947
452589
455943
455945
459512
460294
460583
464608
464612
467867
474309
481159
486223
486854
486859
486860
486863
486866
486875
490440
497237
499104
502778
509027
509174
514828
515678
519013
522653
525200
526228
526366
526368
526373
526568
530375
530384
539069
542127
548311
556018
557810
560153
565695
567074
567504
569541
573479
573736
581199
584382
584635
584752
592921
595226
598601
600851
619090
626405
635988
680746
719808
]
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 (394548 , 425588 , 437619 , 443641 , 446706 , 447474 , 447944 , 447947 , 452589 , 455943 , 455945 , 459512 , 460294 , 460583 , 464608 , 464612 , 467867 , 474309 , 481159 , 486223 , 486854 , 486859 , 486860 , 486863 , 486866 , 486875 , 490440 , 497237 , 499104 , 502778 , 509027 , 509174 , 514828 , 515678 , 519013 , 522653 , 525200 , 526228 , 526366 , 526368 , 526373 , 526568 , 530375 , 530384 , 539069 , 542127 , 548311 , 556018 , 557810 , 560153 , 565695 , 567074 , 567504 , 569541 , 573479 , 573736 , 581199 , 584382 , 584635 , 584752 , 592921 , 595226 , 598601 , 600851 , 619090 , 626405 , 635988 , 680746 , 719808 );
Copy