Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.,

I have written an application to read data from serial port and store it in database. I want to know which database is best to use. The data rate is 9600, The data received is 20 data per second. I need to run the application for 10 hours.

I have written application in C#. I tried sql server express and sqllite which is not handling so much data well.

requesting for any suggestions for database


thanks in advance
Posted

1 solution

Probably, the "not handling so much data well" problem is more a function of your code than or the database: a 9600 baud connection is pretty slow - it's less than 1KB/sec which is less than 1/1000th of an acceptable (but slow) ADSL connection. And there are plenty of systems out there taking data at those rates, and indeed much, much faster.

So look at your code, time it, and work out what your current data throughput actually is: replace the database with the most basic form and write it direct to a binary file for testing.

Then when you have some numbers, you can start looking at where your bottleneck is - but immediately blaming database systems that work fine for others is unlikely to get you any good results!
 
Share this answer
 
Comments
Per Söderlund 20-May-14 3:38am    
I agree.
Bernhard Hiller 20-May-14 4:14am    
Exactly: after 10 hours of data reception at maximum speed, there will be just some 43 MB...

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