Moditha Hewasinghage
2018-11-08 11:30:09 UTC
Hi,
I have asked the question on the wired tigr group as well but i think this
will be a better audience.
Can anyone explain me or direct me for the reason behind storing the
primary id separately in MongoDB when using wired tiger. If the key of the
b-tree for the storage is the primary id itself wouldn't it be redundant to
store the primary Id separately ? I understand that this could be the case
for a secondary index to store it separately. But why do so for the primary
index ?
Moreover, is there a way to see the actual statistics of the b-tree such as
the depth of the tree, size of a leaf and internal nodes instead of the
maximum values ? And is the b-tree a clustered index or not ?
Thank you,
Regards,
Moditha.
I have asked the question on the wired tigr group as well but i think this
will be a better audience.
Can anyone explain me or direct me for the reason behind storing the
primary id separately in MongoDB when using wired tiger. If the key of the
b-tree for the storage is the primary id itself wouldn't it be redundant to
store the primary Id separately ? I understand that this could be the case
for a secondary index to store it separately. But why do so for the primary
index ?
Moreover, is there a way to see the actual statistics of the b-tree such as
the depth of the tree, size of a leaf and internal nodes instead of the
maximum values ? And is the b-tree a clustered index or not ?
Thank you,
Regards,
Moditha.
--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-dev+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-dev/66e95644-cc56-4dc3-a97a-707675ca6902%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-dev+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-dev/66e95644-cc56-4dc3-a97a-707675ca6902%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.