0
Declined

Data modeling with MangoDB?

Azhar Uddin 7 year бұрын updated by Michał Kołodziejski 7 year бұрын 1

I did Data Modeling training from Mindmajix.

I am new to working with Data.

So I have a lot of data based on time.

Data row for every 15 mins. Should I compute the data and store data for every 1 hour, 1 day, 1 month on the database?

if I do would this schema be good.

{
   _id: "joe",
   name: "Joe Bookreader",
   time min: [
                {
                  time: "1",
                  steps: "10"
                },
                {
                  time: "2",
                  steps: "4"
                }
              ]
   time day: [
                {
                  time: "1",
                  steps: "30"
                },
                {
                  time: "2",
                  steps: "30"
                }
              ]

 }

If you have any advice on how I can improve my data modeling knowledge with noSQL, I would be really grateful.