Moving Pictures 1.3.1 Database Size (1 Viewer)

ozwombat

Portal Member
February 19, 2008
15
0
Home Country
Australia Australia
Just wondering if its normal to have a database sitting around the 100mb mark.

EDIT
Just to add there are around 1100 movies in the database
 

ozwombat

Portal Member
February 19, 2008
15
0
Home Country
Australia Australia
Just to add a bit more to the story. The database file 131MB.
Using SqlLiteBrowser the table "filters__movie_info__black_list" has 3,151,164 records with the "filters__movie_info__white_list" has 10k records
If I delete these records there is no change in file size until i compress the database which brings it back down to 10MB, a more reasonable size.
 

Dodgy Bob

MP Donator
  • Premium Supporter
  • July 10, 2008
    117
    3
    Home Country
    Wales Wales
    Hi Ozwombat,

    I logged into the forums to post a new thread about my DB size and speed of MovingPictures when I saw this, so thought I would post here instead.

    I've had my MP installation for over 2 years now (I think, getting old, hard to remember....er....) and in that time I've updated MP and MovingPictures numerous times. My DB size was 202MB and I have 1,600 films. Whenever I went into MovingPictures within MP for the first time it would take ages to update filters and categories. Whenever I started the plugin configuration it would take 3-4 minutes before the film list appeared. I started to get fed-up of the performance.

    I have another, client, MP set-up on my games PC and the MovingPictures DB on that was 8.5MB pointing to the same shares. That's a big difference.

    So, I blew away my MovingPictures DB and rescanned everything. My DB size is now 7.5MB, a difference of 194.5MB, or 4% of it's original size!

    The performance is great now. Within MP it goes straight into MovingPictures and the plugin starts immediately.

    I don't know what caused the DB bloat. Just the age? The multiple MP upgrades? The multiple MovingPictures upgrades? Who knows? But I think it's worth while keeping an eye on the DB and refreshing it every few months. Thanks to trakt this isn't a big deal.
     

    guytpetj

    MP Donator
  • Premium Supporter
  • March 24, 2005
    424
    57
    62
    USA
    Home Country
    United States of America United States of America
    You may consider this MPDbArchiver to make regular back-up copies of your databases.

    I have had it in the past that a database would blow-up on me, it always happened after a series of dirty shut downs when the power went out due to lightening storms.
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    44
    Texas
    Home Country
    United States of America United States of America
    A 100mb database is definitely not normal, I will look into this this weekend. Are you guys using any external plugins that hook into Moving Pictures though? Trakt? IMDb+? StreamedMP?
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Using IMDb+ plugin, my current db3 file is around 35MB with well over 3000 movies, and have gone through many updates from previous version upgrades. The main size increase I got on mine last time was when I was messing around with Dynamic Actors and ended up with like 80,000 rows in some tables. Also the blacklist and whitelist tables were huge. I also had some other issues back then so I did a clean database, which was right before the update to MediaPortal v1.0, and I have stayed away from Dynamic Actors/Directors/Writers since then.
     

    Dodgy Bob

    MP Donator
  • Premium Supporter
  • July 10, 2008
    117
    3
    Home Country
    Wales Wales
    I'm using trakt, follw.it, IMDB+ and StreamedMP!

    I did create a custom category of actors but removed it last month. I'm willing to accept that this was the cause.

    Having said that, my DB was 150MB after removing that category, the next time I checked it was 202MB. The only actions taken inbetween (if memory serves) was adding a couple of films and upgrading to the latest StreamedMP (with the latest plugin additions) and MovingPictures. It was then I decided to recan everything.

    Edit : I've got the backups (which I presume are taken when MovingPictures is upgraded).

    25/02/2010 - 1MB
    25/06/2010 - 7MB
    18/12/2010 - 14MB
    25/03/2011 - 17MB
    20/12/2011 - 65MB
    09/02/2012 - 200MB

    It was sometime between 20/12 and 09/02 that I noticed it was 150MB. I'm sure the category was removed before 20/12.
     

    Users who are viewing this thread

    Similar threads

    i think info but I'm really not sure
    i think info but I'm really not sure
    When I import new films using Moving Pictures, it takes an incredibly long time for the information to be found and downloaded...
    Replies
    3
    Views
    703
    If everything works, I'll add it to 1.38 Pre
    If everything works, I'll add it to 1.38 Pre
    Would it be possible to add a star rating (1-5) for pictures in the database, preferably even within browsing files? This way, you...
    Replies
    11
    Views
    3K
    I have all of my media on a NAS. I guess it might just be a network issue, then.
    I have all of my media on a NAS. I guess it might just be a network issue, then.
    Whenever I go into the back end for Moving Pictures, it almost immediately hangs on the Movie Importer tab. If I want to go into...
    Replies
    4
    Views
    2K
    maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as possible also try to see if anything is happening during stuck for the mediaportal process(resource monitor, disk activity, cpu usage, anything) maybe other programs competing for resouces?
    maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as...
    Since over a year my MP sometimes stucks while showing the welcome screen. It started once a week now it happens every second time...
    Replies
    4
    Views
    1K
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings, advanced options, I switched to UNC paths instead of the default RSS, and it's working very well. Sure I had to figure out the paths, but no big deal. Maybe helpful for someone in the future. Thanks for the...
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings...
    Hi folks. I have an issue with a new install/integration into my mediaportal system. I have a “mediaportal server” which has the TV...
    Replies
    5
    Views
    2K
    Top Bottom