Which DB to use?

Hi, i am writing a program that uses a db.
My db will have 3 tables and maximum of 5,000 records.
I want that the customers will download my application...
The proplem is that i don't know whether they hav a db engine or not.
I heard about MDAC for mdb files...
1) How can i check in my installation wizard whether the client has MDAC installed on his local mashine
2) Can u suggest me somthing better


Answer this question

Which DB to use?

  • JohnDale

    But i XML is very slow and it isn't a database...
    What about Sql server 2005 express
    What the client has to install to use a sql server 2005 database


  • Oleg Tkachenko

    firebird, definitely has better performance (firebird rox!!!). . . but its a full featured rdbms and I believe the OLEDb provider will cost you.

    For the trivial database you describe, a jet db is your probable best bet.

    Just be sure your users have the latest Jet package and mdacs.
    Don't use odbc, use oledb.

    remember to build a methodology for your users to compact their database.

    Now the question is, are multiple users going to be accessing the same database

    If so, I recommend SQL express.



  • JohanNil

    use an object database.... there are free ones around...

    and they are in process so easy to debug and no mismatch!


  • rp_parikh

    The client would have to install full SQL Express which I wouldn't recommend as it's an extra service running on the client machine that uses up a lot of resources, etc.
    I'd go with the XML approach as well.. 5k records ain't a whole lot.. read it in memory and you're golden. Other options would be to use MySql embedded database or Firebird embedded database. They'd be good options since they have .net providers available

  • RyanManning

    re suggestion somthing better
    Sure, why not try some XML as the datastore   You should still be able to access all your "tables" via ADO I believe just as if they were part of a db, but no extra setup or license issues.  Might be a bit more work to setup, but you're in FULL control the data contents.

    Just a suggestion.

  • jmorgan

    re performance with xml
    Since I haven't tried this personally I can't speak about this with authority.  However, I believe once you read the xml into memory, it will be lightning fast!

    re what client needs for SQL Server 2k5 db
    I wonder if you just need to have the mde file (is that the file extension) and then just the ADO libs/dlls

    Ok, now I'm getting out of my domain/comfort zone.  I'm sorry.  I hope someone else with more experience can reply (and help us both learn :>).  Good luck.

  • digitalsuperman

    remember firebird is interbase 'open sourced.' almost everything that says it works for interbase, should work for firebird. its been a while since I worked with it but it appears now that their are a few different 'free' oledb providers available.

    heres one: http://www.zstyle.dp.ua/eng/iboledb_prod.htm

    I have only seen an alpha stage Native provider for .Net 2.0.

    firebird/interbase can have a steep learning curve but, in some cases, it is worth it as it is, by far, more robust than MySql.

    again, is this a multi user app or one that is just embedded in a single user application

    firebird is going to require a separate installation.
    jet is part of the the MS platform.
     




  • BradleyT

    I will go with FireBird... Thnx a lot!!!
    Is FireBird .NET provider free license
    Can I use it with my apps

  • yair_hak

    Which db has a better preformance FireBird or mdb
    Is FireBird easy to use

  • Which DB to use?