View Single Post
recon0
Veteran Member
Join Date: Sep 2007
Location: US
Old 12-15-2009 , 19:55   Re: Source Logging and Reporting Services
Reply With Quote #10

Database Schema Update (12/15/09 4:46 PM PST)

I have added an index for the messageDT column in tbllogmessages. Queries based on that column will return up to 300 times faster (as was the case with a 37 million row table). This is basically a change from O(N) searching to O(log base 2 of N). To apply this update, run add_messagedt_index.sql (attached to the first post). The update will require MySQL to index all the rows in tbllogmessages, which could take quite awhile. If you don't want the speed increase, you do not have to apply this update.
__________________

Last edited by recon0; 12-21-2009 at 22:45.
recon0 is offline