Wsparcie The Movie Database

Hi there,

I'm using your Api to copy data in local but With so much entries, my questions are:

  • What kind of structure do you use ? (all movies in the same table ? Seperate table according the langage ?)
  • i'm using mysql, what kind of DB would you recommend ? InnoDB ? MyISAM ? others ?
  • indexing is enough to have a "fast search" in a so huge DB ?

thank you,

keep going this project is really nice !

2 odpowiedzi (strona 1 z 1)

Jump to last post

Hi @neorobot

These are all some pretty loaded questions that are hard to give simple answers to as each and every project requirements are going to be different 😉

What kind of structure do you use ? (all movies in the same table ? Seperate table according the langage ?)

TMDb is actually a MongoDB project, so there aren't tables per-say. Each media type or object is generally in their own collection (which is basically the equivalent to a table in the MySQL world).

i'm using mysql, what kind of DB would you recommend ? InnoDB ? MyISAM ? others ?

My understanding is that InnoDB is a good choice. I do use MySQL for the new lists and use InnoDB for them.

indexing is enough to have a "fast search" in a so huge DB ?

This is going to be purely based on your use case(s) and schema. I store a lot of things in Elasticsearch--not to necessarily get more performance but rather, a more dynamic and powerful querying system.

Thank you for your Answer Travis, I'll check that !

Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.

Globalny

s zaznacz pasek wyszukiwania
p otwórz menu profilu
esc Zamknij otwarte okno
? otwórz okno skrótów klawiszowych

On media pages

b go back (or to parent when applicable)
e przejdź do strony edycji

On TV season pages

(prawa strzałka) przejdź do następnego sezonu
(lewa strzałka) przejdź do poprzedniego sezonu

On TV episode pages

(prawa strzałka) przejdź do następnego odcinka
(lewa strzałka) przejdź do poprzedniego odcinka

On all image pages

a otwórz okno dodawania obrazu

On all edit pages

t open translation selector
ctrl+ s prześlij formularz

On discussion pages

n otwórz nową dyskusję
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r odpowiedz na dyskusję
l przejdź do ostatniej odpowiedzi
ctrl+ enter wyślij swoją wiadomość
(prawa strzałka) następna strona
(lewa strzałka) poprzednia strona

Ustawienia

Want to rate or add this item to a list?

Zaloguj