| 4 |
17.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
435433
439627
439768
462351
418519
440893
521664
428124
529811
746083
443292
446851
421892
439808
457466
470654
535445
513502
524245
509718
482080
454467
484821
447095
462840
439577
421878
509970
485274
405699
497950
620309
393055
720245
636286
775819
473950
435027
502326
396253
418873
569386
554210
690803
659215
601848
403588
439586
517833
426987
420741
422474
446682
454871
481910
549830
498474
643933
462515
441389
486250
564825
461061
517841
479746
509507
516320
548226
451866
586591
421234
710647
446646
457165
565254
462526
751565
464327
668525
527906
537042
428773
542914
396825
494833
505750
521481
645920
424002
516227
400497
]
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 (435433, 439627, 439768, 462351, 418519, 440893, 521664, 428124, 529811, 746083, 443292, 446851, 421892, 439808, 457466, 470654, 535445, 513502, 524245, 509718, 482080, 454467, 484821, 447095, 462840, 439577, 421878, 509970, 485274, 405699, 497950, 620309, 393055, 720245, 636286, 775819, 473950, 435027, 502326, 396253, 418873, 569386, 554210, 690803, 659215, 601848, 403588, 439586, 517833, 426987, 420741, 422474, 446682, 454871, 481910, 549830, 498474, 643933, 462515, 441389, 486250, 564825, 461061, 517841, 479746, 509507, 516320, 548226, 451866, 586591, 421234, 710647, 446646, 457165, 565254, 462526, 751565, 464327, 668525, 527906, 537042, 428773, 542914, 396825, 494833, 505750, 521481, 645920, 424002, 516227, 400497);
|
| 5 |
2.66 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
393055
396253
396825
400497
403588
405699
418519
418873
420741
421234
421878
421892
422474
424002
426987
428124
428773
435027
435433
439577
439586
439627
439768
439808
440893
441389
443292
446646
446682
446851
447095
451866
454467
454871
457165
457466
461061
462351
462515
462526
462840
464327
470654
473950
479746
481910
482080
484821
485274
486250
494833
497950
498474
502326
505750
509507
509718
509970
513502
516227
516320
517833
517841
521481
521664
524245
527906
529811
535445
537042
542914
548226
549830
554210
564825
565254
569386
586591
601848
620309
636286
643933
645920
659215
668525
690803
710647
720245
746083
751565
775819
]
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 (393055, 396253, 396825, 400497, 403588, 405699, 418519, 418873, 420741, 421234, 421878, 421892, 422474, 424002, 426987, 428124, 428773, 435027, 435433, 439577, 439586, 439627, 439768, 439808, 440893, 441389, 443292, 446646, 446682, 446851, 447095, 451866, 454467, 454871, 457165, 457466, 461061, 462351, 462515, 462526, 462840, 464327, 470654, 473950, 479746, 481910, 482080, 484821, 485274, 486250, 494833, 497950, 498474, 502326, 505750, 509507, 509718, 509970, 513502, 516227, 516320, 517833, 517841, 521481, 521664, 524245, 527906, 529811, 535445, 537042, 542914, 548226, 549830, 554210, 564825, 565254, 569386, 586591, 601848, 620309, 636286, 643933, 645920, 659215, 668525, 690803, 710647, 720245, 746083, 751565, 775819);
|
| 6 |
141.44 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
393055
396253
396825
400497
403588
405699
418519
418873
420741
421234
421878
421892
422474
424002
426987
428124
428773
435027
435433
439577
439586
439627
439768
439808
440893
441389
443292
446646
446682
446851
447095
451866
454467
454871
457165
457466
461061
462351
462515
462526
462840
464327
470654
473950
479746
481910
482080
484821
485274
486250
494833
497950
498474
502326
505750
509507
509718
509970
513502
516227
516320
517833
517841
521481
521664
524245
527906
529811
535445
537042
542914
548226
549830
554210
564825
565254
569386
586591
601848
620309
636286
643933
645920
659215
668525
690803
710647
720245
746083
751565
775819
]
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 (393055, 396253, 396825, 400497, 403588, 405699, 418519, 418873, 420741, 421234, 421878, 421892, 422474, 424002, 426987, 428124, 428773, 435027, 435433, 439577, 439586, 439627, 439768, 439808, 440893, 441389, 443292, 446646, 446682, 446851, 447095, 451866, 454467, 454871, 457165, 457466, 461061, 462351, 462515, 462526, 462840, 464327, 470654, 473950, 479746, 481910, 482080, 484821, 485274, 486250, 494833, 497950, 498474, 502326, 505750, 509507, 509718, 509970, 513502, 516227, 516320, 517833, 517841, 521481, 521664, 524245, 527906, 529811, 535445, 537042, 542914, 548226, 549830, 554210, 564825, 565254, 569386, 586591, 601848, 620309, 636286, 643933, 645920, 659215, 668525, 690803, 710647, 720245, 746083, 751565, 775819);
|