At: http://www.10gen.com/presentations/webinar/real-time-analytics-with-mongodb slide
“Pre-Aggregation“. What are:
metadata: {
date: '...'
site: '...'
}
hourly: {
"0": 2312,
"1": 271235
...
}
Are these arrays inside a document?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
Yes, that’s a sample document from a collection, with arrays or hashes stored in attributes. There’s a great O’Reilly book that describes this technique (basically, nesting like that helps speed up searching within the document.):
http://shop.oreilly.com/product/0636920019893.do
Look for “Tip 26: Create hierarchical documents for faster scans”