log database for fast log archiving, realtime compression, and adhoc query