Flight Recorder?
Aug 24, 2000
Hi,
I heard that the is a something called flight recorder in SQLServer7, which records last 100 queries... in it...
Can someone tell me how to set it up.... Is there any documentation on that,,which you know....
thanks.
jessi..
View 2 Replies
Mar 15, 2007
We want to use SqlServer Express as a data recorder for a piece of equipment. The purpose is to store all possible data values the equipment generates for a length of time so that if a problem occurs, we can search through the data to see what happened. The data is floating point numbers, like temperatures, etc.
For example, there are 200 sensors on the equipment. Every second, we want to store the 200 sensor values. The database would be one big table with 200 columns for the sensors and each second we write a row of data. Every day, the equipment would delete data older than 30 days, so that the database doesn't grow past a certain size.
Questions:
1. Any obvious reason we can't do this?
2. 30 days * 200 values * 4 bytes/value creates a 2 GB database. SqlServer Express should be able to handle that, right?
3. The equipment is running at a customer site. If the customer has a problem, we would like to be able to say to them something like, "Retrieve 3 hours of data starting last Monday at noon for Sensors A, B, and C and email it to us." We plan to give them an application that will let them put in a time range and select which sensors; it will search the database, collect the resulting data and put it in a file to send to us. Any recommendations on what format the file be in? Text? XML? Is there an obvious format that one uses to store a chunk of data from a database in?
The number and types of sensors will be different on each piece of equipment, so we don't have a predefined table or report format, we have to create it on the fly.
Thanks in advance for your thoughts.
View 6 Replies
View Related