Hi All
I see the RU is impacted due to retrieved document size as per the documentation. Is it the size of stored document or the result of a query response. I have a document with lot of entries under the nested level. If I retrieve only the property at level 1 will it reduce the RU?
For example the document is show below. Consider the association level has more than 15000 entries
Blockquote
{
"name": "hi",
"data":"demo",
"associations": [
{
"name": "assoc1"
},
{
"name": "assoc2"
},
{
"name": "assoc3"
},
{
"name": "assoc4"
},
{
"name": "assoc5"
}
]
}
Blockquote
Wil there a difference in RU between the two mongo queries
Query without projection:
db.getCollection("oracle").find({"name":"hi"})
Query with projection:
db.getCollection("oracle").find( {"name":"hi"} , {"data":true} )
I noticed a change in RU between this two query. But I didn't see this mentioned in the document I searched.
Thanks
Guru