| 4 |
16.21 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
742663
757638
719350
805541
443727
455322
398027
429550
448674
472163
484600
514842
519092
239555
428512
481332
483401
500463
531146
502305
513408
520485
567643
573755
682107
720257
677097
718698
718747
561097
575324
614097
585332
586023
626576
808865
810902
439589
187072
465373
440631
463177
471945
462711
513476
491988
522284
505818
508619
443163
536684
560396
565526
542750
561135
591646
591413
477723
475595
525275
521077
488405
453307
532419
555915
431422
484432
518853
520448
523537
561110
591416
604555
586554
439673
419880
512558
526718
632252
420427
568062
606948
587651
621489
513940
567050
561480
591415
628426
523336
513775
]
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 (742663, 757638, 719350, 805541, 443727, 455322, 398027, 429550, 448674, 472163, 484600, 514842, 519092, 239555, 428512, 481332, 483401, 500463, 531146, 502305, 513408, 520485, 567643, 573755, 682107, 720257, 677097, 718698, 718747, 561097, 575324, 614097, 585332, 586023, 626576, 808865, 810902, 439589, 187072, 465373, 440631, 463177, 471945, 462711, 513476, 491988, 522284, 505818, 508619, 443163, 536684, 560396, 565526, 542750, 561135, 591646, 591413, 477723, 475595, 525275, 521077, 488405, 453307, 532419, 555915, 431422, 484432, 518853, 520448, 523537, 561110, 591416, 604555, 586554, 439673, 419880, 512558, 526718, 632252, 420427, 568062, 606948, 587651, 621489, 513940, 567050, 561480, 591415, 628426, 523336, 513775);
|
| 5 |
209.78 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
187072
239555
398027
419880
420427
428512
429550
431422
439589
439673
440631
443163
443727
448674
453307
455322
462711
463177
465373
471945
472163
475595
477723
481332
483401
484432
484600
488405
491988
500463
502305
505818
508619
512558
513408
513775
513940
514842
518853
519092
520448
520485
521077
522284
523336
523537
525275
526718
531146
532419
536684
542750
555915
560396
561097
561110
561135
561480
565526
567050
567643
568062
573755
575324
585332
586023
586554
587651
591413
591415
591416
591646
604555
606948
614097
621489
626576
628426
632252
677097
682107
718698
718747
719350
720257
742663
757638
805541
808865
810902
]
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 (187072, 239555, 398027, 419880, 420427, 428512, 429550, 431422, 439589, 439673, 440631, 443163, 443727, 448674, 453307, 455322, 462711, 463177, 465373, 471945, 472163, 475595, 477723, 481332, 483401, 484432, 484600, 488405, 491988, 500463, 502305, 505818, 508619, 512558, 513408, 513775, 513940, 514842, 518853, 519092, 520448, 520485, 521077, 522284, 523336, 523537, 525275, 526718, 531146, 532419, 536684, 542750, 555915, 560396, 561097, 561110, 561135, 561480, 565526, 567050, 567643, 568062, 573755, 575324, 585332, 586023, 586554, 587651, 591413, 591415, 591416, 591646, 604555, 606948, 614097, 621489, 626576, 628426, 632252, 677097, 682107, 718698, 718747, 719350, 720257, 742663, 757638, 805541, 808865, 810902);
|
| 6 |
136.55 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
187072
239555
398027
419880
420427
428512
429550
431422
439589
439673
440631
443163
443727
448674
453307
455322
462711
463177
465373
471945
472163
475595
477723
481332
483401
484432
484600
488405
491988
500463
502305
505818
508619
512558
513408
513775
513940
514842
518853
519092
520448
520485
521077
522284
523336
523537
525275
526718
531146
532419
536684
542750
555915
560396
561097
561110
561135
561480
565526
567050
567643
568062
573755
575324
585332
586023
586554
587651
591413
591415
591416
591646
604555
606948
614097
621489
626576
628426
632252
677097
682107
718698
718747
719350
720257
742663
757638
805541
808865
810902
]
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 (187072, 239555, 398027, 419880, 420427, 428512, 429550, 431422, 439589, 439673, 440631, 443163, 443727, 448674, 453307, 455322, 462711, 463177, 465373, 471945, 472163, 475595, 477723, 481332, 483401, 484432, 484600, 488405, 491988, 500463, 502305, 505818, 508619, 512558, 513408, 513775, 513940, 514842, 518853, 519092, 520448, 520485, 521077, 522284, 523336, 523537, 525275, 526718, 531146, 532419, 536684, 542750, 555915, 560396, 561097, 561110, 561135, 561480, 565526, 567050, 567643, 568062, 573755, 575324, 585332, 586023, 586554, 587651, 591413, 591415, 591416, 591646, 604555, 606948, 614097, 621489, 626576, 628426, 632252, 677097, 682107, 718698, 718747, 719350, 720257, 742663, 757638, 805541, 808865, 810902);
|