Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



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
 
 
Register now for full access!
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.22315 seconds with 12 queries