| 4 |
17.71 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
528384
580035
427530
437864
417482
751422
527198
502324
587506
826512
579769
708076
556825
739350
603286
820652
678713
491790
494233
534312
418363
793623
494279
413826
581050
562926
621761
810133
770242
653730
788366
714042
813900
566987
588719
776082
457803
519762
473284
714047
794015
546048
491489
444853
554625
430700
793400
613797
611469
653720
750739
739556
499829
552577
455694
465097
479920
482780
555967
523212
573212
510779
555485
814434
734154
672418
791505
572259
495459
451254
566100
592756
628164
427174
814931
826663
818456
469042
527931
447004
556001
617021
422398
721970
584461
632304
503026
516723
599803
437960
]
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 (
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
)
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 (528384, 580035, 427530, 437864, 417482, 751422, 527198, 502324, 587506, 826512, 579769, 708076, 556825, 739350, 603286, 820652, 678713, 491790, 494233, 534312, 418363, 793623, 494279, 413826, 581050, 562926, 621761, 810133, 770242, 653730, 788366, 714042, 813900, 566987, 588719, 776082, 457803, 519762, 473284, 714047, 794015, 546048, 491489, 444853, 554625, 430700, 793400, 613797, 611469, 653720, 750739, 739556, 499829, 552577, 455694, 465097, 479920, 482780, 555967, 523212, 573212, 510779, 555485, 814434, 734154, 672418, 791505, 572259, 495459, 451254, 566100, 592756, 628164, 427174, 814931, 826663, 818456, 469042, 527931, 447004, 556001, 617021, 422398, 721970, 584461, 632304, 503026, 516723, 599803, 437960);
|
| 5 |
3.28 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
413826
417482
418363
422398
427174
427530
430700
437864
437960
444853
447004
451254
455694
457803
465097
469042
473284
479920
482780
491489
491790
494233
494279
495459
499829
502324
503026
510779
516723
519762
523212
527198
527931
528384
534312
546048
552577
554625
555485
555967
556001
556825
562926
566100
566987
572259
573212
579769
580035
581050
584461
587506
592756
599803
603286
611469
613797
617021
621761
628164
632304
653720
653730
672418
678713
708076
714042
714047
721970
734154
739350
739556
750739
751422
770242
776082
788366
791505
793400
793623
794015
810133
813900
814434
814931
818456
820652
826512
826663
]
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 (
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
)
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 (413826, 417482, 418363, 422398, 427174, 427530, 430700, 437864, 437960, 444853, 447004, 451254, 455694, 457803, 465097, 469042, 473284, 479920, 482780, 491489, 491790, 494233, 494279, 495459, 499829, 502324, 503026, 510779, 516723, 519762, 523212, 527198, 527931, 528384, 534312, 546048, 552577, 554625, 555485, 555967, 556001, 556825, 562926, 566100, 566987, 572259, 573212, 579769, 580035, 581050, 584461, 587506, 592756, 599803, 603286, 611469, 613797, 617021, 621761, 628164, 632304, 653720, 653730, 672418, 678713, 708076, 714042, 714047, 721970, 734154, 739350, 739556, 750739, 751422, 770242, 776082, 788366, 791505, 793400, 793623, 794015, 810133, 813900, 814434, 814931, 818456, 820652, 826512, 826663);
|
| 6 |
130.08 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
413826
417482
418363
422398
427174
427530
430700
437864
437960
444853
447004
451254
455694
457803
465097
469042
473284
479920
482780
491489
491790
494233
494279
495459
499829
502324
503026
510779
516723
519762
523212
527198
527931
528384
534312
546048
552577
554625
555485
555967
556001
556825
562926
566100
566987
572259
573212
579769
580035
581050
584461
587506
592756
599803
603286
611469
613797
617021
621761
628164
632304
653720
653730
672418
678713
708076
714042
714047
721970
734154
739350
739556
750739
751422
770242
776082
788366
791505
793400
793623
794015
810133
813900
814434
814931
818456
820652
826512
826663
]
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 (
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
)
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 (413826, 417482, 418363, 422398, 427174, 427530, 430700, 437864, 437960, 444853, 447004, 451254, 455694, 457803, 465097, 469042, 473284, 479920, 482780, 491489, 491790, 494233, 494279, 495459, 499829, 502324, 503026, 510779, 516723, 519762, 523212, 527198, 527931, 528384, 534312, 546048, 552577, 554625, 555485, 555967, 556001, 556825, 562926, 566100, 566987, 572259, 573212, 579769, 580035, 581050, 584461, 587506, 592756, 599803, 603286, 611469, 613797, 617021, 621761, 628164, 632304, 653720, 653730, 672418, 678713, 708076, 714042, 714047, 721970, 734154, 739350, 739556, 750739, 751422, 770242, 776082, 788366, 791505, 793400, 793623, 794015, 810133, 813900, 814434, 814931, 818456, 820652, 826512, 826663);
|