| 4 |
15.67 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
514602
739809
417266
453960
461796
520107
477016
517375
473136
513508
445906
516561
568614
445566
473617
463065
483036
432879
449301
556918
481451
527805
572943
574035
521035
488118
501968
514359
504688
485785
517367
533874
468839
500883
561398
547549
617322
528914
516658
534293
500606
507601
588907
490418
577711
564743
620699
656984
590599
401099
785968
436838
457627
398491
395325
520090
480955
607494
537947
384551
251045
437320
478336
747969
528321
466542
420599
551803
582597
439345
418383
513367
516898
563741
588092
427357
483236
503216
522669
793608
525442
605953
518865
611241
469649
603854
603033
591235
]
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 (514602, 739809, 417266, 453960, 461796, 520107, 477016, 517375, 473136, 513508, 445906, 516561, 568614, 445566, 473617, 463065, 483036, 432879, 449301, 556918, 481451, 527805, 572943, 574035, 521035, 488118, 501968, 514359, 504688, 485785, 517367, 533874, 468839, 500883, 561398, 547549, 617322, 528914, 516658, 534293, 500606, 507601, 588907, 490418, 577711, 564743, 620699, 656984, 590599, 401099, 785968, 436838, 457627, 398491, 395325, 520090, 480955, 607494, 537947, 384551, 251045, 437320, 478336, 747969, 528321, 466542, 420599, 551803, 582597, 439345, 418383, 513367, 516898, 563741, 588092, 427357, 483236, 503216, 522669, 793608, 525442, 605953, 518865, 611241, 469649, 603854, 603033, 591235);
|
| 5 |
2.92 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
251045
384551
395325
398491
401099
417266
418383
420599
427357
432879
436838
437320
439345
445566
445906
449301
453960
457627
461796
463065
466542
468839
469649
473136
473617
477016
478336
480955
481451
483036
483236
485785
488118
490418
500606
500883
501968
503216
504688
507601
513367
513508
514359
514602
516561
516658
516898
517367
517375
518865
520090
520107
521035
522669
525442
527805
528321
528914
533874
534293
537947
547549
551803
556918
561398
563741
564743
568614
572943
574035
577711
582597
588092
588907
590599
591235
603033
603854
605953
607494
611241
617322
620699
656984
739809
747969
785968
793608
]
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 (251045, 384551, 395325, 398491, 401099, 417266, 418383, 420599, 427357, 432879, 436838, 437320, 439345, 445566, 445906, 449301, 453960, 457627, 461796, 463065, 466542, 468839, 469649, 473136, 473617, 477016, 478336, 480955, 481451, 483036, 483236, 485785, 488118, 490418, 500606, 500883, 501968, 503216, 504688, 507601, 513367, 513508, 514359, 514602, 516561, 516658, 516898, 517367, 517375, 518865, 520090, 520107, 521035, 522669, 525442, 527805, 528321, 528914, 533874, 534293, 537947, 547549, 551803, 556918, 561398, 563741, 564743, 568614, 572943, 574035, 577711, 582597, 588092, 588907, 590599, 591235, 603033, 603854, 605953, 607494, 611241, 617322, 620699, 656984, 739809, 747969, 785968, 793608);
|
| 6 |
97.18 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
251045
384551
395325
398491
401099
417266
418383
420599
427357
432879
436838
437320
439345
445566
445906
449301
453960
457627
461796
463065
466542
468839
469649
473136
473617
477016
478336
480955
481451
483036
483236
485785
488118
490418
500606
500883
501968
503216
504688
507601
513367
513508
514359
514602
516561
516658
516898
517367
517375
518865
520090
520107
521035
522669
525442
527805
528321
528914
533874
534293
537947
547549
551803
556918
561398
563741
564743
568614
572943
574035
577711
582597
588092
588907
590599
591235
603033
603854
605953
607494
611241
617322
620699
656984
739809
747969
785968
793608
]
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 (251045, 384551, 395325, 398491, 401099, 417266, 418383, 420599, 427357, 432879, 436838, 437320, 439345, 445566, 445906, 449301, 453960, 457627, 461796, 463065, 466542, 468839, 469649, 473136, 473617, 477016, 478336, 480955, 481451, 483036, 483236, 485785, 488118, 490418, 500606, 500883, 501968, 503216, 504688, 507601, 513367, 513508, 514359, 514602, 516561, 516658, 516898, 517367, 517375, 518865, 520090, 520107, 521035, 522669, 525442, 527805, 528321, 528914, 533874, 534293, 537947, 547549, 551803, 556918, 561398, 563741, 564743, 568614, 572943, 574035, 577711, 582597, 588092, 588907, 590599, 591235, 603033, 603854, 605953, 607494, 611241, 617322, 620699, 656984, 739809, 747969, 785968, 793608);
|