| 4 |
16.84 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
415618
486438
532913
541656
650774
678089
666586
708441
637116
633753
478802
484624
583701
613055
424721
756390
672411
775860
805564
765552
766900
505132
507651
536633
562000
681637
623264
609906
486871
558991
666527
408262
814901
454954
533007
678117
674988
593292
601698
449097
572026
559959
678095
611558
634134
587185
468733
666906
674983
637001
377241
710246
448714
562894
675010
578454
621330
513951
601324
590866
522562
515377
512804
529288
515982
672372
601388
521123
594231
524773
463757
569139
517881
567673
565186
397481
582282
546110
454264
485374
568045
559233
604865
624742
467972
606577
494492
]
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 (415618, 486438, 532913, 541656, 650774, 678089, 666586, 708441, 637116, 633753, 478802, 484624, 583701, 613055, 424721, 756390, 672411, 775860, 805564, 765552, 766900, 505132, 507651, 536633, 562000, 681637, 623264, 609906, 486871, 558991, 666527, 408262, 814901, 454954, 533007, 678117, 674988, 593292, 601698, 449097, 572026, 559959, 678095, 611558, 634134, 587185, 468733, 666906, 674983, 637001, 377241, 710246, 448714, 562894, 675010, 578454, 621330, 513951, 601324, 590866, 522562, 515377, 512804, 529288, 515982, 672372, 601388, 521123, 594231, 524773, 463757, 569139, 517881, 567673, 565186, 397481, 582282, 546110, 454264, 485374, 568045, 559233, 604865, 624742, 467972, 606577, 494492);
|
| 5 |
3.21 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
377241
397481
408262
415618
424721
448714
449097
454264
454954
463757
467972
468733
478802
484624
485374
486438
486871
494492
505132
507651
512804
513951
515377
515982
517881
521123
522562
524773
529288
532913
533007
536633
541656
546110
558991
559233
559959
562000
562894
565186
567673
568045
569139
572026
578454
582282
583701
587185
590866
593292
594231
601324
601388
601698
604865
606577
609906
611558
613055
621330
623264
624742
633753
634134
637001
637116
650774
666527
666586
666906
672372
672411
674983
674988
675010
678089
678095
678117
681637
708441
710246
756390
765552
766900
775860
805564
814901
]
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 (377241, 397481, 408262, 415618, 424721, 448714, 449097, 454264, 454954, 463757, 467972, 468733, 478802, 484624, 485374, 486438, 486871, 494492, 505132, 507651, 512804, 513951, 515377, 515982, 517881, 521123, 522562, 524773, 529288, 532913, 533007, 536633, 541656, 546110, 558991, 559233, 559959, 562000, 562894, 565186, 567673, 568045, 569139, 572026, 578454, 582282, 583701, 587185, 590866, 593292, 594231, 601324, 601388, 601698, 604865, 606577, 609906, 611558, 613055, 621330, 623264, 624742, 633753, 634134, 637001, 637116, 650774, 666527, 666586, 666906, 672372, 672411, 674983, 674988, 675010, 678089, 678095, 678117, 681637, 708441, 710246, 756390, 765552, 766900, 775860, 805564, 814901);
|
| 6 |
128.21 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
377241
397481
408262
415618
424721
448714
449097
454264
454954
463757
467972
468733
478802
484624
485374
486438
486871
494492
505132
507651
512804
513951
515377
515982
517881
521123
522562
524773
529288
532913
533007
536633
541656
546110
558991
559233
559959
562000
562894
565186
567673
568045
569139
572026
578454
582282
583701
587185
590866
593292
594231
601324
601388
601698
604865
606577
609906
611558
613055
621330
623264
624742
633753
634134
637001
637116
650774
666527
666586
666906
672372
672411
674983
674988
675010
678089
678095
678117
681637
708441
710246
756390
765552
766900
775860
805564
814901
]
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 (377241, 397481, 408262, 415618, 424721, 448714, 449097, 454264, 454954, 463757, 467972, 468733, 478802, 484624, 485374, 486438, 486871, 494492, 505132, 507651, 512804, 513951, 515377, 515982, 517881, 521123, 522562, 524773, 529288, 532913, 533007, 536633, 541656, 546110, 558991, 559233, 559959, 562000, 562894, 565186, 567673, 568045, 569139, 572026, 578454, 582282, 583701, 587185, 590866, 593292, 594231, 601324, 601388, 601698, 604865, 606577, 609906, 611558, 613055, 621330, 623264, 624742, 633753, 634134, 637001, 637116, 650774, 666527, 666586, 666906, 672372, 672411, 674983, 674988, 675010, 678089, 678095, 678117, 681637, 708441, 710246, 756390, 765552, 766900, 775860, 805564, 814901);
|