Which local database fits my situation?

寵の児 提交于 2019-12-04 13:32:26

SQLite might just fit the bill. Make sure you check out all the available wrappers as well.

Have you thought of FireBird SQL?

I'd recommend SQLite unless the database. I have experience using it and I was in the same shoes you were. The System.Data.Sqlite project is really nice and they support ADO.net 2.0 and all that fanciness. They are currently working on getting full Linq support on the wrapper as well. I recommend it for the following reasons.

  1. Low Footprint - The engine is only 700 KB or less.
  2. Scalable - It can handle fairly large databases. Order of GBs. Anything larger than this probably will require a server based database engine with LOTS of RAM.
  3. Durable - Their testing suite overs most of the code and has been proven to work on many commercial applications such as the iPhone
  4. Fast - There's very little overhead with this engine.
  5. Current - The .NET project is very up to date with the latest .NET 3.5 technology microsoft is bringing up.
  6. Portable - Can use it on embedded systems or desktop.

Check the System.Data.Sqlite project here http://sqlite.phxsoftware.com/

Check out Advantage Database Server. It has a silent install option, has a very small footprint and is easy to maintain. It has a lot of client support: ODBC, OLE DB, .net data provider, jdbc, dbi, php, etc. Royalty free local engine (just a dll that runs in-process with your application), inexpensive client/server, SQL and direct navigational table access.

The DevZone

SQL Server Compact Edition is in-proc, so there is nothing separate to install.

I don't have a lot of experience with SQLite either but I have used it a little. It is used in a LOT of situations and applications. There really are 100s of little DBs out there but I'd recommend SQLite as a starting point at least.

I can vouch for VistaDB. Another database you might want to look at is Blackfish

SQLite is very low impact and VERY well written. It is perfect for a local client database

SQLite as others have mentioned with the SQLite.net ADO.net provider, for easy .NET access to it.

I have used ScimoreDB, and wrote my appender for log4net, for my application. Have had mixed results and spent a lot of time trying to get through the documentation to get things to work as per needs.

I am moving towards SqlLite and there was a link floating around about using SubSonic with SqlLite.

It is possible to use SQL Server as a local database connecting directly to a database file. But this requires that you have sql server express installed.

Look at the default setup of ASP.Net with a Membership Provider. It will create a local file based database for the website.

Using this approach you might be ok since you can use all your familiar tools when developing.

EDIT:
I just noticed the embedded tag. If you want to run the app on Windows CE devices you could opt for SQL Server Compact. It doesn't support stored procedures AFAIK but it does support most other features of SQL Server.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!