I have mongodb schema
{
MyProduct: "testProduct_1",
Module: "Module_1",
CreatedTime: "24-08-2009",
MyMessage: "SomeMessage"
}
However MyProduct and Module are most of the time repeated entries, so I don't want to log it every time. How can I optimise this schema so that MyProduct and Module are written only once and (CreatedTime,MyMessage) are updated every time.