Re: [Neo4j] Deleting relationships does not reduce the storage in size

2016-06-04 Thread Cherie Pun
Just found out that I was storing the graphDb in another class and I did not update the reference to it. Sorry for spamming. Kind regards, Cherie On Saturday, 4 June 2016 18:32:28 UTC+1, Cherie Pun wrote: > > Hi, > > I wrote this snippet of code to restart the database, but it's throwing > erro

Re: [Neo4j] Deleting relationships does not reduce the storage in size

2016-06-04 Thread Cherie Pun
Hi, I wrote this snippet of code to restart the database, but it's throwing errors. > private void restartDatabase(){ > if(graphDb != null && graphDb.isAvailable(0)){ > graphDb.shutdown(); > } > graphDb = new GraphDatabaseFactory() > .newEmbedde

Re: [Neo4j] Deleting relationships does not reduce the storage in size

2016-06-04 Thread Cherie Pun
Thanks! Kind regards, Cherie On 4 June 2016 at 15:34, 'Michael Hunger' via Neo4j wrote: > Shutdown and create new, yes > > Von meinem iPhone gesendet > > Am 04.06.2016 um 14:17 schrieb Cherie Pun : > > If I am using java GraphDatabaseService, do I need to create a new > embedded database to res

Re: [Neo4j] Performance issue with 2.3.3

2016-06-04 Thread 'Michael Hunger' via Neo4j
Is x a group? And why are there two directions between user and group? With the same rel-type Von meinem iPhone gesendet > Am 04.06.2016 um 14:31 schrieb 'tgomell' via Neo4j : > > In this Special case with a Limit of 20 accounts we have a resultset of 650 > lines. > > profile match (n:i636005

Re: [Neo4j] Deleting relationships does not reduce the storage in size

2016-06-04 Thread 'Michael Hunger' via Neo4j
Shutdown and create new, yes Von meinem iPhone gesendet > Am 04.06.2016 um 14:17 schrieb Cherie Pun : > > If I am using java GraphDatabaseService, do I need to create a new embedded > database to restart it? Thanks. > > Kind regards, > Cherie > >> On 4 June 2016 at 03:01, 'Michael Hunger' via

Re: [Neo4j] Administrative GUI

2016-06-04 Thread 'Michael Hunger' via Neo4j
Do you know neo4j browser? There are all nodes and relationship-types in the left side panel Our could you outline in more detail what you mean? Von meinem iPhone gesendet > Am 04.06.2016 um 14:54 schrieb Andy : > > Is any administrative GUI for Neo4j on Windows or Linux? > If not, I want writ

[Neo4j] Administrative GUI

2016-06-04 Thread Andy
Is any administrative GUI for Neo4j on Windows or Linux? If not, I want write simple GUI. How list all elements: nodes and edges? In other (SQL) databases data is divided into databases and tables. Here is all elements in one database? -- You received this message because you are subscribed to

Re: [Neo4j] Performance issue with 2.3.3

2016-06-04 Thread 'tgomell' via Neo4j
In this Special case with a Limit of 20 accounts we have a resultset of 650 lines. profile match (n:i636005417297252034)where n.type='person' with n limit 20 match p=((n:i636005417297252034)-[:rel_member*0..]->(x:i636005417297252034)<-[:rel_member*0..]-(gg:i636005417297252034)-[:rel_member*0..

Re: [Neo4j] Deleting relationships does not reduce the storage in size

2016-06-04 Thread Cherie Pun
If I am using java GraphDatabaseService, do I need to create a new embedded database to restart it? Thanks. Kind regards, Cherie On 4 June 2016 at 03:01, 'Michael Hunger' via Neo4j wrote: > Just restart the db after deleting a lot of relationships will enable > record-reuse. > > > Am 04.06.2016

[Neo4j] Problems with Migration of DB 2.3.3 to 3.02

2016-06-04 Thread 'tgomell' via Neo4j
I want to migrate the db with this string: C:\neo4j-enterprise-3.0.2\bin>neo4j-admin.bat import --mode=database --database='graph.db' --from='C:\Program Files\migRavenDB\DB\data\graph.db' Then I start the new DataBase 3.0.2 Service on the machine but nothing. In the error.log nothing about the

Re: [Neo4j] Performance issue with 2.3.3

2016-06-04 Thread 'Michael Hunger' via Neo4j
Also, what's the max distance between a user and a group? what does your domain model look like? why do you have once (:Person)-[:rel_member]->(group) and once (group)-[:rel_member]->(person) ?? why do you need x in between ? you never use it match p=((n:Person:i636005417297252034:ProcessGroup

Re: [Neo4j] Performance issue with 2.3.3

2016-06-04 Thread 'Michael Hunger' via Neo4j
Please share the EXPLAIN plan This explodes probably into billions or trillions of paths. Some ideas: turn .type properties into labels create a label for all your conditions, e.g. :Process and use those labels instead: What type are M, GG and X ? What is the fan out across those types (min,

[Neo4j] Performance issue with 2.3.3

2016-06-04 Thread 'tgomell' via Neo4j
We have a really complex question: We want to find the ammount of Groups over all paths between all users. >From all User to all User. The Amount of users is 8.000 and the amount of all Groups is 15.000. This cypher request Needs days! Is there a way to make this faster? match p=((n:i63600541