Questions tagged [redisgraph]
97 questions
7
votes
1 answer
Redis Graph: Merge on existing nodes
Imagine that two nodes, (:USER {name: "John"}) and (:AGE {name: "28"}), exist. Now, the following query is ok with Neo4j
MATCH (u:USER {name: "John"})
MATCH (a:AGE {name: "28"})
MERGE (u)-[:IS]->(a)
and creates the IS relationship between the two…

Rikard Olsson
- 841
- 1
- 7
- 28
3
votes
1 answer
JedisConnectionException Read timed out intermittently
My application is running on ECS cluster and Redis is ap part of docker on ECS .
The application runs fine for a week or more but all of a sudden it started throwing Time out exception .
The issue reported in below block of query
api.query("MATCH…

Atharv Thakur
- 671
- 3
- 21
- 39
3
votes
1 answer
Increment a node attribute in RedisGraph
In vanilla Redis I can INCR a numeric key to increase it by one. Can I do the same with a RedisGraph attribute?

JRideout
- 1,635
- 11
- 16
3
votes
2 answers
Optimizing Redis-Graph query performance (match)
I want to save a large graph in Redis and was trying to accomplish this using RedisGraph. To test this I was creating a test-graph first to check the performance characteristics.
The graph is rather small for the purposes we need.
Vertices: about…

Tom P.
- 390
- 3
- 12
2
votes
1 answer
Cypher BFS with multiple Relations in Path
I'd like to model autonomous systems and their relationships in Graph Database (memgraph-db)
There are two different kinds of relationships that can exist between nodes:
undirected peer2peer relationships (edges without arrows in image)
directed…

xuma202
- 1,074
- 1
- 10
- 22
2
votes
0 answers
RedisInsight: Configuring graph visual display/results?
Is there a way to configure the display of RedisGraph results in RedisInsight.
May be an option to edit the CSS directly is good too.
The reasons :
The color of the nodes is awful
The font-size is too small
nice to be able to change color of nodes…

sten
- 7,028
- 9
- 41
- 63
2
votes
1 answer
How to convert Redisgraph to networkx graph to be used in Node2vec algorithm?
I have created a Redisgraph and I am able to execute queries on it using Redisinsight and redis-cli. Now, I want to create graph-embeddings using Node2vec. But, I am not able to pass redisgraph in Node2vec(). It is showing error that the passed…

Harshit Gupta
- 141
- 3
2
votes
2 answers
(error) ERR unknown command 'GRAPH.QUERY' in RedisGraph
I don't understand why RedisGraph command 'GRAPH.QUERY' doesn't work, i've downloaded and installed Redis using this tutorial. when i test RedisGraph by inserting this command:
GRAPH.QUERY MotoGP "CREATE (:Rider {name:'Valentino…

BigNoob
- 21
- 2
2
votes
1 answer
Problem loading saved `graphdata` back into a redisgraph instance with Python
I want to use redisgraph-py to load a saved graph back into a Graph object. How do I load data with redis-py that's stored as type graphdata?
I'm running the redisgraph docker image and have no problems seeing the graph among the keys. I'm new to…

optical_anathema
- 118
- 1
- 9
1
vote
0 answers
Redis crashing and not sure why
I'm attempting to load quite a bit of RedisGraph data using the bulk loader - something like 600k nodes and edges.
I'm hoping someone with more familiarity can help me debug this. This Redis instance is running in a kubernetes cluster.
=== REDIS BUG…

JohnTheWayne
- 47
- 1
- 5
1
vote
1 answer
Redis GRAPH | unable to set TTL to the node and edge created in redis graph via python
I am using redis graph in my django project to save huge number of data nodes. I am not able to set the expire time of these nodes so the redis data keeps on increasing.
I do not want to set a TTL in configuration as different nodes can have…

Himanshu Saini
- 11
- 1
1
vote
1 answer
Cypher: slow query optimization
I am using redisgraph with a custom implementation of ioredis.
The query runs 3 to 6 seconds on a database that has millions of nodes. It basically filters (b:brand) by different relationship counts by adding the following match and where multiple…

kakakakakakakk
- 467
- 10
- 31
1
vote
1 answer
How to keep redisgraph memory usage down?
We want to store 500k nodes in a RedisGraph (Tweets, Users, Hashtags) with Edges (wrote, mentioned, linked).
redisgraph-sizing-calculator estaminated far less than 1 GB of RAM for everything.
But with about 5000 nodes RedisGraph uses already over 2…

schumidu
- 11
- 2
1
vote
0 answers
Is there a way to optimize this RedisGraph query?
I have this query "Get Recommended/Similar Products" on both RedisGraph and ArangoDB, and RedisGraph is showing significant slow execution time in comparison to ArangoDB. Although RedisGraph benchmarks show that it should have a better performance…

eman
- 11
- 3
1
vote
1 answer
In Redisgraph, how can I store the numeric value of 0?
I'm using Redisgraph. I'm using this query:
MERGE (p:Person { age: 0 } )
RETURN p
But what I get is age: "".
If I query:
MERGE (p:Person { age: 12 } )
RETURN p
This correctly store age: 12 (without quotes).
How can I store the numeric value of…

albertoSpinella
- 45
- 6