| 4 |
14.03 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
475683
565578
579740
543938
672954
548233
549226
549234
565677
593541
598979
612316
460732
470763
451950
462076
506051
518842
485762
485774
502467
483360
487933
493093
507257
518834
477707
576157
466989
420190
462096
476343
524900
482367
559116
567424
562890
544473
558286
678791
571135
593529
595532
624793
624468
462074
454274
462319
454267
484643
485749
485777
516053
460040
559279
464917
483152
485711
454277
467043
482304
524895
477200
482320
663956
474120
487343
518853
471067
429143
466982
491790
504481
466069
495038
516744
485700
486835
454221
559132
524882
506801
549233
480480
465312
466821
598649
515723
549239
549225
]
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 (475683, 565578, 579740, 543938, 672954, 548233, 549226, 549234, 565677, 593541, 598979, 612316, 460732, 470763, 451950, 462076, 506051, 518842, 485762, 485774, 502467, 483360, 487933, 493093, 507257, 518834, 477707, 576157, 466989, 420190, 462096, 476343, 524900, 482367, 559116, 567424, 562890, 544473, 558286, 678791, 571135, 593529, 595532, 624793, 624468, 462074, 454274, 462319, 454267, 484643, 485749, 485777, 516053, 460040, 559279, 464917, 483152, 485711, 454277, 467043, 482304, 524895, 477200, 482320, 663956, 474120, 487343, 518853, 471067, 429143, 466982, 491790, 504481, 466069, 495038, 516744, 485700, 486835, 454221, 559132, 524882, 506801, 549233, 480480, 465312, 466821, 598649, 515723, 549239, 549225);
|
| 5 |
2.40 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
420190
429143
451950
454221
454267
454274
454277
460040
460732
462074
462076
462096
462319
464917
465312
466069
466821
466982
466989
467043
470763
471067
474120
475683
476343
477200
477707
480480
482304
482320
482367
483152
483360
484643
485700
485711
485749
485762
485774
485777
486835
487343
487933
491790
493093
495038
502467
504481
506051
506801
507257
515723
516053
516744
518834
518842
518853
524882
524895
524900
543938
544473
548233
549225
549226
549233
549234
549239
558286
559116
559132
559279
562890
565578
565677
567424
571135
576157
579740
593529
593541
595532
598649
598979
612316
624468
624793
663956
672954
678791
]
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 (420190, 429143, 451950, 454221, 454267, 454274, 454277, 460040, 460732, 462074, 462076, 462096, 462319, 464917, 465312, 466069, 466821, 466982, 466989, 467043, 470763, 471067, 474120, 475683, 476343, 477200, 477707, 480480, 482304, 482320, 482367, 483152, 483360, 484643, 485700, 485711, 485749, 485762, 485774, 485777, 486835, 487343, 487933, 491790, 493093, 495038, 502467, 504481, 506051, 506801, 507257, 515723, 516053, 516744, 518834, 518842, 518853, 524882, 524895, 524900, 543938, 544473, 548233, 549225, 549226, 549233, 549234, 549239, 558286, 559116, 559132, 559279, 562890, 565578, 565677, 567424, 571135, 576157, 579740, 593529, 593541, 595532, 598649, 598979, 612316, 624468, 624793, 663956, 672954, 678791);
|
| 6 |
135.14 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
420190
429143
451950
454221
454267
454274
454277
460040
460732
462074
462076
462096
462319
464917
465312
466069
466821
466982
466989
467043
470763
471067
474120
475683
476343
477200
477707
480480
482304
482320
482367
483152
483360
484643
485700
485711
485749
485762
485774
485777
486835
487343
487933
491790
493093
495038
502467
504481
506051
506801
507257
515723
516053
516744
518834
518842
518853
524882
524895
524900
543938
544473
548233
549225
549226
549233
549234
549239
558286
559116
559132
559279
562890
565578
565677
567424
571135
576157
579740
593529
593541
595532
598649
598979
612316
624468
624793
663956
672954
678791
]
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 (420190, 429143, 451950, 454221, 454267, 454274, 454277, 460040, 460732, 462074, 462076, 462096, 462319, 464917, 465312, 466069, 466821, 466982, 466989, 467043, 470763, 471067, 474120, 475683, 476343, 477200, 477707, 480480, 482304, 482320, 482367, 483152, 483360, 484643, 485700, 485711, 485749, 485762, 485774, 485777, 486835, 487343, 487933, 491790, 493093, 495038, 502467, 504481, 506051, 506801, 507257, 515723, 516053, 516744, 518834, 518842, 518853, 524882, 524895, 524900, 543938, 544473, 548233, 549225, 549226, 549233, 549234, 549239, 558286, 559116, 559132, 559279, 562890, 565578, 565677, 567424, 571135, 576157, 579740, 593529, 593541, 595532, 598649, 598979, 612316, 624468, 624793, 663956, 672954, 678791);
|