Soporte de 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 respuestas (en la página 1 de 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 !

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión