4
11.00 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
463778
466577
493262
511387
515607
512513
526905
668385
588146
608550
586521
603606
735685
482342
457609
390112
517956
482630
514656
521195
526939
495416
543155
577552
593766
586492
784487
747004
458474
510252
419152
473004
540595
519230
502133
511318
530646
566834
544860
568347
546641
573740
577961
605572
615394
591143
466233
506093
514402
527983
514408
517230
541398
554440
611556
790218
448363
517985
512870
516316
529405
307940
514973
516327
528382
530761
552482
623326
488217
462450
608106
484299
613488
610046
]
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 (
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ?
)
Copy
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 (463778 , 466577 , 493262 , 511387 , 515607 , 512513 , 526905 , 668385 , 588146 , 608550 , 586521 , 603606 , 735685 , 482342 , 457609 , 390112 , 517956 , 482630 , 514656 , 521195 , 526939 , 495416 , 543155 , 577552 , 593766 , 586492 , 784487 , 747004 , 458474 , 510252 , 419152 , 473004 , 540595 , 519230 , 502133 , 511318 , 530646 , 566834 , 544860 , 568347 , 546641 , 573740 , 577961 , 605572 , 615394 , 591143 , 466233 , 506093 , 514402 , 527983 , 514408 , 517230 , 541398 , 554440 , 611556 , 790218 , 448363 , 517985 , 512870 , 516316 , 529405 , 307940 , 514973 , 516327 , 528382 , 530761 , 552482 , 623326 , 488217 , 462450 , 608106 , 484299 , 613488 , 610046 );
Copy
5
2.58 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
307940
390112
419152
448363
457609
458474
462450
463778
466233
466577
473004
482342
482630
484299
488217
493262
495416
502133
506093
510252
511318
511387
512513
512870
514402
514408
514656
514973
515607
516316
516327
517230
517956
517985
519230
521195
526905
526939
527983
528382
529405
530646
530761
540595
541398
543155
544860
546641
552482
554440
566834
568347
573740
577552
577961
586492
586521
588146
591143
593766
603606
605572
608106
608550
610046
611556
613488
615394
623326
668385
735685
747004
784487
790218
]
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 (
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ?
)
Copy
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 (307940 , 390112 , 419152 , 448363 , 457609 , 458474 , 462450 , 463778 , 466233 , 466577 , 473004 , 482342 , 482630 , 484299 , 488217 , 493262 , 495416 , 502133 , 506093 , 510252 , 511318 , 511387 , 512513 , 512870 , 514402 , 514408 , 514656 , 514973 , 515607 , 516316 , 516327 , 517230 , 517956 , 517985 , 519230 , 521195 , 526905 , 526939 , 527983 , 528382 , 529405 , 530646 , 530761 , 540595 , 541398 , 543155 , 544860 , 546641 , 552482 , 554440 , 566834 , 568347 , 573740 , 577552 , 577961 , 586492 , 586521 , 588146 , 591143 , 593766 , 603606 , 605572 , 608106 , 608550 , 610046 , 611556 , 613488 , 615394 , 623326 , 668385 , 735685 , 747004 , 784487 , 790218 );
Copy
6
105.08 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
307940
390112
419152
448363
457609
458474
462450
463778
466233
466577
473004
482342
482630
484299
488217
493262
495416
502133
506093
510252
511318
511387
512513
512870
514402
514408
514656
514973
515607
516316
516327
517230
517956
517985
519230
521195
526905
526939
527983
528382
529405
530646
530761
540595
541398
543155
544860
546641
552482
554440
566834
568347
573740
577552
577961
586492
586521
588146
591143
593766
603606
605572
608106
608550
610046
611556
613488
615394
623326
668385
735685
747004
784487
790218
]
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 (
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ?
)
Copy
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 (307940 , 390112 , 419152 , 448363 , 457609 , 458474 , 462450 , 463778 , 466233 , 466577 , 473004 , 482342 , 482630 , 484299 , 488217 , 493262 , 495416 , 502133 , 506093 , 510252 , 511318 , 511387 , 512513 , 512870 , 514402 , 514408 , 514656 , 514973 , 515607 , 516316 , 516327 , 517230 , 517956 , 517985 , 519230 , 521195 , 526905 , 526939 , 527983 , 528382 , 529405 , 530646 , 530761 , 540595 , 541398 , 543155 , 544860 , 546641 , 552482 , 554440 , 566834 , 568347 , 573740 , 577552 , 577961 , 586492 , 586521 , 588146 , 591143 , 593766 , 603606 , 605572 , 608106 , 608550 , 610046 , 611556 , 613488 , 615394 , 623326 , 668385 , 735685 , 747004 , 784487 , 790218 );
Copy