| 4 |
16.79 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
454395
463493
471498
481772
448576
485997
511176
537278
520612
527101
494672
543364
557992
557943
558603
559561
552074
591214
602572
603121
624142
426358
470089
421991
426359
439906
454839
471055
481612
512410
513483
516443
524131
491409
498012
505376
515580
519786
520654
484530
516819
519795
527706
527808
491130
500513
501223
504250
525793
426456
443580
455730
477362
456168
525546
520986
515578
574410
559009
595070
595682
624480
728946
602306
427246
492336
517478
489823
526118
510631
520961
576049
473507
652756
429934
429954
566288
566869
455245
464619
473139
527599
490308
521141
487550
521495
528931
494963
622839
528923
597148
602246
]
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 (454395, 463493, 471498, 481772, 448576, 485997, 511176, 537278, 520612, 527101, 494672, 543364, 557992, 557943, 558603, 559561, 552074, 591214, 602572, 603121, 624142, 426358, 470089, 421991, 426359, 439906, 454839, 471055, 481612, 512410, 513483, 516443, 524131, 491409, 498012, 505376, 515580, 519786, 520654, 484530, 516819, 519795, 527706, 527808, 491130, 500513, 501223, 504250, 525793, 426456, 443580, 455730, 477362, 456168, 525546, 520986, 515578, 574410, 559009, 595070, 595682, 624480, 728946, 602306, 427246, 492336, 517478, 489823, 526118, 510631, 520961, 576049, 473507, 652756, 429934, 429954, 566288, 566869, 455245, 464619, 473139, 527599, 490308, 521141, 487550, 521495, 528931, 494963, 622839, 528923, 597148, 602246);
|
| 5 |
3.53 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
421991
426358
426359
426456
427246
429934
429954
439906
443580
448576
454395
454839
455245
455730
456168
463493
464619
470089
471055
471498
473139
473507
477362
481612
481772
484530
485997
487550
489823
490308
491130
491409
492336
494672
494963
498012
500513
501223
504250
505376
510631
511176
512410
513483
515578
515580
516443
516819
517478
519786
519795
520612
520654
520961
520986
521141
521495
524131
525546
525793
526118
527101
527599
527706
527808
528923
528931
537278
543364
552074
557943
557992
558603
559009
559561
566288
566869
574410
576049
591214
595070
595682
597148
602246
602306
602572
603121
622839
624142
624480
652756
728946
]
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 (421991, 426358, 426359, 426456, 427246, 429934, 429954, 439906, 443580, 448576, 454395, 454839, 455245, 455730, 456168, 463493, 464619, 470089, 471055, 471498, 473139, 473507, 477362, 481612, 481772, 484530, 485997, 487550, 489823, 490308, 491130, 491409, 492336, 494672, 494963, 498012, 500513, 501223, 504250, 505376, 510631, 511176, 512410, 513483, 515578, 515580, 516443, 516819, 517478, 519786, 519795, 520612, 520654, 520961, 520986, 521141, 521495, 524131, 525546, 525793, 526118, 527101, 527599, 527706, 527808, 528923, 528931, 537278, 543364, 552074, 557943, 557992, 558603, 559009, 559561, 566288, 566869, 574410, 576049, 591214, 595070, 595682, 597148, 602246, 602306, 602572, 603121, 622839, 624142, 624480, 652756, 728946);
|
| 6 |
146.95 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
421991
426358
426359
426456
427246
429934
429954
439906
443580
448576
454395
454839
455245
455730
456168
463493
464619
470089
471055
471498
473139
473507
477362
481612
481772
484530
485997
487550
489823
490308
491130
491409
492336
494672
494963
498012
500513
501223
504250
505376
510631
511176
512410
513483
515578
515580
516443
516819
517478
519786
519795
520612
520654
520961
520986
521141
521495
524131
525546
525793
526118
527101
527599
527706
527808
528923
528931
537278
543364
552074
557943
557992
558603
559009
559561
566288
566869
574410
576049
591214
595070
595682
597148
602246
602306
602572
603121
622839
624142
624480
652756
728946
]
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 (421991, 426358, 426359, 426456, 427246, 429934, 429954, 439906, 443580, 448576, 454395, 454839, 455245, 455730, 456168, 463493, 464619, 470089, 471055, 471498, 473139, 473507, 477362, 481612, 481772, 484530, 485997, 487550, 489823, 490308, 491130, 491409, 492336, 494672, 494963, 498012, 500513, 501223, 504250, 505376, 510631, 511176, 512410, 513483, 515578, 515580, 516443, 516819, 517478, 519786, 519795, 520612, 520654, 520961, 520986, 521141, 521495, 524131, 525546, 525793, 526118, 527101, 527599, 527706, 527808, 528923, 528931, 537278, 543364, 552074, 557943, 557992, 558603, 559009, 559561, 566288, 566869, 574410, 576049, 591214, 595070, 595682, 597148, 602246, 602306, 602572, 603121, 622839, 624142, 624480, 652756, 728946);
|