title: OLAP cube - PHP and MongoDB
body: <p>I need to create an analytics system. I already built the system using MognoDB and PHP but without using OLAP. Now my queries are really the best I can get, but the system is really slow because no cube. It can take a minute to load a report for the last 7 days. I really need the options of the cube - slice &amp; dice.</p>
  
  <p>So what would be the solution for me? Is there a good cube system build with MongoDB and that can insert &amp; view data via PHP? Maybe MongoDB won't be good for me? Should I use another database and start all the system from 0? What OLAP solutions there are using PHP?</p>
  
  <p>Edit: More info --
  Well, the system is like google analytics. Need to be able to know how much views in every day, need to be able to report from only a specified traffic source and country. The system needs to handle 1,000,000 unique view each day. 
  But not only count of views, there needs to be able to see how much users are returning, what is the average time for every user, etc.</p>
  
  <p>Thanks.</p>