cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Data type for a single char flags

What is data type to be used for flags , which are mostly a single character. I understand using string would be costing more in terms of storage.

1 REPLY 1

Strings are fine as they are encoded in compressed storage anyway with only relevant bits for the representation. That even works with arrays of strings.

https://neo4j.com/docs/operations-manual/current/performance/property-compression/

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online