| 4 |
16.55 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
533002
516655
576699
543875
663895
555814
624799
639335
603298
604595
602999
604597
423981
395833
471859
404829
514939
499668
414651
550774
641090
32874
386304
435497
423633
462610
468637
454925
475262
495418
531189
520730
527750
576722
543920
720245
577377
481664
444745
468705
517849
511810
384524
383987
416975
416165
449933
486788
464188
473722
526536
531405
581726
543872
650385
585377
620165
805487
601707
476120
495014
519093
522883
389640
547813
457165
462470
575890
545801
550960
586631
589524
603642
448811
480429
491446
499817
396121
391386
516291
533372
576720
449869
526531
617422
508518
543874
547241
576723
512447
440632
]
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 (533002, 516655, 576699, 543875, 663895, 555814, 624799, 639335, 603298, 604595, 602999, 604597, 423981, 395833, 471859, 404829, 514939, 499668, 414651, 550774, 641090, 32874, 386304, 435497, 423633, 462610, 468637, 454925, 475262, 495418, 531189, 520730, 527750, 576722, 543920, 720245, 577377, 481664, 444745, 468705, 517849, 511810, 384524, 383987, 416975, 416165, 449933, 486788, 464188, 473722, 526536, 531405, 581726, 543872, 650385, 585377, 620165, 805487, 601707, 476120, 495014, 519093, 522883, 389640, 547813, 457165, 462470, 575890, 545801, 550960, 586631, 589524, 603642, 448811, 480429, 491446, 499817, 396121, 391386, 516291, 533372, 576720, 449869, 526531, 617422, 508518, 543874, 547241, 576723, 512447, 440632);
|
| 5 |
3.85 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
32874
383987
384524
386304
389640
391386
395833
396121
404829
414651
416165
416975
423633
423981
435497
440632
444745
448811
449869
449933
454925
457165
462470
462610
464188
468637
468705
471859
473722
475262
476120
480429
481664
486788
491446
495014
495418
499668
499817
508518
511810
512447
514939
516291
516655
517849
519093
520730
522883
526531
526536
527750
531189
531405
533002
533372
543872
543874
543875
543920
545801
547241
547813
550774
550960
555814
575890
576699
576720
576722
576723
577377
581726
585377
586631
589524
601707
602999
603298
603642
604595
604597
617422
620165
624799
639335
641090
650385
663895
720245
805487
]
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 (32874, 383987, 384524, 386304, 389640, 391386, 395833, 396121, 404829, 414651, 416165, 416975, 423633, 423981, 435497, 440632, 444745, 448811, 449869, 449933, 454925, 457165, 462470, 462610, 464188, 468637, 468705, 471859, 473722, 475262, 476120, 480429, 481664, 486788, 491446, 495014, 495418, 499668, 499817, 508518, 511810, 512447, 514939, 516291, 516655, 517849, 519093, 520730, 522883, 526531, 526536, 527750, 531189, 531405, 533002, 533372, 543872, 543874, 543875, 543920, 545801, 547241, 547813, 550774, 550960, 555814, 575890, 576699, 576720, 576722, 576723, 577377, 581726, 585377, 586631, 589524, 601707, 602999, 603298, 603642, 604595, 604597, 617422, 620165, 624799, 639335, 641090, 650385, 663895, 720245, 805487);
|
| 6 |
144.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
32874
383987
384524
386304
389640
391386
395833
396121
404829
414651
416165
416975
423633
423981
435497
440632
444745
448811
449869
449933
454925
457165
462470
462610
464188
468637
468705
471859
473722
475262
476120
480429
481664
486788
491446
495014
495418
499668
499817
508518
511810
512447
514939
516291
516655
517849
519093
520730
522883
526531
526536
527750
531189
531405
533002
533372
543872
543874
543875
543920
545801
547241
547813
550774
550960
555814
575890
576699
576720
576722
576723
577377
581726
585377
586631
589524
601707
602999
603298
603642
604595
604597
617422
620165
624799
639335
641090
650385
663895
720245
805487
]
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 (32874, 383987, 384524, 386304, 389640, 391386, 395833, 396121, 404829, 414651, 416165, 416975, 423633, 423981, 435497, 440632, 444745, 448811, 449869, 449933, 454925, 457165, 462470, 462610, 464188, 468637, 468705, 471859, 473722, 475262, 476120, 480429, 481664, 486788, 491446, 495014, 495418, 499668, 499817, 508518, 511810, 512447, 514939, 516291, 516655, 517849, 519093, 520730, 522883, 526531, 526536, 527750, 531189, 531405, 533002, 533372, 543872, 543874, 543875, 543920, 545801, 547241, 547813, 550774, 550960, 555814, 575890, 576699, 576720, 576722, 576723, 577377, 581726, 585377, 586631, 589524, 601707, 602999, 603298, 603642, 604595, 604597, 617422, 620165, 624799, 639335, 641090, 650385, 663895, 720245, 805487);
|