Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27129

Does ObjectId type affect lookup performance?

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 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 Unassigned
            Reporter:
            caub Cyril Auburtin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: