[confirm] DataBase Size Error (1 Viewer)

Smeulf

Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    Please use MP2_Alpha_1 branch to avoid any problem ;)
     

    guytpetj

    MP Donator
  • Premium Supporter
  • March 24, 2005
    424
    57
    60
    USA
    Home Country
    United States of America United States of America
    OK,
    I've downloaded, modified and compiled the branch.
    Restored a copy of the original database that gave me the error.

    I'm happy to say that the line of code below fixed my problem.

    _connectionString = "Data Source='" + databaseFile + "'; Default Lock Timeout=" + LOCK_TIMEOUT + "; Max Buffer Size = " + MAX_BUFFER_SIZE + "; Max Database Size = " + 1024;


    I'll try to drastically increase my database size tommorow as test to see if it keeps working as expected.
     

    Smeulf

    Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    Hi guytpetj,

    The issue should be solved in the "dev" branch, with the correct connection string and and auto increment of the value. If you have some time to pull the last commits on that one, build and try, that would be great to confirm it works...
     

    guytpetj

    MP Donator
  • Premium Supporter
  • March 24, 2005
    424
    57
    60
    USA
    Home Country
    United States of America United States of America
    Hi Smeulf,

    I've compiled with the files in the "dev" branch and run it with my now 284MB database, and all seems to work fine.

    Just to make sure that I did do the right thing I'm attching the "SQLCEDatabase.cs" I used for the test.
     

    Attachments

    • SQLCEDatabase.zip
      2.5 KB

    Smeulf

    Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    Yes, you pulled the right branch, the code is the right one :)

    Thank you very much guytpetj for your time.

    Cheers.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany

    guytpetj

    MP Donator
  • Premium Supporter
  • March 24, 2005
    424
    57
    60
    USA
    Home Country
    United States of America United States of America
    Compacting the 1.2GB database did not do much.

    If you want I can delete the database and start from scratch to see if it ends up growing to the same size.

    Eventhough the database is this big, everything works fine, and it finaly stopped growing at 1.2GB, now if I have MP2 server running the database size remains the same.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Please keep the current (big) database. Can you share it with us? How big is it when packed with 7z?

    If it is too big, I would be interested in the contained tables and record counts of each table
     

    guytpetj

    MP Donator
  • Premium Supporter
  • March 24, 2005
    424
    57
    60
    USA
    Home Country
    United States of America United States of America
    compressed with 7z the database is 634MB

    Is there a place/system you want me to use to upload?
     

    Users who are viewing this thread

    Top Bottom