Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Embedded C# SQL .NET SQL-Server , +
I am a CS student who is becoming a sophomore. Currently I am working as a summer intern and I need help. My supervisor is ok for me using this website because he is busy with his own work. So I am only doing trivial work.
 
I have a class library that has a web refrence of my web service I made.
He told me that this web service is going to be used alot.
 
So I made the web service and I needed it to retain it's information through OS refreshing the service. So I made an SQL server Database. He said he is worried that the SQL server Database might be the bottleneck of the program. He said, try to make it so we don't have to use a database. And he said something about memory.
 
So my question here is. Which is the best choice to use if I need something to be very fast and use the least amount of memory so the server don't crash.
 
SQL server Database? or
An embedded database engine (DBF.NET Link[^])? or
In-memory database (SQLite Link[^])
Posted 8-Jul-11 13:20pm
Edited 8-Jul-11 13:24pm
v2
Comments
TRK3 at 8-Jul-11 18:34pm
   
How much is "alot"? And what kind (how much) information needs to be retained?
Member 8015046 at 8-Jul-11 18:52pm
   
Millions or Billions, but I have resorted to do speed test for each one.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

The only reason I can see for it to be a bottleneck is if you store big files in it and have a lot of users. I would expect SQL Server to outperform the other options you mention. If you keep your SQL simple, if you use SQL Server and have problems with it, you can move your DB to another type later and see how it performs.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 6,803
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,421
3 Manas Bhardwaj 4,841
4 Maciej Los 4,330


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 8 Jul 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100