| 4 |
18.64 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
599856
596929
628424
623198
608031
456885
406059
410936
434723
457500
473920
475807
514644
516350
517841
491200
495230
509321
524213
661565
643316
484126
491023
515119
522878
408262
476709
560408
548538
577966
654312
630859
603622
425715
474639
461576
495752
484130
490182
495703
522414
479857
572774
544840
544863
623196
590469
628082
401919
419627
446894
455912
506803
553280
612809
545611
560340
653568
679076
584637
605450
608407
608926
630537
641127
402722
510767
525525
484519
490061
538027
541646
515968
543881
542548
671863
554272
624846
626215
609922
613413
531083
515568
589127
445617
395696
520355
559378
665328
596839
521575
]
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 (599856, 596929, 628424, 623198, 608031, 456885, 406059, 410936, 434723, 457500, 473920, 475807, 514644, 516350, 517841, 491200, 495230, 509321, 524213, 661565, 643316, 484126, 491023, 515119, 522878, 408262, 476709, 560408, 548538, 577966, 654312, 630859, 603622, 425715, 474639, 461576, 495752, 484130, 490182, 495703, 522414, 479857, 572774, 544840, 544863, 623196, 590469, 628082, 401919, 419627, 446894, 455912, 506803, 553280, 612809, 545611, 560340, 653568, 679076, 584637, 605450, 608407, 608926, 630537, 641127, 402722, 510767, 525525, 484519, 490061, 538027, 541646, 515968, 543881, 542548, 671863, 554272, 624846, 626215, 609922, 613413, 531083, 515568, 589127, 445617, 395696, 520355, 559378, 665328, 596839, 521575);
|
| 5 |
2.88 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
395696
401919
402722
406059
408262
410936
419627
425715
434723
445617
446894
455912
456885
457500
461576
473920
474639
475807
476709
479857
484126
484130
484519
490061
490182
491023
491200
495230
495703
495752
506803
509321
510767
514644
515119
515568
515968
516350
517841
520355
521575
522414
522878
524213
525525
531083
538027
541646
542548
543881
544840
544863
545611
548538
553280
554272
559378
560340
560408
572774
577966
584637
589127
590469
596839
596929
599856
603622
605450
608031
608407
608926
609922
612809
613413
623196
623198
624846
626215
628082
628424
630537
630859
641127
643316
653568
654312
661565
665328
671863
679076
]
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 (395696, 401919, 402722, 406059, 408262, 410936, 419627, 425715, 434723, 445617, 446894, 455912, 456885, 457500, 461576, 473920, 474639, 475807, 476709, 479857, 484126, 484130, 484519, 490061, 490182, 491023, 491200, 495230, 495703, 495752, 506803, 509321, 510767, 514644, 515119, 515568, 515968, 516350, 517841, 520355, 521575, 522414, 522878, 524213, 525525, 531083, 538027, 541646, 542548, 543881, 544840, 544863, 545611, 548538, 553280, 554272, 559378, 560340, 560408, 572774, 577966, 584637, 589127, 590469, 596839, 596929, 599856, 603622, 605450, 608031, 608407, 608926, 609922, 612809, 613413, 623196, 623198, 624846, 626215, 628082, 628424, 630537, 630859, 641127, 643316, 653568, 654312, 661565, 665328, 671863, 679076);
|
| 6 |
113.30 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
395696
401919
402722
406059
408262
410936
419627
425715
434723
445617
446894
455912
456885
457500
461576
473920
474639
475807
476709
479857
484126
484130
484519
490061
490182
491023
491200
495230
495703
495752
506803
509321
510767
514644
515119
515568
515968
516350
517841
520355
521575
522414
522878
524213
525525
531083
538027
541646
542548
543881
544840
544863
545611
548538
553280
554272
559378
560340
560408
572774
577966
584637
589127
590469
596839
596929
599856
603622
605450
608031
608407
608926
609922
612809
613413
623196
623198
624846
626215
628082
628424
630537
630859
641127
643316
653568
654312
661565
665328
671863
679076
]
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 (395696, 401919, 402722, 406059, 408262, 410936, 419627, 425715, 434723, 445617, 446894, 455912, 456885, 457500, 461576, 473920, 474639, 475807, 476709, 479857, 484126, 484130, 484519, 490061, 490182, 491023, 491200, 495230, 495703, 495752, 506803, 509321, 510767, 514644, 515119, 515568, 515968, 516350, 517841, 520355, 521575, 522414, 522878, 524213, 525525, 531083, 538027, 541646, 542548, 543881, 544840, 544863, 545611, 548538, 553280, 554272, 559378, 560340, 560408, 572774, 577966, 584637, 589127, 590469, 596839, 596929, 599856, 603622, 605450, 608031, 608407, 608926, 609922, 612809, 613413, 623196, 623198, 624846, 626215, 628082, 628424, 630537, 630859, 641127, 643316, 653568, 654312, 661565, 665328, 671863, 679076);
|