Re: [Neo4j] Re: Clearing nodes

2016-03-06 Thread Michael Hunger
yes I was referring to neo4j-shell On Sun, Mar 6, 2016 at 8:04 PM, Jesse Hemingway wrote: > Maybe you're referring to `neo4j-shell`, as the suggested commands have no > effect for me with `neo4j console` (Neo4j 2.3.2 Community, OSX 10.11.3). > The docs here

Re: [Neo4j] Re: Clearing nodes

2016-03-06 Thread Jesse Hemingway
Maybe you're referring to `neo4j-shell`, as the suggested commands have no effect for me with `neo4j console` (Neo4j 2.3.2 Community, OSX 10.11.3). The docs here also state: console Start the server as an application, running as a foreground process.

Re: [Neo4j] Re: Clearing nodes

2016-03-05 Thread Michael Hunger
Clean shutdown Ie "quit" or ctrl-d Von meinem iPhone gesendet > Am 06.03.2016 um 00:47 schrieb Jesse Hemingway : > > Ok, that certainly works. That's a bit boggling -- I have quite a few indexes > and constraints, if that could have any effect. I also use the TimeTree >

Re: [Neo4j] Re: Clearing nodes

2016-03-05 Thread Michael Hunger
Interesting, it works for me: on empty db, create 100k nodes 100k rels delete everything, check sizes restart create 100k nodes 100k rels delete everything, check sizes same size on disk wuqour:neo4j-enterprise-2.3.2 mh$ rm -rf test*.db wuqour:neo4j-enterprise-2.3.2 mh$ bin/neo4j-shell -path

Re: [Neo4j] Re: Clearing nodes

2016-03-05 Thread Jesse Hemingway
This is not holding true for my setup, as I've seen my modest 10MB database grow to 250MB over the course of repeatedly testing my seeding logic, and shutting down the server many times as I made configuration changes for new modules, etc. Also, this SO article

Re: [Neo4j] Re: Clearing nodes

2016-03-05 Thread Michael Hunger
Unused recoreds are reclaimed after restart, so if you restart after cleaning out then it will. But you can also just delete the db-directory. On Fri, Mar 4, 2016 at 10:52 PM, Jesse Hemingway wrote: > I actually just delete my database if I want to reset everything to a >