Click here to Skip to main content
15,911,646 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to get Renamed, Deleted, and Added Columns of the Table? Pin
Eddy Vluggen5-Sep-12 5:29
professionalEddy Vluggen5-Sep-12 5:29 
QuestionRe: How to get Renamed, Deleted, and Added Columns of the Table? Pin
Osama Bin Laden 20125-Sep-12 14:53
Osama Bin Laden 20125-Sep-12 14:53 
AnswerRe: How to get Renamed, Deleted, and Added Columns of the Table? Pin
PIEBALDconsult5-Sep-12 17:18
mvePIEBALDconsult5-Sep-12 17:18 
QuestionPersistent storage of measuring results Pin
LionAM3-Sep-12 22:57
LionAM3-Sep-12 22:57 
AnswerRe: Persistent storage of measuring results Pin
Mycroft Holmes4-Sep-12 0:40
professionalMycroft Holmes4-Sep-12 0:40 
GeneralRe: Persistent storage of measuring results Pin
LionAM4-Sep-12 4:37
LionAM4-Sep-12 4:37 
AnswerRe: Persistent storage of measuring results Pin
Shameel4-Sep-12 5:50
professionalShameel4-Sep-12 5:50 
AnswerRe: Persistent storage of measuring results Pin
PIEBALDconsult4-Sep-12 5:56
mvePIEBALDconsult4-Sep-12 5:56 
As a database kind of guy, I strongly recommend a database.


LionAM wrote:
To make loading the data on startup not unnecessary slow


I asssume you do this to show a graph or similar of the recent trend, otherwise I don't see why you would load old data. A database makes this easy by allowing you to query only the recent data. You could sort the data descending by date and take only the top n records or you could query the records where the timestamp is greater than the current time minus soome number of minutes or hours. Or you could purge data out of the table after some period (perhaps after summarizing it into another for historical reasons).


Also, as I don't know what sorts of "measuring results" you are dealing with I'll pass along a concept that you may find useful. It's sort of a data compression technique whereby if the measurements don't change much you don't store every individual measurement. For instance, the temperature of a commercial oven for baking bread or cookies needs to be monitored, it can probably vary a little (let's say a tenth of a degree) from the target temperature without causing an alarm, but if it changes a whole degree (for instance) it should be noted. Furthermore, if the temperature stays close to the target temperature for hours on end (as it should) we do want to log some readings (perhaps at least every fifteen minutes). For these reasons, you may want to develop a system that will only store a reading if the difference from the previous stored reading is outside some specified range or if some specified time span has elapsed.
GeneralRe: Persistent storage of measuring results Pin
LionAM4-Sep-12 10:51
LionAM4-Sep-12 10:51 
GeneralRe: Persistent storage of measuring results Pin
PIEBALDconsult4-Sep-12 11:58
mvePIEBALDconsult4-Sep-12 11:58 
GeneralRe: Persistent storage of measuring results Pin
Eddy Vluggen4-Sep-12 21:43
professionalEddy Vluggen4-Sep-12 21:43 
GeneralRe: Persistent storage of measuring results Pin
Jörgen Andersson5-Sep-12 2:07
professionalJörgen Andersson5-Sep-12 2:07 
GeneralRe: Persistent storage of measuring results Pin
LionAM5-Sep-12 20:40
LionAM5-Sep-12 20:40 
QuestionConnect to MySQL server Pin
1.fcb191331-Aug-12 0:07
1.fcb191331-Aug-12 0:07 
AnswerRe: Connect to MySQL server Pin
Eddy Vluggen31-Aug-12 1:26
professionalEddy Vluggen31-Aug-12 1:26 
GeneralRe: Connect to MySQL server Pin
1.fcb19131-Sep-12 22:50
1.fcb19131-Sep-12 22:50 
AnswerRe: Connect to MySQL server Pin
Eddy Vluggen1-Sep-12 22:57
professionalEddy Vluggen1-Sep-12 22:57 
AnswerRe: Connect to MySQL server Pin
jschell2-Sep-12 7:51
jschell2-Sep-12 7:51 
GeneralRe: Connect to MySQL server Pin
1.fcb19134-Sep-12 6:59
1.fcb19134-Sep-12 6:59 
AnswerRe: Connect to MySQL server Pin
Paul Conrad4-Sep-12 7:14
professionalPaul Conrad4-Sep-12 7:14 
AnswerRe: Connect to MySQL server Pin
Bernhard Hiller2-Sep-12 21:09
Bernhard Hiller2-Sep-12 21:09 
AnswerRe: Connect to MySQL server Pin
Paul Conrad4-Sep-12 7:13
professionalPaul Conrad4-Sep-12 7:13 
QuestionPlease help the problem Pin
kathytran29-Aug-12 7:40
kathytran29-Aug-12 7:40 
AnswerRe: Please help the problem Pin
R. Giskard Reventlov29-Aug-12 8:31
R. Giskard Reventlov29-Aug-12 8:31 
QuestionImport excel data in SSRS Pin
Arul R Ece29-Aug-12 1:21
Arul R Ece29-Aug-12 1:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.