Click here to Skip to main content
15,884,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Updated 8-Jul-11 12:24pm
v2
Comments
TRK3 8-Jul-11 18:34pm    
How much is "alot"? And what kind (how much) information needs to be retained?
Member 8015046 8-Jul-11 18:52pm    
Millions or Billions, but I have resorted to do speed test for each one.

1 solution

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900