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

Tokenize the field names

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Storage NYC 2019-01-14, Storage NYC 2019-01-28

      Most collections, even if they dont contain the same structure , they contain similar. So it would make a lot of sense and save a lot of space to tokenize the field names.

      When the client connects to the DB, the DB could send the token table to the client. It surely won't be big. When the client needs to serialize a field it does not have a token for, it assings a random 32 bit value to it and sends the token along with the command.

      Of course, this could be optional.