| 4 |
16.61 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
446063
505325
524497
570906
692743
604229
627446
439117
448065
485057
624142
827581
508154
514568
542146
574049
559828
770410
627409
513839
521792
469027
497236
674495
763437
480004
391754
485064
507013
440041
504450
619811
460535
467893
514797
596402
613513
798243
806668
430355
402793
523220
490964
604785
783486
744863
640948
546987
437084
434361
467877
732991
518125
519671
402784
495747
609083
451774
460027
391604
722395
588517
450889
583384
617583
785267
413373
445745
492701
467878
492050
451157
588334
732360
439257
591197
490447
806580
417674
439845
473139
452929
516373
501443
461022
488769
560925
617047
458870
448522
473848
492169
]
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 (446063, 505325, 524497, 570906, 692743, 604229, 627446, 439117, 448065, 485057, 624142, 827581, 508154, 514568, 542146, 574049, 559828, 770410, 627409, 513839, 521792, 469027, 497236, 674495, 763437, 480004, 391754, 485064, 507013, 440041, 504450, 619811, 460535, 467893, 514797, 596402, 613513, 798243, 806668, 430355, 402793, 523220, 490964, 604785, 783486, 744863, 640948, 546987, 437084, 434361, 467877, 732991, 518125, 519671, 402784, 495747, 609083, 451774, 460027, 391604, 722395, 588517, 450889, 583384, 617583, 785267, 413373, 445745, 492701, 467878, 492050, 451157, 588334, 732360, 439257, 591197, 490447, 806580, 417674, 439845, 473139, 452929, 516373, 501443, 461022, 488769, 560925, 617047, 458870, 448522, 473848, 492169);
|
| 5 |
2.62 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
391604
391754
402784
402793
413373
417674
430355
434361
437084
439117
439257
439845
440041
445745
446063
448065
448522
450889
451157
451774
452929
458870
460027
460535
461022
467877
467878
467893
469027
473139
473848
480004
485057
485064
488769
490447
490964
492050
492169
492701
495747
497236
501443
504450
505325
507013
508154
513839
514568
514797
516373
518125
519671
521792
523220
524497
542146
546987
559828
560925
570906
574049
583384
588334
588517
591197
596402
604229
604785
609083
613513
617047
617583
619811
624142
627409
627446
640948
674495
692743
722395
732360
732991
744863
763437
770410
783486
785267
798243
806580
806668
827581
]
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 (391604, 391754, 402784, 402793, 413373, 417674, 430355, 434361, 437084, 439117, 439257, 439845, 440041, 445745, 446063, 448065, 448522, 450889, 451157, 451774, 452929, 458870, 460027, 460535, 461022, 467877, 467878, 467893, 469027, 473139, 473848, 480004, 485057, 485064, 488769, 490447, 490964, 492050, 492169, 492701, 495747, 497236, 501443, 504450, 505325, 507013, 508154, 513839, 514568, 514797, 516373, 518125, 519671, 521792, 523220, 524497, 542146, 546987, 559828, 560925, 570906, 574049, 583384, 588334, 588517, 591197, 596402, 604229, 604785, 609083, 613513, 617047, 617583, 619811, 624142, 627409, 627446, 640948, 674495, 692743, 722395, 732360, 732991, 744863, 763437, 770410, 783486, 785267, 798243, 806580, 806668, 827581);
|
| 6 |
100.88 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
391604
391754
402784
402793
413373
417674
430355
434361
437084
439117
439257
439845
440041
445745
446063
448065
448522
450889
451157
451774
452929
458870
460027
460535
461022
467877
467878
467893
469027
473139
473848
480004
485057
485064
488769
490447
490964
492050
492169
492701
495747
497236
501443
504450
505325
507013
508154
513839
514568
514797
516373
518125
519671
521792
523220
524497
542146
546987
559828
560925
570906
574049
583384
588334
588517
591197
596402
604229
604785
609083
613513
617047
617583
619811
624142
627409
627446
640948
674495
692743
722395
732360
732991
744863
763437
770410
783486
785267
798243
806580
806668
827581
]
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 (391604, 391754, 402784, 402793, 413373, 417674, 430355, 434361, 437084, 439117, 439257, 439845, 440041, 445745, 446063, 448065, 448522, 450889, 451157, 451774, 452929, 458870, 460027, 460535, 461022, 467877, 467878, 467893, 469027, 473139, 473848, 480004, 485057, 485064, 488769, 490447, 490964, 492050, 492169, 492701, 495747, 497236, 501443, 504450, 505325, 507013, 508154, 513839, 514568, 514797, 516373, 518125, 519671, 521792, 523220, 524497, 542146, 546987, 559828, 560925, 570906, 574049, 583384, 588334, 588517, 591197, 596402, 604229, 604785, 609083, 613513, 617047, 617583, 619811, 624142, 627409, 627446, 640948, 674495, 692743, 722395, 732360, 732991, 744863, 763437, 770410, 783486, 785267, 798243, 806580, 806668, 827581);
|