or the client
> (browser)?
>
> The backend sends usage data once a day.
> The client has a cloud sync which might send data more often if you have
> enabled it.
>
> Michael
>
>
>
> On Tue, Jan 24, 2017 at 5:02 AM, frandro >
> wrote:
>
>> I'm
I'm currently learning neo4j with version of 3.1.1.
Neo4j seems to send some data about 1MB to somewhere in 10-minute intervals.
Is this true?
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails fr
I'm using neo4j 2.2.1.
I deleted 243,748 unnecessary edges.
But the problem is that the deletion does not return the size which the
edges would take.
The size of the following files are highly increased though I expected it'd
be decreased.
*-rw-r--r-- 1 root root 369 May 7 16:06 neostore
I used to code in neo4j 2.1.x for batch within batch as following.
However, the code throws a NotInTransactionException exception in neo4j
2.2.x.
Is this code wrong from 2.2.x?
Transaction tx = mGraphDb.beginTx();
try
{
while(itor.hasNext())
{
// DO SOMETHING
if (count % BATCH_SIZE_GDB == 0)
{
The following code newly begins transaction each 1000 batch job.
Is the following code correct?
Do I have to invoke the tx.close() method each 1000 batch job in the middle?
It seems there's no problem without calling the method.
What are success() and close() for? It's confusing.
Transaction t
niversal -- and easy.
>
>
> On 08/28/2014 06:29 PM, Frandro wrote:
>
> Logical logs are big files as you know.
>
> I'd like to separate them from the database file as follows since SSD
> costs a lot.
>
> Graph DB main files are stored in an SSD partition.
>
Logical logs are big files as you know.
I'd like to separate them from the database file as follows since SSD costs
a lot.
Graph DB main files are stored in an SSD partition.
Logical log files are stored in a HDD partition.
Is it possible?
--
You received this message because you are subscri
Let's assume that there's only a node. (params: node type, property,
property's value)
It seems that there's a method named findNodesByLabelAndProperty()
in GraphDatabaseService.
But the method returns Iterable, which implies we can get a collection by
the method.
I defined my own method for
Let's assume there's a property named age.
Create an index on the property for fast retrieval.
MATCH (user:User) where user.age=30 return user
That should work.
But I'd like to use comparison like this.
MATCH (user:User) where user.age > 30 return user
Is that supposed to work? It does not see
Self-answer:
I had to include the following jars.
neo4j_backup, neo4j-cluster, neo4j-com, netty
2014년 8월 9일 토요일 오후 4시 9분 3초 UTC+9, Frandro 님의 말:
>
> According to http://docs.neo4j.org/chunked/stable/operations-backup.html,
> it seems that neo4j is running as a server on a listening
According to http://docs.neo4j.org/chunked/stable/operations-backup.html,
it seems that neo4j is running as a server on a listening port for backup.
When I use it as an embedded database, there's no listening port.
How come it says backup is possible for embedded?
To my knowledge, embedded databa
I decided to use embedded mode for better performance rather than rest API.
But the problem is that a process on another host can't communicate with
neo4j since neo4j is not running on an IP.
What's a recommended method of remote calls between the processes?
And I have to think of extending it l
In my case, as the edges of a node grow the performance becomes worse.
My use case includes traversing all neighbor nodes and their neighbor
nodes. But the problem is that their relations of two types are growing.
I've read the following board.
https://groups.google.com/forum/#!searchin/neo4j/per
I'd like to traverse all the nodes within a specific depth using traversal
framework.
The start node (userNode) is uo.
TraversalDescription friendsTraversal = graphDb.traversalDescription()
.evaluator(Evaluators.excludeStartPosition())
.evaluator(Evaluators.toDepth
I'd like to traverse all the nodes within a specific depth using traverse
traverse.
The start node (userNode) is uo.
TraversalDescription friendsTraversal = graphDb.traversalDescription()
.evaluator(Evaluators.excludeStartPosition())
.evaluator(Evaluators.toDepth(4
I need to get the count of friends between 2 and 4 depths for all nodes
with the following query.
String query = String.format("START src=node(%d) MATCH
src-[:KNOWS*2..4]-dest WHERE NOT(src-[:KNOWS*0..1]-dest) RETURN
count(DISTINCT id(dest)) as count_friends", nodeId);
However, the problem is
> - use match not where
>
> START n1=node({id1}), n2=node({id2})
>
> match (n1)-[:%s]-(n2)
>
> RETURN true
>
> Limit 1
>
> Or rather for 2.x
>
> match (n1)-[:%s]-(n2)
>
> Where id(n1)={id1} and id(n2)={id2}
>
> RETURN true
>
> Limit 1
>
> Se
The following query is that I use to check existence of an edge between the
two nodes, n1 and n2.
It seems the query costs a lot.
Is this optimized or not? Is there a better way to find it out?
String query = String.format("START n1=node(%d), n2=node(%d) WHERE
n1-[:%s]-n2 RETURN count(*) as co
There's a recommendation
from http://docs.neo4j.org/chunked/stable/configuration-jvm.html
In production, Neo4j should run on a multi core/CPU platform with the JVM
in server mode.
I've been thinking of Neo4j running in embedded mode for better speed.
Should I run it in server mode?
--
You r
;
>
> if (!result) {
> makeKnowsEdge(startNode, endNode);
> tx.success();
> }
>
> should do it. you can't deadlock against yourself if you only create one
> transaction ;)
>
> - Lasse
>
>
>
> On Thu, Jul 3, 2014 at 1:09 PM, Frandro
> > wrote:
>
the parameters are a start node and end node.
I'd like to check there's an edge named 'KNOWS' between them and connect
them with the edge.
It's written in my java code as follows.
Transaction tx = graphDb.beginTx();
boolean result = checkIfKnowsEdgeExists(startNode, endNode));
tx.success();
tx.c
With the following query, I get two rows filled with nodes.
START src=node(38), dest=node(24) MATCH p=src-[:KNOWS*1..6]-dest RETURN
filter(x IN nodes(p) WHERE x <> src and x <> dest)
[Node[39]{name:"KX"},Node[15]{name:"QQ"},Node[29]{name:"QP"},Node[26]{name:"ux"}]
[Node[39]{name:"KX"},Node[15]{n
I'd like to get connected nodes from 2-depths to 3-depths with KNOWS edges.
The cypher query is like this.
START src=node(100) MATCH src-[:KNOWS*2..3]-dest RETURN DISTINCT dest.name
But the query results include 1-depth nodes since they actually can be
2-depth nodes in a connected graph.
How to
I'm comparing performance of cypher queries between REST API and embedded
DB.
The cypher querry is as follows. The query returns 2-depth friends.
MATCH src-[:KNOWS*1..2]-dest
WHERE src.name="me"
RETURN DISTINCT dest.name
I created about 1,000 threads and compared the results.
Embedded DB uses
I'm implementing an SNS service. A important feature I need is to get
friend nodes within a specific depth.
For example, friends can be 1-depth friends, 2-depth friends (including
1-depth friends) and 3-depth friends (including 1~2 depth friends).
The operation can be heavy so the results should
I'm implementing an SNS service. A important feature I need is to get
friend nodes within a specific depth.
For example, friends can be 1-depth friends, 2-depth friends and 3-depth
friends.
The operation can be heavy so the results should be split into multiple
parts.
For 2-depth friends, the p
The cypher is as follows.
MATCH src-[:KNOWS*1..3]-dest WHERE src.name = 'ux' RETURN COUNT(dest.name)
AS COUNT
The following is the result of ExecutionResult.dumpToString(). It's
returned with ExecutionEngine.
+---+
| COUNT |
+---+
| 11|
+---+
How do I access the value of an cou
I have a question about whether we have to buy a license of Neo4j or not
for our software. We're going to develop an online service for a mobile app
and web site.
Which edition we can use does not matter. Community edition is enough.
We just can't afford the price cause we will not make profits
I decided to use embedded database because its performance.
But the problem is its not able to be accessed when it's being connected
via http.
I also want to connect to query in Cypher when the embedded database is
being used by a process.
Is there any way to do it? or is it impossible?
--
I've heard that embedded database mode is faster than server mode accessed
via REST API, right?
There can be a case in which a great number of users try to simultaneously
get data from DB and
the database should be separated the main system because of lack of
resources, which means neo4j is on
Should I use JDK 7 x64 for neo4j x64?
Is there any problem when I use JDK 7 x86 for neo4j x64?
--
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...@google
I'm trying to insert a number of nodes using Java REST binding.
This example is from the BatchRestAPITest class in
java-rest-binding-neo4j-rest-graphdb-2.0.0-M06.
In the for loop, i is from 1 to 394. Within this scope, there's no problem.
When it's increased to 395 and more, an Exception is thr
j.org/chunked/milestone/rest-api-transactional.html
>
>
> On 9 February 2014 00:37, frandro > wrote:
>
>> I need to insert a million nodes with a batch. The performance of using
>> RestGraphDatabase is horrible.
>> So I'm trying it with a JDBC driver from
&g
I need to insert a million nodes with a batch. The performance of using
RestGraphDatabase is horrible.
So I'm trying it with a JDBC driver from
http://www.neo4j.org/develop/tools/jdbc.
It seems the JDBC driver does not support batch processing.
Neo4jDatabaseMetaData.supportsBatchUpdates() retu
I just made a node in Cypher like as CREATE (S:User {name:"S"})
I'd like to get the name by querying with JDBC.
The printed result is name: {"name":"S"}. Why isn't it name: S?
What's wrong? Thanks in advance.
The code is as follows.
driver=new Driver();
prop=new Properties();
try {
co
I'd like to do jobs in Java so I've used an RestCypherQueryEngine instance.
My instance of neo4j is a server which has an IP to connect to.
What's the difference between using jdbc and an RestCypherQueryEngine
instance?
Thanks in advance.
--
You received this message because you are subscribe
label = DynamicLabel.label(type);
> > try (Transaction tx = graphDB.beginTx())
> > {
> for (String value : values) {
> Node createdNode = graphDB.createNode(label);
> >
> > createdNode.setProperty(key, value);
> >
Dear all,
I'm just testing much work how much Neo4j can endure.
I'm planning to make 1 million nodes and relations more than the nodes.
I coded a method that creates a node as following and a caller to it in a
for loop to create nodes as many as specified in the for loop.
The problem is that i
38 matches
Mail list logo