Ahmad,

could you also store the properties of the hashtable as properties of the node 
itself?
How many entries are in such a hashtable ?

You might configure the block-size of the string store to a different value to 
fit your typical hashtable-size better (which would affect the storage of the 
smaller string properties).
(http://wiki.neo4j.org/content/Configuration_Settings#Block_size)

For the small string properties, it is perhaps possible to fit them into a 
short-string?
(http://journal.thobe.org/2011/02/better-support-for-short-strings-in.html)

Unfortunately your output of "du" only shows directories.

What would be most interesting here is a:

ls -lh data/graph.db

Thanks

Michael


Am 08.08.2011 um 16:29 schrieb ahmad.bakr:

> I am using Neo4j REST API, so whenever i need to store data in Neo4j, i have
> to convert it to its JSON representation and send it to Neo4j. As i
> mentioned earlier, each node has three properties, the first one and the
> largest one holds a JSON representation of a HashTable, it's stored as
> string (UTF-8 encoding) and the average length is 3000 chars, on the other
> hand, the other two properties are too small (from 3-20 chars).
> I strongly believe that the size is increased because the JSON
> representation of hash table adds extra chars (double the size at least). So
> it might be a way to reduce the size if i can find another representation to
> hash table using REST API.
> 
> 
> 
> 
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Neo4j-Disk-Space-Usage-tp3235564p3235722.html
> Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user

_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to