Hi,
I have c# service application which parse exchange message tracking logs. I'm confused about application speed. 10MB file logparser processedapproximately in 2 minutes. When I execute identical query in logparser command window processing are 3 sec.
There is my code:
ILogRecordset LogList = null; ILogRecord LogRecord = null; LogQueryClassClass LogWorker = new LogQueryClassClass(); COMCSVInputContextClassClass LogParserInput = new COMCSVInputContextClassClass(); LogList = LogWorker.Execute(String.Format("SELECT * FROM '{0}'", MessageTrackingLogsPath, LogParserInput); for (; !LogList.atEnd(); LogList.moveNext()) { LogRecord = LogList.getRecord(); }
I have 60GB of log files and 2-3minutes per file for me is not acceptable. Any ideas how to speed up application?