| 4 |
18.44 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
434442
449508
551525
499089
445197
460592
527207
533611
483095
569256
580148
552355
557848
571257
598786
585717
604092
418252
447949
507647
482885
517126
488128
516039
518798
505453
523644
526242
575589
548153
682916
706567
583801
637444
631037
810852
617580
449181
535207
583165
521797
741821
486371
429848
444902
525398
486866
616778
440345
424375
439532
456028
510898
506290
802805
446425
486141
470903
496518
460879
418067
426818
492549
502817
519501
528040
499566
609057
449940
424364
524535
599547
566395
479950
522755
505538
563883
558380
465024
532380
526895
443215
582262
458467
562790
558566
579344
526912
625441
492169
]
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 (434442, 449508, 551525, 499089, 445197, 460592, 527207, 533611, 483095, 569256, 580148, 552355, 557848, 571257, 598786, 585717, 604092, 418252, 447949, 507647, 482885, 517126, 488128, 516039, 518798, 505453, 523644, 526242, 575589, 548153, 682916, 706567, 583801, 637444, 631037, 810852, 617580, 449181, 535207, 583165, 521797, 741821, 486371, 429848, 444902, 525398, 486866, 616778, 440345, 424375, 439532, 456028, 510898, 506290, 802805, 446425, 486141, 470903, 496518, 460879, 418067, 426818, 492549, 502817, 519501, 528040, 499566, 609057, 449940, 424364, 524535, 599547, 566395, 479950, 522755, 505538, 563883, 558380, 465024, 532380, 526895, 443215, 582262, 458467, 562790, 558566, 579344, 526912, 625441, 492169);
|
| 5 |
2.41 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
418067
418252
424364
424375
426818
429848
434442
439532
440345
443215
444902
445197
446425
447949
449181
449508
449940
456028
458467
460592
460879
465024
470903
479950
482885
483095
486141
486371
486866
488128
492169
492549
496518
499089
499566
502817
505453
505538
506290
507647
510898
516039
517126
518798
519501
521797
522755
523644
524535
525398
526242
526895
526912
527207
528040
532380
533611
535207
548153
551525
552355
557848
558380
558566
562790
563883
566395
569256
571257
575589
579344
580148
582262
583165
583801
585717
598786
599547
604092
609057
616778
617580
625441
631037
637444
682916
706567
741821
802805
810852
]
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 (418067, 418252, 424364, 424375, 426818, 429848, 434442, 439532, 440345, 443215, 444902, 445197, 446425, 447949, 449181, 449508, 449940, 456028, 458467, 460592, 460879, 465024, 470903, 479950, 482885, 483095, 486141, 486371, 486866, 488128, 492169, 492549, 496518, 499089, 499566, 502817, 505453, 505538, 506290, 507647, 510898, 516039, 517126, 518798, 519501, 521797, 522755, 523644, 524535, 525398, 526242, 526895, 526912, 527207, 528040, 532380, 533611, 535207, 548153, 551525, 552355, 557848, 558380, 558566, 562790, 563883, 566395, 569256, 571257, 575589, 579344, 580148, 582262, 583165, 583801, 585717, 598786, 599547, 604092, 609057, 616778, 617580, 625441, 631037, 637444, 682916, 706567, 741821, 802805, 810852);
|
| 6 |
112.00 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
418067
418252
424364
424375
426818
429848
434442
439532
440345
443215
444902
445197
446425
447949
449181
449508
449940
456028
458467
460592
460879
465024
470903
479950
482885
483095
486141
486371
486866
488128
492169
492549
496518
499089
499566
502817
505453
505538
506290
507647
510898
516039
517126
518798
519501
521797
522755
523644
524535
525398
526242
526895
526912
527207
528040
532380
533611
535207
548153
551525
552355
557848
558380
558566
562790
563883
566395
569256
571257
575589
579344
580148
582262
583165
583801
585717
598786
599547
604092
609057
616778
617580
625441
631037
637444
682916
706567
741821
802805
810852
]
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 (418067, 418252, 424364, 424375, 426818, 429848, 434442, 439532, 440345, 443215, 444902, 445197, 446425, 447949, 449181, 449508, 449940, 456028, 458467, 460592, 460879, 465024, 470903, 479950, 482885, 483095, 486141, 486371, 486866, 488128, 492169, 492549, 496518, 499089, 499566, 502817, 505453, 505538, 506290, 507647, 510898, 516039, 517126, 518798, 519501, 521797, 522755, 523644, 524535, 525398, 526242, 526895, 526912, 527207, 528040, 532380, 533611, 535207, 548153, 551525, 552355, 557848, 558380, 558566, 562790, 563883, 566395, 569256, 571257, 575589, 579344, 580148, 582262, 583165, 583801, 585717, 598786, 599547, 604092, 609057, 616778, 617580, 625441, 631037, 637444, 682916, 706567, 741821, 802805, 810852);
|