3
11.86 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
823476
209394
209723
593643
821029
389980
407220
776013
214560
387851
385442
388296
823313
532659
606557
692432
806447
484835
775872
580705
580717
822287
386197
776022
454122
676342
484829
605525
715395
691860
748138
810769
776320
390538
512805
447161
454113
523602
401602
429359
523292
457772
533003
532916
806420
488729
523316
516822
595786
634475
462539
622235
622044
509495
491373
526224
566694
494430
610304
511021
619468
591324
645238
561351
569417
471364
515538
612431
582789
605374
701348
582540
401919
674994
]
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 (823476 , 209394 , 209723 , 593643 , 821029 , 389980 , 407220 , 776013 , 214560 , 387851 , 385442 , 388296 , 823313 , 532659 , 606557 , 692432 , 806447 , 484835 , 775872 , 580705 , 580717 , 822287 , 386197 , 776022 , 454122 , 676342 , 484829 , 605525 , 715395 , 691860 , 748138 , 810769 , 776320 , 390538 , 512805 , 447161 , 454113 , 523602 , 401602 , 429359 , 523292 , 457772 , 533003 , 532916 , 806420 , 488729 , 523316 , 516822 , 595786 , 634475 , 462539 , 622235 , 622044 , 509495 , 491373 , 526224 , 566694 , 494430 , 610304 , 511021 , 619468 , 591324 , 645238 , 561351 , 569417 , 471364 , 515538 , 612431 , 582789 , 605374 , 701348 , 582540 , 401919 , 674994 );
Copy
4
2.62 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
209394
209723
214560
385442
386197
387851
388296
389980
390538
401602
401919
407220
429359
447161
454113
454122
457772
462539
471364
484829
484835
488729
491373
494430
509495
511021
512805
515538
516822
523292
523316
523602
526224
532659
532916
533003
561351
566694
569417
580705
580717
582540
582789
591324
593643
595786
605374
605525
606557
610304
612431
619468
622044
622235
634475
645238
674994
676342
691860
692432
701348
715395
748138
775872
776013
776022
776320
806420
806447
810769
821029
822287
823313
823476
]
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 (209394 , 209723 , 214560 , 385442 , 386197 , 387851 , 388296 , 389980 , 390538 , 401602 , 401919 , 407220 , 429359 , 447161 , 454113 , 454122 , 457772 , 462539 , 471364 , 484829 , 484835 , 488729 , 491373 , 494430 , 509495 , 511021 , 512805 , 515538 , 516822 , 523292 , 523316 , 523602 , 526224 , 532659 , 532916 , 533003 , 561351 , 566694 , 569417 , 580705 , 580717 , 582540 , 582789 , 591324 , 593643 , 595786 , 605374 , 605525 , 606557 , 610304 , 612431 , 619468 , 622044 , 622235 , 634475 , 645238 , 674994 , 676342 , 691860 , 692432 , 701348 , 715395 , 748138 , 775872 , 776013 , 776022 , 776320 , 806420 , 806447 , 810769 , 821029 , 822287 , 823313 , 823476 );
Copy
5
100.56 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
209394
209723
214560
385442
386197
387851
388296
389980
390538
401602
401919
407220
429359
447161
454113
454122
457772
462539
471364
484829
484835
488729
491373
494430
509495
511021
512805
515538
516822
523292
523316
523602
526224
532659
532916
533003
561351
566694
569417
580705
580717
582540
582789
591324
593643
595786
605374
605525
606557
610304
612431
619468
622044
622235
634475
645238
674994
676342
691860
692432
701348
715395
748138
775872
776013
776022
776320
806420
806447
810769
821029
822287
823313
823476
]
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 (209394 , 209723 , 214560 , 385442 , 386197 , 387851 , 388296 , 389980 , 390538 , 401602 , 401919 , 407220 , 429359 , 447161 , 454113 , 454122 , 457772 , 462539 , 471364 , 484829 , 484835 , 488729 , 491373 , 494430 , 509495 , 511021 , 512805 , 515538 , 516822 , 523292 , 523316 , 523602 , 526224 , 532659 , 532916 , 533003 , 561351 , 566694 , 569417 , 580705 , 580717 , 582540 , 582789 , 591324 , 593643 , 595786 , 605374 , 605525 , 606557 , 610304 , 612431 , 619468 , 622044 , 622235 , 634475 , 645238 , 674994 , 676342 , 691860 , 692432 , 701348 , 715395 , 748138 , 775872 , 776013 , 776022 , 776320 , 806420 , 806447 , 810769 , 821029 , 822287 , 823313 , 823476 );
Copy