The Movie Database Support

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 svar (på sida 1 av 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 !

Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.

Globala

s fokus på sökrutan
p öppna profilmenyn
esc stäng ett öppet fönster
? öppna tangentbordsgenväg fönstret

På mediasidor

b gå tillbaka (eller till förälder när det är tillämpligt)
e gå till redigerings sidan

På tv-säsongssidor

(höger pil) gå till nästa säsong
(vänster pil) gå till den föregående säsongen

På tv-avsnittssidor

(höger pil) gå till nästa avsnitt
(vänster pil) gå till föregående avsnitt

På alla bildsidor

a öppna lägg till bild fönstret

På alla redigeringssidor

t öppna översättnings väljaren
ctrl+ s skicka förmulär

På diskussionssidor

n skapa ny diskussion
w växla sedd-status
p växla offentligt/privat
c växla stäng/öppna
a öppna aktivitet
r svara på diskussionen
l gå till det senaste svaret
ctrl+ enter skicka ditt meddelande
(höger pil) nästa sida
(vänster pil) föregående sida

Inställningar

Vill du betygsätta denna artikel eller lägga till den i en lista?

Logga in