Hi ,
Recently installed Neo4j community version, I'am not able to clear the node labels, relationship type from database information. Kindly guide me on this issue.Thank you
--
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.
--
wuqour:neo4j-enterprise-2.3.2 mh$ rm -rf test*.db
wuqour:neo4j-enterprise-2.3.2 mh$ bin/neo4j-shell -path test.db
NOTE: Local Neo4j graph database service at 'test.db'
Welcome to the Neo4j Shell! Enter 'help' for a list of commands
neo4j-sh (?)$ foreach(x in range(1,100000) | create (:Person {name:"person "+x, age : x % 100}));
+-------------------+
| No data returned. |
+-------------------+
Nodes created: 100000
Properties set: 200000
Labels added: 100000
5996 ms
neo4j-sh (?)$ unwind range(1,100000) as x match (p) where id(p) = x match (p2) where id(p2) = toInt(rand()*100000) create (p)-[:KNOWS]->(p2);
+-------------------+
| No data returned. |
+-------------------+
Relationships created: 99999
3185 ms
neo4j-sh (?)$ match (n) detach delete n;
+-------------------+
| No data returned. |
+-------------------+
Nodes deleted: 100000
Relationships deleted: 99999
1654 ms
neo4j-sh (?)$ quit
wuqour:neo4j-enterprise-2.3.2 mh$ du -sh test.db/neostore*.db
8,0K test.db/neostore.labeltokenstore.db
1,4M test.db/neostore.nodestore.db
3,9M test.db/neostore.propertystore.db
8,0K test.db/neostore.relationshipgroupstore.db
3,2M test.db/neostore.relationshipstore.db
8,0K test.db/neostore.relationshiptypestore.db
8,0K test.db/neostore.schemastore.db
wuqour:neo4j-enterprise-2.3.2 mh$ bin/neo4j-shell -path test.db
NOTE: Local Neo4j graph database service at 'test.db'
Welcome to the Neo4j Shell! Enter 'help' for a list of commands
neo4j-sh (?)$ foreach(x in range(1,100000) | create (:Person {name:"person "+x, age : x % 100}));
+-------------------+
| No data returned. |
+-------------------+
Nodes created: 100000
Properties set: 200000
Labels added: 100000
5911 ms
neo4j-sh (?)$ unwind range(1,100000) as x match (p) where id(p) = x match (p2) where id(p2) = toInt(rand()*100000) create (p)-[:KNOWS]->(p2);
+-------------------+
| No data returned. |
+-------------------+
Relationships created: 99999
1897 ms
neo4j-sh (?)$ match (n) detach delete n;
+-------------------+
| No data returned. |
+-------------------+
Nodes deleted: 100000
Relationships deleted: 99999
1415 ms
neo4j-sh (?)$ wuqour:neo4j-enterprise-2.3.2 mh$ du -sh test.db/neostore*.db
8,0K test.db/neostore.labeltokenstore.db
1,4M test.db/neostore.nodestore.db
3,9M test.db/neostore.propertystore.db
8,0K test.db/neostore.relationshipgroupstore.db
3,2M test.db/neostore.relationshipstore.db
8,0K test.db/neostore.relationshiptypestore.db
8,0K test.db/neostore.schemastore.db
--
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/nHcFTIRVOI8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.
console
Start the server as an application, running as a foreground process. Stop the server usingCTRL-C
.
2016-03-06 13:52:33.555-0600 INFO Remote interface ready and available at http://localhost:7474/
quit
^D
^C2016-03-06 13:52:50.748-0600 INFO Neo4j Server shutdown initiated by request
...
2016-03-06 13:52:50.852-0600 INFO Successfully stopped database
2016-03-06 13:52:50.852-0600 INFO Successfully shutdown database