4
18.08 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
555042
720385
708421
547983
827523
105093
805598
630678
625412
759485
705278
722655
429198
505625
584001
484721
312264
526122
547477
705519
705518
643007
770916
805602
739860
617410
467555
597242
603616
793471
744306
770882
748549
805587
383075
486470
528761
670763
789536
775817
466188
405016
477340
512525
720245
574762
358596
479866
451064
515231
486413
561117
568177
550820
561412
569692
716032
609812
634185
601478
641455
759639
457165
512490
558122
479126
483319
615718
756395
381752
565277
553272
680207
605450
562814
]
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 (555042 , 720385 , 708421 , 547983 , 827523 , 105093 , 805598 , 630678 , 625412 , 759485 , 705278 , 722655 , 429198 , 505625 , 584001 , 484721 , 312264 , 526122 , 547477 , 705519 , 705518 , 643007 , 770916 , 805602 , 739860 , 617410 , 467555 , 597242 , 603616 , 793471 , 744306 , 770882 , 748549 , 805587 , 383075 , 486470 , 528761 , 670763 , 789536 , 775817 , 466188 , 405016 , 477340 , 512525 , 720245 , 574762 , 358596 , 479866 , 451064 , 515231 , 486413 , 561117 , 568177 , 550820 , 561412 , 569692 , 716032 , 609812 , 634185 , 601478 , 641455 , 759639 , 457165 , 512490 , 558122 , 479126 , 483319 , 615718 , 756395 , 381752 , 565277 , 553272 , 680207 , 605450 , 562814 );
Copy
5
3.06 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
105093
312264
358596
381752
383075
405016
429198
451064
457165
466188
467555
477340
479126
479866
483319
484721
486413
486470
505625
512490
512525
515231
526122
528761
547477
547983
550820
553272
555042
558122
561117
561412
562814
565277
568177
569692
574762
584001
597242
601478
603616
605450
609812
615718
617410
625412
630678
634185
641455
643007
670763
680207
705278
705518
705519
708421
716032
720245
720385
722655
739860
744306
748549
756395
759485
759639
770882
770916
775817
789536
793471
805587
805598
805602
827523
]
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 (105093 , 312264 , 358596 , 381752 , 383075 , 405016 , 429198 , 451064 , 457165 , 466188 , 467555 , 477340 , 479126 , 479866 , 483319 , 484721 , 486413 , 486470 , 505625 , 512490 , 512525 , 515231 , 526122 , 528761 , 547477 , 547983 , 550820 , 553272 , 555042 , 558122 , 561117 , 561412 , 562814 , 565277 , 568177 , 569692 , 574762 , 584001 , 597242 , 601478 , 603616 , 605450 , 609812 , 615718 , 617410 , 625412 , 630678 , 634185 , 641455 , 643007 , 670763 , 680207 , 705278 , 705518 , 705519 , 708421 , 716032 , 720245 , 720385 , 722655 , 739860 , 744306 , 748549 , 756395 , 759485 , 759639 , 770882 , 770916 , 775817 , 789536 , 793471 , 805587 , 805598 , 805602 , 827523 );
Copy
6
91.74 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
105093
312264
358596
381752
383075
405016
429198
451064
457165
466188
467555
477340
479126
479866
483319
484721
486413
486470
505625
512490
512525
515231
526122
528761
547477
547983
550820
553272
555042
558122
561117
561412
562814
565277
568177
569692
574762
584001
597242
601478
603616
605450
609812
615718
617410
625412
630678
634185
641455
643007
670763
680207
705278
705518
705519
708421
716032
720245
720385
722655
739860
744306
748549
756395
759485
759639
770882
770916
775817
789536
793471
805587
805598
805602
827523
]
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 (105093 , 312264 , 358596 , 381752 , 383075 , 405016 , 429198 , 451064 , 457165 , 466188 , 467555 , 477340 , 479126 , 479866 , 483319 , 484721 , 486413 , 486470 , 505625 , 512490 , 512525 , 515231 , 526122 , 528761 , 547477 , 547983 , 550820 , 553272 , 555042 , 558122 , 561117 , 561412 , 562814 , 565277 , 568177 , 569692 , 574762 , 584001 , 597242 , 601478 , 603616 , 605450 , 609812 , 615718 , 617410 , 625412 , 630678 , 634185 , 641455 , 643007 , 670763 , 680207 , 705278 , 705518 , 705519 , 708421 , 716032 , 720245 , 720385 , 722655 , 739860 , 744306 , 748549 , 756395 , 759485 , 759639 , 770882 , 770916 , 775817 , 789536 , 793471 , 805587 , 805598 , 805602 , 827523 );
Copy