Store field one time like an id?

Hello,

The contexte is follow it :

5 millions log lines are upload with some fields.

Among these fields, one is often the same.

I ask myself this question, it's possible to store field one time, Under the form field => id ?

it's allow to save disk space, Because instead of saving X times the same fields, This field is saved only once

And a translation field => id is made? You see what I want to do?

Thank you for your help !

This isn't possible natively, you would need to have a client that checked for existing duplication and then updated accordingly.

I believe Elasticsearch stores this type of data quite efficiently, so there may be less gain than you anticipate for your alternate solution.