Reply
Help Logging Time-Series Data in MySQL DB
Old 10-01-2009, 03:50 AM Help Logging Time-Series Data in MySQL DB
Junior Talker

Posts: 1
Name: Magnus
Trades: 0
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?
SeaWolf is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Reply     « Reply to Help Logging Time-Series Data in MySQL DB
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.09790 seconds with 13 queries