I need to build application with a database that can have more than a million records in each table
but I want to make the installation to be very simple for the clients so I don't want to use SQL server
But MS Access capabilities will not be suitable for this
So, any ideas how to deal with this database?
Best Database Choice
Page 1 of 113 Replies - 659 Views - Last Post: 06 July 2011 - 08:05 AM
Replies To: Best Database Choice
#3
Re: Best Database Choice
Posted 01 July 2011 - 06:04 AM
I haven't worked with Oracle much, but I know a lot of people that would recommend it first for a situation you're in
#4
Re: Best Database Choice
Posted 01 July 2011 - 06:17 AM
I know MySQL and Oracle
but they both have the same problem
the user must have them installed before he can install my application
but they both have the same problem
the user must have them installed before he can install my application
#5
Re: Best Database Choice
Posted 01 July 2011 - 06:30 AM
I know there are atleast two which I have some experience about and neither requires installation, just ship the DLL with rest of the project: SQLite and VistaDB. But I'm don't know how well they handle millions of records for each table. VistaDB has indexes so it might handle massive amounts of data well enough.
You can try them, just generate lots of test data. For example create a loop which uses NBuilder (http://nbuilder.org/) to generate the data and insert it into DB.
You can try them, just generate lots of test data. For example create a loop which uses NBuilder (http://nbuilder.org/) to generate the data and insert it into DB.
#6
Re: Best Database Choice
Posted 01 July 2011 - 08:12 AM
That NBuilder looks pretty sweet. Might have to give it a whirl. Only downfall is their background is quite eye-watering! Those swirls !
But back on topic: It's like saying: How long is a piece of string?
Each database have their own pros and cons against so it is quite hard to recommend a database...
But back on topic: It's like saying: How long is a piece of string?
Each database have their own pros and cons against so it is quite hard to recommend a database...
This post has been edited by batesy3k: 01 July 2011 - 08:14 AM
#7
Re: Best Database Choice
Posted 01 July 2011 - 09:25 AM
You can use My SQL.It is good for managing large data.
#9
Re: Best Database Choice
Posted 01 July 2011 - 11:22 AM
DivideByZero, on 01 July 2011 - 08:04 AM, said:
I haven't worked with Oracle much, but I know a lot of people that would recommend it first for a situation you're in 
Nobody would recommend oracle for a simple client install. Or MySQL for that matter. Use a compact DB that doesn't need any installation, like Sql Server CE, or SQLite. Sql CE is the first choice, because it's made by MS, so if you know SQL Server, SQL CE isn't that different.
#10
Re: Best Database Choice
Posted 01 July 2011 - 11:56 AM
How many tables since you say each table can have more than a million records?
Or how much data are you needing to store?
Or how much data are you needing to store?
This post has been edited by Jeff H: 02 July 2011 - 04:05 AM
#11
Re: Best Database Choice
Posted 01 July 2011 - 12:43 PM
So you guys agreed that SQLlite and SQL CE don't need to be installed
right?
right?
#12
Re: Best Database Choice
Posted 01 July 2011 - 01:03 PM
http://msdn.microsof...y/aa983326.aspx
I have never used or tried it but take a look at SqlMetal for using Linq to Sql with CE
http://geekswithblog...ql.compact.aspx
I have never used or tried it but take a look at SqlMetal for using Linq to Sql with CE
http://geekswithblog...ql.compact.aspx
This post has been edited by Jeff H: 01 July 2011 - 01:04 PM
#13
Re: Best Database Choice
Posted 06 July 2011 - 04:54 AM
#14
Re: Best Database Choice
Posted 06 July 2011 - 08:05 AM
SQL CE is the best choice, simply because it's built into VS and EF. You can add one to your project like this:

After you add, it'll offer to create a typed DataSet or an EF Model for your DB. I'd suggest using Entity Framework for it's simplicity.
Then when you create a setup package, it should include the DLL for Sql CE with the project output, if it's not already GACed on the target system.
SQLite is probably the next best choice, because it's portable like SQL CE, but it's not built right into VS. Also, I don't know if they have an EF provider for it.
Pretty much all your other options include a client-side DB install.

After you add, it'll offer to create a typed DataSet or an EF Model for your DB. I'd suggest using Entity Framework for it's simplicity.
Then when you create a setup package, it should include the DLL for Sql CE with the project output, if it's not already GACed on the target system.
SQLite is probably the next best choice, because it's portable like SQL CE, but it's not built right into VS. Also, I don't know if they have an EF provider for it.
Pretty much all your other options include a client-side DB install.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote







|