| 4 |
15.28 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
731317
761162
704429
707497
422170
410864
429263
497775
510106
498825
614693
515304
658767
566025
799584
608092
702488
803944
499731
537207
476598
520260
38263
485872
488891
503018
554412
664655
756314
437982
475305
506504
516963
489776
555378
574408
584570
549132
657250
660613
586188
600728
813141
458141
503010
640380
504895
442345
461268
525415
525434
538583
665728
673314
691262
567161
587937
592730
607206
789046
758024
485353
625968
490624
506596
489626
561614
687854
570717
587886
516220
526380
650813
578261
585154
603704
603551
428158
463519
516313
725491
550788
638298
619538
504774
581571
472588
775235
463741
458324
509325
510126
520262
]
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 (731317, 761162, 704429, 707497, 422170, 410864, 429263, 497775, 510106, 498825, 614693, 515304, 658767, 566025, 799584, 608092, 702488, 803944, 499731, 537207, 476598, 520260, 38263, 485872, 488891, 503018, 554412, 664655, 756314, 437982, 475305, 506504, 516963, 489776, 555378, 574408, 584570, 549132, 657250, 660613, 586188, 600728, 813141, 458141, 503010, 640380, 504895, 442345, 461268, 525415, 525434, 538583, 665728, 673314, 691262, 567161, 587937, 592730, 607206, 789046, 758024, 485353, 625968, 490624, 506596, 489626, 561614, 687854, 570717, 587886, 516220, 526380, 650813, 578261, 585154, 603704, 603551, 428158, 463519, 516313, 725491, 550788, 638298, 619538, 504774, 581571, 472588, 775235, 463741, 458324, 509325, 510126, 520262);
|
| 5 |
3.00 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
38263
410864
422170
428158
429263
437982
442345
458141
458324
461268
463519
463741
472588
475305
476598
485353
485872
488891
489626
489776
490624
497775
498825
499731
503010
503018
504774
504895
506504
506596
509325
510106
510126
515304
516220
516313
516963
520260
520262
525415
525434
526380
537207
538583
549132
550788
554412
555378
561614
566025
567161
570717
574408
578261
581571
584570
585154
586188
587886
587937
592730
600728
603551
603704
607206
608092
614693
619538
625968
638298
640380
650813
657250
658767
660613
664655
665728
673314
687854
691262
702488
704429
707497
725491
731317
756314
758024
761162
775235
789046
799584
803944
813141
]
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 (38263, 410864, 422170, 428158, 429263, 437982, 442345, 458141, 458324, 461268, 463519, 463741, 472588, 475305, 476598, 485353, 485872, 488891, 489626, 489776, 490624, 497775, 498825, 499731, 503010, 503018, 504774, 504895, 506504, 506596, 509325, 510106, 510126, 515304, 516220, 516313, 516963, 520260, 520262, 525415, 525434, 526380, 537207, 538583, 549132, 550788, 554412, 555378, 561614, 566025, 567161, 570717, 574408, 578261, 581571, 584570, 585154, 586188, 587886, 587937, 592730, 600728, 603551, 603704, 607206, 608092, 614693, 619538, 625968, 638298, 640380, 650813, 657250, 658767, 660613, 664655, 665728, 673314, 687854, 691262, 702488, 704429, 707497, 725491, 731317, 756314, 758024, 761162, 775235, 789046, 799584, 803944, 813141);
|
| 6 |
134.95 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
38263
410864
422170
428158
429263
437982
442345
458141
458324
461268
463519
463741
472588
475305
476598
485353
485872
488891
489626
489776
490624
497775
498825
499731
503010
503018
504774
504895
506504
506596
509325
510106
510126
515304
516220
516313
516963
520260
520262
525415
525434
526380
537207
538583
549132
550788
554412
555378
561614
566025
567161
570717
574408
578261
581571
584570
585154
586188
587886
587937
592730
600728
603551
603704
607206
608092
614693
619538
625968
638298
640380
650813
657250
658767
660613
664655
665728
673314
687854
691262
702488
704429
707497
725491
731317
756314
758024
761162
775235
789046
799584
803944
813141
]
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 (38263, 410864, 422170, 428158, 429263, 437982, 442345, 458141, 458324, 461268, 463519, 463741, 472588, 475305, 476598, 485353, 485872, 488891, 489626, 489776, 490624, 497775, 498825, 499731, 503010, 503018, 504774, 504895, 506504, 506596, 509325, 510106, 510126, 515304, 516220, 516313, 516963, 520260, 520262, 525415, 525434, 526380, 537207, 538583, 549132, 550788, 554412, 555378, 561614, 566025, 567161, 570717, 574408, 578261, 581571, 584570, 585154, 586188, 587886, 587937, 592730, 600728, 603551, 603704, 607206, 608092, 614693, 619538, 625968, 638298, 640380, 650813, 657250, 658767, 660613, 664655, 665728, 673314, 687854, 691262, 702488, 704429, 707497, 725491, 731317, 756314, 758024, 761162, 775235, 789046, 799584, 803944, 813141);
|