Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Pre-aggregation Question
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Fumiko  
View profile  
 More options Oct 5 2012, 12:54 pm
From: Fumiko <fhanre...@gmail.com>
Date: Fri, 5 Oct 2012 09:54:28 -0700 (PDT)
Local: Fri, Oct 5 2012 12:54 pm
Subject: Pre-aggregation Question

Hi,

I'm new to mongodb and trying to use it for reporting taking some data from
MySQL (e.g. fetch-and-modify as a purchase is made).  There are several
filters to the report such as product category id, gender, country,
affiliate, etc.  I'm thinking of two ways.  One is
{ _id : today,
  sale_amount : 100.00,
  gender : ,
  country : ,
...... }
for each purchase (without pre-aggregation).  Another one is
{ _id : { date : today, gender :    , country :    , (more filters) },
  sale_amount : 100.00,
  sale_count : 1 }

for each combination of filters (with pre-aggregation). An example of what
we need to see in the reporting is "Sales of product A per day made by male
in some country in the last 90 days."
If somebody can give me advice on how pre-aggregation should be done in
this example, I'd highly appreciate it.
Thank you in advance.

Fumiko


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.