The Movie Database Support

Hi ,

I am trying to store most of the data from tmdb locally an to check for updates using 'latest' method periodically. May I know the exact capacity me db should have to accommodate tmdb data ?

9 replies (on page 1 of 1)

Jump to last post

I only have about a 1/4 of the data in MySql server and my database is up to about 300MB, It might be the way I am storing it. When you are storing it locally you might not be storing the data the same way as it is stored in TMDB server. What kind of data are you planning on storing locally.

Below is the tables I store:

age_group
film_name
collection_group
list_ of_genres
film_posters
list_ of_keywords
film_ to_collection
film_id
people_name
film_overview
production_company
user_rating
film_release_dates
film_trailer

If you would like some more information from how I do it please let me know.

p.s Some of the _ underscores are not working.

Dale.

I am creating a kind of social networking app ( in every mobile platform) that shares preference in film. thousands of users will be accessing server simultaneously. Since there is API request count restriction in tmdb I am trying to store almost every movie's overview, cast, posters of couple of dimensions,etc. I prefer using NoSQL db to store JSON response I get from tmdb , where as I am using MySQL to store profile info of users. It will be of great help if you could tel me the way you store it. I am trying to achieve low latency.

Thanks in advance.

Well I store all the requests I make from JSON directly into MySQL database. This way I have all my users details and Movie data stored into the same location.

Movie = 6.4 MiB (Has movie ID, title and IMDB ID) overview = 45.1 MiB (Has Movie ID and Overview text) cast = 81.2 MiB (Has Person ID, Name of Person, Poster of Person, Job role, List order and Character name) posters = 8.1 MiB (Has Movie ID, Backdrop link and Poster link)

Examples of each of these below for Movie ID 3

Movie: '3' , 'Varjoja paratiisissa' , 'tt0092149'

Overview: '3' , 'An episode in the life of Nikander, a garbage man,...'

Cast: '3' , '5999' , 'Kati Outinen' , '/cjcuhAXRcg8C0VIDHtfz1BIVE3m.jpg' , 'actor' , '1' , 'Ilona Rajamäki'

Poster: '3' , '/6YjUX87VtIEuDzanBE6obVxE9V3.jpg' , '/lfaiYUVL7vPE57xgTscJN3kN5P1.jpg'

Hope this helps.

Dale.

Hi NancyJe,

I won't delve into specifics but here at TMDb we use MongoDB. Our movies and person collections (from a mongodumped BSON collection) are 630MB and 531MB respectively. Our entire DB is over 3.5GB but not everything is necessarily available via the API.

That should give you an idea anyways.

Travis would you say only half of the 3.5GB is available from the API?

Dale.

Hi Dale,

That is really hard, almost impossible for me to say with any truth.

I understand. I was just interested, as I pulled a lot of the data to my local server to run new recommendation algorithms against the data from TMDB. Sorry I have hijacked NancyJe Thread.

Dale.

Thanks a lot Dale & Travis. That is a great detail.

@NancyJe @crazydc1 , were either of you able to manage to store the entire database? If so, what was the process

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login