Re: [Neo] Storage overhead
Did you shutdown Neo so logical log got removed? Check the Neo store directory for a nioneo_logical.log*. If that file exist you didn't perform a proper shutdown so a lot of information about how to recover is also stored not reflecting the real overhead. Default configuration of Neo is not optimized to store large chunks of binary data instead it is tweaked to handle small arrays and strings efficiently. The overhead should be somewhere around 30% but can be reduced by changing block size for the array store. -Johan On Sun, Jun 22, 2008 at 10:09 PM, David Montag [EMAIL PROTECTED] wrote: Hi everyone, I am thinking about storing binary data in Neo. When I ran some simple tests, there seemed to be considerable amounts of overhead. For example, when I stored 10MB of data (byte[10*1024*1024]) in a node property, var/nio increased in size from 3MB to 18MB. Does anybody have an explanation for this increase in disk usage? Does anyone have any other suggestions on how to store binary data in Neo? /David ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo] design question
Thanks, worked just fine. /anders Johan Svensson wrote: Both nodes and relationships should implement the PropertyContainer interface so no need to duplicate code. PropertyContainer interface has been added to trunk (see org.neo4j.api.core package) and will be included in the next release. -Johan On Sat, Jun 21, 2008 at 10:42 AM, Anders Nawroth [EMAIL PROTECTED] wrote: Hi! In Neoclipse we have some code duplication when it comes to handling properties. One piece of code for Nodes and one for Relationships, but other then that the code is identical. I think it's time to get rid of this duplication, but couldn't find any nice way to do this. Please help me out on this one! BTW, I added property editing capabilities to Neoclipse. For now, it assumes that you want the edited value to keep it's type. /anders ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user