MP2 Database info + tools (1 Viewer)

Pog

Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    For those users like myself that want to check out the internals of the new database here are some useful resource links...

    The main bits you need are the Database viewer and MS runtime (for x64 install both the 32 and 64 bit runtimes).

    Wiki: http://en.wikipedia.org/wiki/SQL_Server_Compact

    Database Viewer: http://sourceforge.net/p/compactview/home/Home/

    Info+Resources: http://erikej.blogspot.com/

    MS runtime: http://www.microsoft.com/download/en/details.aspx?id=5783
     

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    I like to play with the box more then the toy. ;)

    Actually after installing and setting up the alpha I went to look at the data folder and it was almost empty and I was wondering how the new system worked.
     

    Smeulf

    Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    Or you have SQL Manager with SLQ Express that can handle those databases with the proper SQLCE modules...
     

    Smeulf

    Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    Well joemorin, even if technically speacking, it should be possible to write a plugin to use MsSQL (or any other db engine) instead of SQL CE, we choose SQL CE because it does not require any component but the DLLs provided with MP2. This way, there is no database server running in the background.

    It's a design choice, and I don't think we'll move the database to SQL Server or any other one...
     

    joemorin73

    Portal Member
    September 11, 2007
    8
    3
    Ottawa, Ontario
    Home Country
    Canada Canada
    Do not get me wrong. I do agree SQLCE, SqlLite or similar is perfect for single seat setups. If the layer is completely encapsulated in a plugin, than it can be changed to any database.

    I have some question on development plugins, but I'll leave that for another post in the correct section.
     

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    46
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    The database layer is completely flexible. MP2 sets some requirements on the underlaying database, which can be fulfilled by most of the common databases like MSSQL server. It is quite easy to exchange the SQLCE plugin.
     

    Users who are viewing this thread

    Top Bottom