13 Replies - 659 Views - Last Post: 06 July 2011 - 08:05 AM Rate Topic: -----

#1 Ahmedn1  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 18
  • View blog
  • Posts: 531
  • Joined: 04-August 09

Best Database Choice

Posted 01 July 2011 - 02:46 AM

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?
Is This A Good Question/Topic? 0
  • +

Replies To: Best Database Choice

#2 Vishu Sukhdev  Icon User is offline

  • D.I.C Head

Reputation: 38
  • View blog
  • Posts: 150
  • Joined: 19-February 10

Re: Best Database Choice

Posted 01 July 2011 - 03:11 AM

Hi,
You can use MySQL
Was This Post Helpful? 0
  • +
  • -

#3 DivideByZero  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 235
  • View blog
  • Posts: 549
  • Joined: 02-December 10

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 :)
Was This Post Helpful? 0
  • +
  • -

#4 Ahmedn1  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 18
  • View blog
  • Posts: 531
  • Joined: 04-August 09

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
Was This Post Helpful? 0
  • +
  • -

#5 janne_panne  Icon User is offline

  • WinRT Dev
  • member icon

Reputation: 428
  • View blog
  • Posts: 1,047
  • Joined: 09-June 09

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.
Was This Post Helpful? 3
  • +
  • -

#6 batesy3k  Icon User is offline

  • D.I.C Regular

Reputation: 41
  • View blog
  • Posts: 299
  • Joined: 10-September 09

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...

This post has been edited by batesy3k: 01 July 2011 - 08:14 AM

Was This Post Helpful? 0
  • +
  • -

#7 jackbkjack  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 01-July 11

Re: Best Database Choice

Posted 01 July 2011 - 09:25 AM

You can use My SQL.It is good for managing large data.
Was This Post Helpful? 0
  • +
  • -

#8 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1511
  • View blog
  • Posts: 5,916
  • Joined: 21-March 08

Re: Best Database Choice

Posted 01 July 2011 - 10:17 AM

I'd probably suggest SQLite.
Was This Post Helpful? 0
  • +
  • -

#9 Curtis Rutland  Icon User is online

  • (╯°□°)╯︵ (~ .o.)~
  • member icon


Reputation: 3798
  • View blog
  • Posts: 6,405
  • Joined: 08-June 10

Re: Best Database Choice

Posted 01 July 2011 - 11:22 AM

View PostDivideByZero, 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.
Was This Post Helpful? 1
  • +
  • -

#10 Jeff H  Icon User is offline

  • D.I.C Regular

Reputation: 111
  • View blog
  • Posts: 301
  • Joined: 30-January 11

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?

This post has been edited by Jeff H: 02 July 2011 - 04:05 AM

Was This Post Helpful? 0
  • +
  • -

#11 Ahmedn1  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 18
  • View blog
  • Posts: 531
  • Joined: 04-August 09

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?
Was This Post Helpful? 0
  • +
  • -

#12 Jeff H  Icon User is offline

  • D.I.C Regular

Reputation: 111
  • View blog
  • Posts: 301
  • Joined: 30-January 11

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

This post has been edited by Jeff H: 01 July 2011 - 01:04 PM

Was This Post Helpful? 1
  • +
  • -

#13 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1511
  • View blog
  • Posts: 5,916
  • Joined: 21-March 08

Re: Best Database Choice

Posted 06 July 2011 - 04:54 AM

View PostAhmedn1, on 01 July 2011 - 03:43 PM, said:

So you guys agreed that SQLlite and SQL CE don't need to be installed
right?


That is correct. SQLite and SQLCE do not need to be installed. The databases can be packaged with the application so it doesn't require anything from the user.
Was This Post Helpful? 1
  • +
  • -

#14 Curtis Rutland  Icon User is online

  • (╯°□°)╯︵ (~ .o.)~
  • member icon


Reputation: 3798
  • View blog
  • Posts: 6,405
  • Joined: 08-June 10

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:

Posted Image

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.
Was This Post Helpful? 2
  • +
  • -

Page 1 of 1