Does ObjectId type affect lookup performance?

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      If if I insert documents with `_id: ObjectId().toString()` (a 24chars string) or a base64 version of it `_id: base64(ObjectId().toString())` (16chars)

      Will this affect performance for lookups, compared to keeping the default ObjectId type?

            Assignee:
            Unassigned
            Reporter:
            Cyril Auburtin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: