If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Help Logging Time-Series Data

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-30-09, 02:58
SeaWolf SeaWolf is offline
Registered User
 
Join Date: Sep 2009
Posts: 2
Help Logging Time-Series Data

Hi,

I am setting up a database in MySQL to log some time-series data from a HMI program. I am wondering about the parameters to use to get the pest performance. (I know that a time-series database would be a better option but for the moment I have to use MySQL)

These are the parameters i have used so far:
Code:
			vstrSQLQuery = "CREATE TABLE IF NOT EXISTS " & vstrUnitAnalogLogTable(vintUnitNr) & " ("
			vstrSQLQuery = vstrSQLQuery & "Time_Stamp datetime NOT NULL default '0000-00-00 00:00:00',"
			vstrSQLQuery = vstrSQLQuery & " PRIMARY KEY(Time_Stamp)) ENGINE=MyISAM DEFAULT CHARSET=latin1;"
and I have been logging the data as "fload defult NULL".

Any suggestions?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On