| 4 |
15.96 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
526381
581236
589524
585826
545305
639748
583714
430709
687158
532172
560669
816007
665806
521850
576895
701348
564829
531405
452058
449115
481910
418363
623198
503453
490577
612831
737127
637460
567046
580277
416364
417482
433165
420291
427263
495273
699397
632579
477210
642706
540570
823818
643067
635243
430404
638967
666525
674988
559959
789614
649514
672275
740732
639744
676636
642700
725115
680751
554774
589211
720336
533966
430700
821066
741427
525942
452097
675012
426294
432777
521897
353401
467960
521885
746994
756836
597600
483461
427174
465548
600642
583550
412541
579629
391715
545747
460208
472299
513215
414061
]
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 (526381, 581236, 589524, 585826, 545305, 639748, 583714, 430709, 687158, 532172, 560669, 816007, 665806, 521850, 576895, 701348, 564829, 531405, 452058, 449115, 481910, 418363, 623198, 503453, 490577, 612831, 737127, 637460, 567046, 580277, 416364, 417482, 433165, 420291, 427263, 495273, 699397, 632579, 477210, 642706, 540570, 823818, 643067, 635243, 430404, 638967, 666525, 674988, 559959, 789614, 649514, 672275, 740732, 639744, 676636, 642700, 725115, 680751, 554774, 589211, 720336, 533966, 430700, 821066, 741427, 525942, 452097, 675012, 426294, 432777, 521897, 353401, 467960, 521885, 746994, 756836, 597600, 483461, 427174, 465548, 600642, 583550, 412541, 579629, 391715, 545747, 460208, 472299, 513215, 414061);
|
| 5 |
3.18 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
353401
391715
412541
414061
416364
417482
418363
420291
426294
427174
427263
430404
430700
430709
432777
433165
449115
452058
452097
460208
465548
467960
472299
477210
481910
483461
490577
495273
503453
513215
521850
521885
521897
525942
526381
531405
532172
533966
540570
545305
545747
554774
559959
560669
564829
567046
576895
579629
580277
581236
583550
583714
585826
589211
589524
597600
600642
612831
623198
632579
635243
637460
638967
639744
639748
642700
642706
643067
649514
665806
666525
672275
674988
675012
676636
680751
687158
699397
701348
720336
725115
737127
740732
741427
746994
756836
789614
816007
821066
823818
]
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 (353401, 391715, 412541, 414061, 416364, 417482, 418363, 420291, 426294, 427174, 427263, 430404, 430700, 430709, 432777, 433165, 449115, 452058, 452097, 460208, 465548, 467960, 472299, 477210, 481910, 483461, 490577, 495273, 503453, 513215, 521850, 521885, 521897, 525942, 526381, 531405, 532172, 533966, 540570, 545305, 545747, 554774, 559959, 560669, 564829, 567046, 576895, 579629, 580277, 581236, 583550, 583714, 585826, 589211, 589524, 597600, 600642, 612831, 623198, 632579, 635243, 637460, 638967, 639744, 639748, 642700, 642706, 643067, 649514, 665806, 666525, 672275, 674988, 675012, 676636, 680751, 687158, 699397, 701348, 720336, 725115, 737127, 740732, 741427, 746994, 756836, 789614, 816007, 821066, 823818);
|
| 6 |
366.83 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
353401
391715
412541
414061
416364
417482
418363
420291
426294
427174
427263
430404
430700
430709
432777
433165
449115
452058
452097
460208
465548
467960
472299
477210
481910
483461
490577
495273
503453
513215
521850
521885
521897
525942
526381
531405
532172
533966
540570
545305
545747
554774
559959
560669
564829
567046
576895
579629
580277
581236
583550
583714
585826
589211
589524
597600
600642
612831
623198
632579
635243
637460
638967
639744
639748
642700
642706
643067
649514
665806
666525
672275
674988
675012
676636
680751
687158
699397
701348
720336
725115
737127
740732
741427
746994
756836
789614
816007
821066
823818
]
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 (353401, 391715, 412541, 414061, 416364, 417482, 418363, 420291, 426294, 427174, 427263, 430404, 430700, 430709, 432777, 433165, 449115, 452058, 452097, 460208, 465548, 467960, 472299, 477210, 481910, 483461, 490577, 495273, 503453, 513215, 521850, 521885, 521897, 525942, 526381, 531405, 532172, 533966, 540570, 545305, 545747, 554774, 559959, 560669, 564829, 567046, 576895, 579629, 580277, 581236, 583550, 583714, 585826, 589211, 589524, 597600, 600642, 612831, 623198, 632579, 635243, 637460, 638967, 639744, 639748, 642700, 642706, 643067, 649514, 665806, 666525, 672275, 674988, 675012, 676636, 680751, 687158, 699397, 701348, 720336, 725115, 737127, 740732, 741427, 746994, 756836, 789614, 816007, 821066, 823818);
|