Open Source Olap Options
Three times in my life I was able to take a query that the client had running > 10 minutes and bring it down to under 10 seconds. In one case, some long-gone contractor decided to implement an OO system in Cold Fusion. When CF started up, his code precached the objects one-by-one -- executing several Load methods (which each kicked off several queries) for each of the 10K objects that the server needed in memory. When I looked at the code, it was apparent that he wasn't actually pulling from all that many tables, and the individual queries could simply be JOINed together. So I refactored these 40K SQL statements into 3, and, well, it speeded up. This is the consulting world equivalent of getting thrown a slow, looping softball pitch, but the client was happy.
In the other two cases, the changes were a bit more extensive. They involved replacing some type of RDBMS with an OLAP server, which precomputes aggregates (sum's, avg's etc) so they're just sitting somewhere in memory for you to request. It's a really useful technology if you're a db implementor, and I like to say it's a lot like history: know olap, or doom yourself to reinventing it.
So far, all the warehousing-type projects I've done have been on Microsoft's OLAP server, but I've been keeping an eye out for open source equivalents so that I could work similar blistering-query magic on my OSS database jobs.
The open source OLAP landscape has been pretty limited for the last few years, but things have heated up alot recently. Currently, I know about the following options:
Mondrian is a db agnostic OLAP implementation, author recently acquired/hired by Pentaho (good move Pentaho!)
Olap4All - an ISV offering ROLAP on top of MySQL (not open source, but low cost I think)
Bizgres - coming soon, a Postgres variant tuned for analytics, mentioned here a few days ago. Not sure how much of the good stuff will be open source'd and pricing is TBD
Palo - a cross-platform, multidimensional in-memory store w/client api's for php, java, .NET etc. Possibly crude on the server tools side, but pretty slick screenshots for their Excel plugin.
I just stumbled across Palo a few days ago, and it looks really promising. It seems quite complementary to open source database adopters, and the Excel plugin screenshots look extremely professional.
1:10:01 PM
|
|