Commit Graph

3 Commits

Author SHA1 Message Date
tobiasfaust
70f131a79c DbLog (contrib): (thanks to fuzzy)
- Event parsing method: Changed if to elseif to speed it up, added parsing support for OWL energy monitors (TRX_WEATHER), AC level command (TRX_LIGHTING), CUL_HM actuator messages. Fixed indentation levels.
  - Log method: Changed to use one transaction for writing all of the readings.
  - Get method: Changed to use bind variables with fetch (fastest way to read data), reduced the returned columns to 'timestamp' and 'value'.

  - changed index on history for postgresql


git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2976 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-03-24 12:44:46 +00:00
tobiasfaust
cff10b8783 93_DbLog.pm: MySQL: neue Definition eines Indices auf history zur schnelleren
Generierung von Plots, SQL darauf angepasst


git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2614 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-31 04:03:12 +00:00
tobiasfaust
ce78df9abf now added really the script to create the tables and indices for a postgresql database
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2176 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-24 12:03:14 +00:00