[DOCS-1101] Optimization for Storing BinData Efficiently Created: 07/Feb/13  Updated: 04/Mar/15  Due: 15/Mar/13  Resolved: 19/Mar/13

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.2

Type: Task Priority: Major - P3
Reporter: Sam Kleinman (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: index, indexes, indexing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 48 weeks ago

 Description   

that index keys that are BinData type are more efficiently packed if:

subtype value is in the range of 0-7 or 128-135
length of the byte array is 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 20,
24, 32

other sizes are fine but these are particularly efficient. the idea is
that say you want to store a UUID. that would be length 16, subtype 4, and
would be stored in a b-tree index more compactly that the pure bson spec's
representation.



 Comments   
Comment by auto [ 20/Mar/13 ]

Author:

{u'date': u'2013-03-19T19:29:33Z', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-1101 BinData index storage

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/ecafba6027b86225ea375f8e8089e2ba5ad6e7e8

Comment by auto [ 20/Mar/13 ]

Author:

{u'date': u'2013-03-19T19:29:33Z', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-1101 BinData index storage

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: v2.2
https://github.com/mongodb/docs/commit/37cb2850da7a1d879d39ed287b38a0f55c7fb228

Generated at Thu Feb 08 07:40:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.