Link to home
Start Free TrialLog in
Avatar of rwallacej
rwallacej

asked on

VB.net and databases - create new databases/results

Hi
I've a vb.net application that connects to an external device and gathers data in tab delimited forms every 2 secs. The data comes simply as a long string with 50 values tab separated for processing.
This data needs to be stored along with calculated results.
The user will create different "projects" on each run on the software, by clicking "Start recording data" to start retrieving the data every two seconds.
I'm not sure whether the data retrieved (and results calculated from it) should be dumped into an SQL server database - in which case a blank database needs created every times the user clicks "Start recording data" or
into an XML file...
or any other database for that matter.

Whats are the thoughts of experts on way to go - server 2005 or XML or other?  

If server 2005 I'd need to know how to create new replica of blank database (included in installer) each time the user clicks "Start recording data"
If as an XML file, should the file be saved each 2 seconds, or just at end of recording, or at certain  intervals?
Recording may be up to two hours, 50 fields each 2 seconds.

Thanks in advance for help and advice
ASKER CERTIFIED SOLUTION
Avatar of Daniel Wilson
Daniel Wilson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rwallacej
rwallacej

ASKER

thanks for advce.

"stick it in a database" - yeah, that's what I was thinking but wanted confirmation

"add a field" - I thought the databases could get very big , so separate databases for each run might be better?  ideally stuff would be kept in one DB though.

however, there's the issue that before each run a new build would need to be created as each run might require more fields. maybe fields can be added automatically though?
Very big ... How many GB are we talking about?

50 fields every 2 seconds for 2 hours ... That's only 1800 rows.  How long are the fields?  Assuming each field is 1 KB (which it probably isn't that big) ... that's still only a matter of MB's on each run.

After several runs, I might consider archiving the data to different TABLE(s), but would not look at running multiple DB's until I ran into 10's of GB's.

hth
thanks,
I'll go for the single dbase option for now and deal later if it gets too big....but that'll be a LONG time away
:-)