I am just wondering about the size of data types on disk.
We need a flag for (potentially) a lot of nodes, it is a boolean (0|1) flag. So I would use a short key.
Should I use boolean (true|false) or numeric (1|0) value for this in order to save space on disc?
This page is crucial for this topic, but is does not say much regarding used space, bits and bytes:
The property types:
- Number, an abstract type, which has the subtypes Integer and Float
- String
- Boolean
Java Driver
I can get int, long, number and boolean by using the Java Driver. But I have no clue, which one is indicated in which case and what they mean exactly regarding their size.