3
23.78 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
574153
444903
444438
462707
381921
581096
393754
482483
452259
451966
670250
680177
612638
632969
445947
400490
450286
549823
741539
461394
506946
458051
560968
769337
435941
546053
493082
539354
621647
724176
443807
443510
543503
510758
644674
505130
580238
757896
457000
458974
597923
483357
603605
468593
814266
491762
486815
599299
616994
411189
714511
677142
569132
512471
477721
493122
482808
518131
579493
455912
597689
526211
658433
656462
583729
599249
506269
]
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 (574153 , 444903 , 444438 , 462707 , 381921 , 581096 , 393754 , 482483 , 452259 , 451966 , 670250 , 680177 , 612638 , 632969 , 445947 , 400490 , 450286 , 549823 , 741539 , 461394 , 506946 , 458051 , 560968 , 769337 , 435941 , 546053 , 493082 , 539354 , 621647 , 724176 , 443807 , 443510 , 543503 , 510758 , 644674 , 505130 , 580238 , 757896 , 457000 , 458974 , 597923 , 483357 , 603605 , 468593 , 814266 , 491762 , 486815 , 599299 , 616994 , 411189 , 714511 , 677142 , 569132 , 512471 , 477721 , 493122 , 482808 , 518131 , 579493 , 455912 , 597689 , 526211 , 658433 , 656462 , 583729 , 599249 , 506269 );
Copy
4
5.65 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
381921
393754
400490
411189
435941
443510
443807
444438
444903
445947
450286
451966
452259
455912
457000
458051
458974
461394
462707
468593
477721
482483
482808
483357
486815
491762
493082
493122
505130
506269
506946
510758
512471
518131
526211
539354
543503
546053
549823
560968
569132
574153
579493
580238
581096
583729
597689
597923
599249
599299
603605
612638
616994
621647
632969
644674
656462
658433
670250
677142
680177
714511
724176
741539
757896
769337
814266
]
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 (381921 , 393754 , 400490 , 411189 , 435941 , 443510 , 443807 , 444438 , 444903 , 445947 , 450286 , 451966 , 452259 , 455912 , 457000 , 458051 , 458974 , 461394 , 462707 , 468593 , 477721 , 482483 , 482808 , 483357 , 486815 , 491762 , 493082 , 493122 , 505130 , 506269 , 506946 , 510758 , 512471 , 518131 , 526211 , 539354 , 543503 , 546053 , 549823 , 560968 , 569132 , 574153 , 579493 , 580238 , 581096 , 583729 , 597689 , 597923 , 599249 , 599299 , 603605 , 612638 , 616994 , 621647 , 632969 , 644674 , 656462 , 658433 , 670250 , 677142 , 680177 , 714511 , 724176 , 741539 , 757896 , 769337 , 814266 );
Copy
5
92.82 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
381921
393754
400490
411189
435941
443510
443807
444438
444903
445947
450286
451966
452259
455912
457000
458051
458974
461394
462707
468593
477721
482483
482808
483357
486815
491762
493082
493122
505130
506269
506946
510758
512471
518131
526211
539354
543503
546053
549823
560968
569132
574153
579493
580238
581096
583729
597689
597923
599249
599299
603605
612638
616994
621647
632969
644674
656462
658433
670250
677142
680177
714511
724176
741539
757896
769337
814266
]
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 (381921 , 393754 , 400490 , 411189 , 435941 , 443510 , 443807 , 444438 , 444903 , 445947 , 450286 , 451966 , 452259 , 455912 , 457000 , 458051 , 458974 , 461394 , 462707 , 468593 , 477721 , 482483 , 482808 , 483357 , 486815 , 491762 , 493082 , 493122 , 505130 , 506269 , 506946 , 510758 , 512471 , 518131 , 526211 , 539354 , 543503 , 546053 , 549823 , 560968 , 569132 , 574153 , 579493 , 580238 , 581096 , 583729 , 597689 , 597923 , 599249 , 599299 , 603605 , 612638 , 616994 , 621647 , 632969 , 644674 , 656462 , 658433 , 670250 , 677142 , 680177 , 714511 , 724176 , 741539 , 757896 , 769337 , 814266 );
Copy