Is it the actual store that's keeping the space or tx logs?

neo4j marks records as unused to reuse them but doesn't currently free
space on disk.

with my store-utils you can compact it but that's an offline tool.

Join our new Community Site & Forum <https://community.neo4j.com>


On Mon, Jan 7, 2019 at 3:05 PM Vaibhav Aiyar <vaibhavai...@gmail.com> wrote:

> Hi,
>
> Is there anyway to compact the store without having to shutdown NEO4J. Or
> is there a way to configure NEO4J to actually free up space after a given
> time period
>
> On Thursday, May 14, 2015 at 5:05:00 AM UTC-5, Michael Hunger wrote:
>>
>> You can run a consistency check on your graph:
>>
>>
>> http://www.markhneedham.com/blog/2014/01/22/neo4j-backup-store-copy-and-consistency-check/
>>
>> You can use my StoryCopy tool to migrate/compact your store:
>>
>> https://github.com/jexp/store-utils
>>
>> HTH
>>
>> Michael
>>
>> Am 14.05.2015 um 08:42 schrieb Vaibhav Aiyar <vaibha...@gmail.com>:
>>
>> Would that not be a waste of space? Why would it need 19G if all it needs
>> is to mark the blocks unused if there is no data?
>> We are concerned that the size may have increased due to some corruption
>> in the files.
>> We wanted to load the entire graph into memory to improve performance and
>> 19G is too large.
>>
>> On Wednesday, May 13, 2015 at 6:36:32 PM UTC-5, Michael Hunger wrote:
>>>
>>> I don't think disk space is freed, just the blocks marked as unused.
>>>
>>> And the restart will start using those blocks (for nodes and rels)
>>> For properties etc. the blocks will be reused directly.
>>>
>>> M
>>>
>>> Am 13.05.2015 um 16:28 schrieb Vaibhav Aiyar <vaibha...@gmail.com>:
>>>
>>> Hi,
>>>
>>> When does NEO4j cleanup neostore.propertystore.db.strings store file.
>>>
>>> We see huge variations in the size of the files in our three
>>> environments even though the node count and the data is similar.
>>> Below are the sizes of this files in our three environments along with
>>> node counts
>>>
>>> DEV: 19GB - 55699 nodes
>>> TEST: 7.4GB - 184023 nodes
>>> PROD: 700 MB - 258845 nodes
>>>
>>> I deleted around 3000 Nodes is DEV which have the most number of
>>> properties and restarted NEO4j.
>>> I saw a reduction in the storage space for
>>> neostore.propertystore.db.strings.id but no change in
>>> neostore.propertystore.db.strings.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Neo4j" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to neo4j+un...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Neo4j" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to neo4j+un...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to