3
15.00 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
799661
805292
795084
765509
769518
475641
467885
480983
469284
500806
511999
521061
526151
519333
708095
644148
585097
591200
524126
551823
584025
573745
685371
597214
616047
593068
813249
712244
443978
444953
527160
428432
555582
475174
506454
461541
456799
499712
534579
573483
666672
633892
614966
456226
459357
513550
523323
523128
527267
516787
457422
512369
612964
609794
791048
520817
486807
553927
413084
455502
527742
563431
599644
584516
495700
520005
610035
474139
597208
621340
546114
]
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 (799661 , 805292 , 795084 , 765509 , 769518 , 475641 , 467885 , 480983 , 469284 , 500806 , 511999 , 521061 , 526151 , 519333 , 708095 , 644148 , 585097 , 591200 , 524126 , 551823 , 584025 , 573745 , 685371 , 597214 , 616047 , 593068 , 813249 , 712244 , 443978 , 444953 , 527160 , 428432 , 555582 , 475174 , 506454 , 461541 , 456799 , 499712 , 534579 , 573483 , 666672 , 633892 , 614966 , 456226 , 459357 , 513550 , 523323 , 523128 , 527267 , 516787 , 457422 , 512369 , 612964 , 609794 , 791048 , 520817 , 486807 , 553927 , 413084 , 455502 , 527742 , 563431 , 599644 , 584516 , 495700 , 520005 , 610035 , 474139 , 597208 , 621340 , 546114 );
Copy
4
2.75 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
413084
428432
443978
444953
455502
456226
456799
457422
459357
461541
467885
469284
474139
475174
475641
480983
486807
495700
499712
500806
506454
511999
512369
513550
516787
519333
520005
520817
521061
523128
523323
524126
526151
527160
527267
527742
534579
546114
551823
553927
555582
563431
573483
573745
584025
584516
585097
591200
593068
597208
597214
599644
609794
610035
612964
614966
621340
633892
644148
666672
685371
708095
712244
765509
769518
791048
795084
799661
805292
813249
]
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 (413084 , 428432 , 443978 , 444953 , 455502 , 456226 , 456799 , 457422 , 459357 , 461541 , 467885 , 469284 , 474139 , 475174 , 475641 , 480983 , 486807 , 495700 , 499712 , 500806 , 506454 , 511999 , 512369 , 513550 , 516787 , 519333 , 520005 , 520817 , 521061 , 523128 , 523323 , 524126 , 526151 , 527160 , 527267 , 527742 , 534579 , 546114 , 551823 , 553927 , 555582 , 563431 , 573483 , 573745 , 584025 , 584516 , 585097 , 591200 , 593068 , 597208 , 597214 , 599644 , 609794 , 610035 , 612964 , 614966 , 621340 , 633892 , 644148 , 666672 , 685371 , 708095 , 712244 , 765509 , 769518 , 791048 , 795084 , 799661 , 805292 , 813249 );
Copy
5
77.43 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
413084
428432
443978
444953
455502
456226
456799
457422
459357
461541
467885
469284
474139
475174
475641
480983
486807
495700
499712
500806
506454
511999
512369
513550
516787
519333
520005
520817
521061
523128
523323
524126
526151
527160
527267
527742
534579
546114
551823
553927
555582
563431
573483
573745
584025
584516
585097
591200
593068
597208
597214
599644
609794
610035
612964
614966
621340
633892
644148
666672
685371
708095
712244
765509
769518
791048
795084
799661
805292
813249
]
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 (413084 , 428432 , 443978 , 444953 , 455502 , 456226 , 456799 , 457422 , 459357 , 461541 , 467885 , 469284 , 474139 , 475174 , 475641 , 480983 , 486807 , 495700 , 499712 , 500806 , 506454 , 511999 , 512369 , 513550 , 516787 , 519333 , 520005 , 520817 , 521061 , 523128 , 523323 , 524126 , 526151 , 527160 , 527267 , 527742 , 534579 , 546114 , 551823 , 553927 , 555582 , 563431 , 573483 , 573745 , 584025 , 584516 , 585097 , 591200 , 593068 , 597208 , 597214 , 599644 , 609794 , 610035 , 612964 , 614966 , 621340 , 633892 , 644148 , 666672 , 685371 , 708095 , 712244 , 765509 , 769518 , 791048 , 795084 , 799661 , 805292 , 813249 );
Copy