Hello,
we are using Hostmonitor with ODBC logging in MySQL database.
When we load or test the ODBC source in Log Analyzer, Log Analyzer will freeze.
The database is greater than 50GB already. Is this a problem to Log Analyzer?
But the freeze occurs selecting only the last week in ODBC source, too.
We have emptied the database some time ago, after this it works for four days then it freezes again.
Have anyone a tip to fix this problem?
Is the size of the database a problem?
Log Analyzer is freezing
It's version 5.86
The query from ODBC logs manager:
Data source and field names are correct.
The eventtime field is of datatype datetime. Is this a problem?
The query from ODBC logs manager:
Code: Select all
select eventtime, testname, status, reply, testmethod, testid from hmlog where (eventtime>='01/25/2015') and (eventtime<='01/31/2015') order by testid, eventtime, testname, testmethod
The eventtime field is of datatype datetime. Is this a problem?
The query in browser takes a very long time.
At least the log analyzer works when I select the last day only, its nearly 1 Million data sets.
I guess the main problem is the large amount of data.
Is there any way to resolve this problem?
Can you suggest a strategy for logging and analyzing? Like logging every test (e.g. 1 minute) and deleting minutely tests after one day, deleting hourly tests after one week, and so on.
Is there a tool you can previously filter the required system and period of time easily and then query the SQL?
At least the log analyzer works when I select the last day only, its nearly 1 Million data sets.
I guess the main problem is the large amount of data.
Is there any way to resolve this problem?
Can you suggest a strategy for logging and analyzing? Like logging every test (e.g. 1 minute) and deleting minutely tests after one day, deleting hourly tests after one week, and so on.
Is there a tool you can previously filter the required system and period of time easily and then query the SQL?
>Is there any way to resolve this problem?
It depends on your needs...
- may be you don't need SQL at all? HostMonitor may record data into text, HTML or DBF file and it can change log file on regular basis, e.g. every week or every month.
- or may be you just need to make some small changes like set correct field for index? do you use eventtime field for index?
- do you really need all test results for all test items? may be you can switch to Brief logging mode?
- may be Log Visualizer will be useful for you?
http://www.ks-soft.net/hostmon.eng/lv/index.htm
Regards
Alex
It depends on your needs...
- may be you don't need SQL at all? HostMonitor may record data into text, HTML or DBF file and it can change log file on regular basis, e.g. every week or every month.
- or may be you just need to make some small changes like set correct field for index? do you use eventtime field for index?
- do you really need all test results for all test items? may be you can switch to Brief logging mode?
- may be Log Visualizer will be useful for you?
http://www.ks-soft.net/hostmon.eng/lv/index.htm
Regards
Alex
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
You may check full path to the HML file in HostMonitor title.
If you are using RCC, you may check .HML file name using menu File -> Properties.
Path to HML file is specified in hostmon.ini ("FileList" parameter).
Usually it is located in HostMonitor folder or c:\ProgramData\HostMonitor\ folder. However, it can be changed using menu File -> Save as..
If you are using RCC, you may check .HML file name using menu File -> Properties.
Path to HML file is specified in hostmon.ini ("FileList" parameter).
Usually it is located in HostMonitor folder or c:\ProgramData\HostMonitor\ folder. However, it can be changed using menu File -> Save as..