Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7703673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:30:45+00:00 2026-05-31T23:30:45+00:00

I need to create an analytics system. I already built the system using MognoDB

  • 0

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 & dice.

So what would be the solution for me? Is there a good cube system build with MongoDB and that can insert & 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?

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.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T23:30:46+00:00Added an answer on May 31, 2026 at 11:30 pm

    MongoDB isn’t built for OLAP cube-type applications. I can think of two approaches:

    1) Determine ahead of time what queries you’ll need to do, and store your data in the optimal format ahead of time. E.g., if you want to know visits per country per day, then as each visit occurs do something like:

    db.visits.update({‘country’:country, ‘day’:current_day()}, {$inc:{visits:1}})

    Repeat for each metric. Fire-and-forget updates from your application to the analytics DB will add minimal overhead to serving a request to the visitor. Then your queries will be largely precomputed.

    2) Try JasperSoft’s MongoDB backend.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a blog system with php and I need a way
Need to create a custom DNS name server using C which will check against
I need to create a 2D int array of size 800x800. But doing so
I need to create an automated process (preferably using Java) that will: Open browser
I need to create an analytics solution for a client. They have a large
I need to create a Google Analytics filter that helps me see data only
I need create custom dialog and put JPanel into it. Is it possible?
i need create an email list sending to many emails. what is best solution
I need to create a historical timeline starting from 1600's to the present day.
I need to create an XML schema that looks something like this: <xs:element name=wrapperElement>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.