| 4 |
12.94 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
565426
591926
596991
633937
787637
756406
752961
604545
480417
451560
447314
478057
503426
492177
512823
814749
464336
491449
451380
460079
540595
468009
569098
543920
554927
565355
565359
621737
628116
782091
702675
784158
808077
481047
419989
451552
489083
432662
425332
537885
526188
528719
558126
578139
565250
574410
659674
720260
565241
584752
593238
616617
640758
617214
487150
532241
508883
532380
537928
583960
668549
545586
578804
598042
633749
458907
472299
450822
537686
540217
551222
556030
651666
656768
632649
637008
556046
637036
590329
631196
659272
675022
642006
642037
419370
557236
675008
597216
533534
584720
]
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 (565426, 591926, 596991, 633937, 787637, 756406, 752961, 604545, 480417, 451560, 447314, 478057, 503426, 492177, 512823, 814749, 464336, 491449, 451380, 460079, 540595, 468009, 569098, 543920, 554927, 565355, 565359, 621737, 628116, 782091, 702675, 784158, 808077, 481047, 419989, 451552, 489083, 432662, 425332, 537885, 526188, 528719, 558126, 578139, 565250, 574410, 659674, 720260, 565241, 584752, 593238, 616617, 640758, 617214, 487150, 532241, 508883, 532380, 537928, 583960, 668549, 545586, 578804, 598042, 633749, 458907, 472299, 450822, 537686, 540217, 551222, 556030, 651666, 656768, 632649, 637008, 556046, 637036, 590329, 631196, 659272, 675022, 642006, 642037, 419370, 557236, 675008, 597216, 533534, 584720);
|
| 5 |
2.66 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
419370
419989
425332
432662
447314
450822
451380
451552
451560
458907
460079
464336
468009
472299
478057
480417
481047
487150
489083
491449
492177
503426
508883
512823
526188
528719
532241
532380
533534
537686
537885
537928
540217
540595
543920
545586
551222
554927
556030
556046
557236
558126
565241
565250
565355
565359
565426
569098
574410
578139
578804
583960
584720
584752
590329
591926
593238
596991
597216
598042
604545
616617
617214
621737
628116
631196
632649
633749
633937
637008
637036
640758
642006
642037
651666
656768
659272
659674
668549
675008
675022
702675
720260
752961
756406
782091
784158
787637
808077
814749
]
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 (419370, 419989, 425332, 432662, 447314, 450822, 451380, 451552, 451560, 458907, 460079, 464336, 468009, 472299, 478057, 480417, 481047, 487150, 489083, 491449, 492177, 503426, 508883, 512823, 526188, 528719, 532241, 532380, 533534, 537686, 537885, 537928, 540217, 540595, 543920, 545586, 551222, 554927, 556030, 556046, 557236, 558126, 565241, 565250, 565355, 565359, 565426, 569098, 574410, 578139, 578804, 583960, 584720, 584752, 590329, 591926, 593238, 596991, 597216, 598042, 604545, 616617, 617214, 621737, 628116, 631196, 632649, 633749, 633937, 637008, 637036, 640758, 642006, 642037, 651666, 656768, 659272, 659674, 668549, 675008, 675022, 702675, 720260, 752961, 756406, 782091, 784158, 787637, 808077, 814749);
|
| 6 |
152.91 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
419370
419989
425332
432662
447314
450822
451380
451552
451560
458907
460079
464336
468009
472299
478057
480417
481047
487150
489083
491449
492177
503426
508883
512823
526188
528719
532241
532380
533534
537686
537885
537928
540217
540595
543920
545586
551222
554927
556030
556046
557236
558126
565241
565250
565355
565359
565426
569098
574410
578139
578804
583960
584720
584752
590329
591926
593238
596991
597216
598042
604545
616617
617214
621737
628116
631196
632649
633749
633937
637008
637036
640758
642006
642037
651666
656768
659272
659674
668549
675008
675022
702675
720260
752961
756406
782091
784158
787637
808077
814749
]
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 (419370, 419989, 425332, 432662, 447314, 450822, 451380, 451552, 451560, 458907, 460079, 464336, 468009, 472299, 478057, 480417, 481047, 487150, 489083, 491449, 492177, 503426, 508883, 512823, 526188, 528719, 532241, 532380, 533534, 537686, 537885, 537928, 540217, 540595, 543920, 545586, 551222, 554927, 556030, 556046, 557236, 558126, 565241, 565250, 565355, 565359, 565426, 569098, 574410, 578139, 578804, 583960, 584720, 584752, 590329, 591926, 593238, 596991, 597216, 598042, 604545, 616617, 617214, 621737, 628116, 631196, 632649, 633749, 633937, 637008, 637036, 640758, 642006, 642037, 651666, 656768, 659272, 659674, 668549, 675008, 675022, 702675, 720260, 752961, 756406, 782091, 784158, 787637, 808077, 814749);
|