I would like to create multiple disconnected nodes using a single cypher
query
The documentation says:
Create multiple nodes with a parameter for their properties. By providing
> Cypher an array of maps, it will create a node for each map.
CREATE (n { props })
RETURN n
In the neo4j r
I'm working on an application with a Neo4j back end (current version
2.0.0-RC1, but we will likely update it periodically to stay current), and
am debating how to handle usage logging.
The situation: We want to keep track of who viewed what nodes, and how many
times, in order to do things like
I have intended to create a small social network and to use both graph
database and relational database.
I intend to use django, postgre and neo4j
Graph Database store relationships between users, post or like.
Relational database store information of users, content of post.
I don't know wheth
The default number of threads for the server is 10x # of CPUs
Perhaps you should detail more how you use that server.
Cheers,
Michael
(michael)-[:SUPPORTS]->(YOU)-[:USE]->(Neo4j)
Learn Online, Offline or Read a Book (in Deutsch)
We're trading T-shirts for cool Graph Models
Am 11.03.
I want to add that the operating system is Windows 2012 Datacenter.
On Monday, March 10, 2014 3:25:18 PM UTC-8, Reihane Boghrati wrote:
>
>
> Hi,
>
> I'm running a workload and I'm observing a low CPU and network utilization
> on the PC hosting my Neo4j server.
> The disk queue is less than 1 ele
No, no need to restart the db, the code should look like this:
Transaction tx = db.beginTx();
int count=1;
for (Relationship r : relationships) {
relIndex.remove(r);
r.delete();
if (count++ % 5 == 0) {
tx.success(); tx.finish();
tx = db.beginTx();
}
}
tx.success(); tx.fin
Ok, so it will not increase the space with new insertion, I hope to see
soon this after resolving with the delete, because also if I start a new
Transaction every 50.000 elements I got the GC error. It seems that I need
to close and reopen also the graph to avoid this one. Does it keep all in
m
Tom,
I think it is an CPU issue, I only have this single change in my neo4j-shell
file:
EXTRA_JVM_ARGUMENTS="-Xmx6G -Xms6G -Xmn1G -XX:+UseConcMarkSweepGC -server"
as I don't run against server but if you run against server the performance
should be the same.
I think on your hosted server (Dig
Existing node and relationship records that are freed will of course be reused
(but only after a restart).
So if you have a sliding window and delete nodes, then restart your db before
inserting the new window and it will use the existing record blocks on disk.
Cheers,
Michael
(michael)-
Thank you for the reply.
Really cannot exist a way to reduce the disk space? I need it. So how could
I do?
I cannot reimport the data from the beginning because I have to populate
the graph like a sliding window, I need to remove the older data l and then
import newer ones.
Does exist some way t
We are planning to use Neo4J for Big Data storage where data that we might
want to store could reach hundreds of gigabytes once fully operational.
Given that we have a web application which scales horizontally (there are 3
web nodes (slaves) and 1 analytic/main server (master)) and looking into a
Neo4j is block based, it will only mark blocks as not in use but won't release
them on disk. So your deletion of relationships won't make the database smaller
on disk.
You're probably faster reimporting the data with the batch-inserter.
Did you actually index the relationships?
you have to bat
Hi everybody
I have populated my graph with nodes and relationships with the
BatchInserter. Now I need to delete a part of relationships, to reduce the
disk space of the graph. I have some problem. I am using the embedded
version of Neo4j with Java.
I am using the instruction indexRel.remov
Then you still have version conflicts. Please check again.
Cheers,
Michael
(michael)-[:SUPPORTS]->(YOU)-[:USE]->(Neo4j)
Learn Online, Offline or Read a Book (in Deutsch)
We're trading T-shirts for cool Graph Models
Am 11.03.2014 um 07:37 schrieb Kalidhakani J :
> I solved the versi
Hi Michael,
could you perhaps share your neo4j-shell for me to learn from. I'm still
very far away from the 1.6 secs that you were able to achieve.
Best,
Tom
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop re
15 matches
Mail list logo