23 questions
0
votes
1
answer
37
views
Showing edge relationships by default in memgraph
I am trying to display my graph as a whole in memgraph through query - MATCH (n)-[r]->(m) RETURN n, r, m but turns out this does return nodes and edges connected between them but does not show what ...
0
votes
0
answers
45
views
How can I find all unique sub graphs within a graph database such as memgraph?
I have a dataset of tens of thousands of directed subgraphs. The subgraphs are trees, they branch from the root node and never merge. I want to find all the unique subgraphs based on the event_type ...
1
vote
1
answer
66
views
support for strong consistency in memgraph
Does memgraph's Java client support strong consistency? I know that neo4j supports a variation called bookmarks. Does memgraph also support this? I looked at the memgraph documentation and could not ...
1
vote
1
answer
53
views
Memgraph Stream Cannot resolve conflicting transactions
I am using a locally hosted Memgraph instance and streaming CDC data from a postgres through Kafka Connect and Kafka. I have been experiencing a transaction error recently, and I haven't found a ...
2
votes
1
answer
41
views
Data Ingestion Is Slow in MemgraphLab from Kafka
I am using Memgraph Lab with Docker on a EC2 instance. I am ingesting data from Kafka. I have realised that the lag is very high.I want to decrease it as much as possible.
I tried to run the below ...
1
vote
1
answer
86
views
I want to expand all the nodes connected to a node in Memgraph using Memgraph Cypher
Basically, just like in networkx where you get all connected_components to a node, I want to replicate that in Memgeraph.
So basically if i have a node with a specific label ( lets say node named ...
0
votes
0
answers
29
views
How can I enable logs with Memgraph MAGE docker image?
I've downloaded Memgraph Lab desktop app. When I start it it says to run Memgraph using docker run -p 7687:7687 -p 7444:7444 memgraph/memgraph-mage.
This works for my, but I don't see any logs.
I ...
0
votes
1
answer
48
views
Querying for parallel edges in memgraph
starting with memgraph so it might be obvious, but struggling to find the right query to find nodes with a number of parallel connections to another.
For my use case I'm representing network devices ...
0
votes
1
answer
46
views
Memgraph trigger which only acts upon one relationship
How can I create a trigger which will automatically create a distance property on the USES relationship only? The following trigger throws an error during the CREATE statement.
create trigger ...
0
votes
0
answers
65
views
Windowing Kafka Connect Memgraph
Following the instructions to integrate Kafka in Memgraph, I realised, that the Source Connector doesn't implement a window functionality. The
"neo4j.streaming.property": "timestamp&...
0
votes
2
answers
319
views
Memgraph Broker Transport Failure registering Kafka Stream Consumer
I started Memgraph with the Confluent Kafka Platform according to the docker-compose.yml file. After that, I created a Kafka Topic called myTopic, to which the data is streamed. Now I want to ...
0
votes
0
answers
17
views
Importing cypherl with relationships deltes all nodes in Memgraph
Following advice from How to avoid "request entity too large" error? I've created two .cypherl files. One for nodes and one for relationships.
I've imported the nodes but when I import ...
0
votes
1
answer
33
views
MemgraphDB: Why is the different line used in query result?
My first query is MATCH path=(s1:Station {name: "Uhlandstraße"})-[:CONNECTED_VIA *WSHORTEST (r, n | r.time)]-(s2:Station {name: "Kurfürstenstraße"}) RETURN path; and second one is ...
0
votes
1
answer
35
views
How to assign unique SVG images to nodes based on labels in Memgraph Lab?
I need each type of node in a Memgraph Lab graph to have its own specific SVG image. For instance, nodes labeled as 'person' should display 'image1.png', and those labeled as 'place' should use '...
1
vote
2
answers
85
views
Continuous Query Evaluation with Memgraph
I am looking for a way to evalute continuous queries with memgraph. My goal is to write an application, that notifies a user as soon as an event occurs (e.g. a specific pattern is found). The ...
2
votes
1
answer
72
views
Can I calculate the distance between nodes that have longitude and latitude?
I will expand the dataset of capital cities that I have with longitude and latitude for each city. After that I would like to calculate the distance in kilometers between cities, or to calculate the ...
0
votes
1
answer
130
views
Error during instalation of MAGE on Ubuntu
I run Ubuntu version of Memgraph on AWS. I use Memgraph 2.0.12. I want to add MAGE alogirths to it. Here is a seuence of my commands. What is this mg_exceptions.hpp that seem to be missing?
ubuntu@ip-...
2
votes
1
answer
225
views
Memgraph very slow query when using neo4j java driver
My setup:
1.) memgraph in a docker image locally with 500k nodes inserted
2.) I have a query with in clause in java using neo4j driver like
MATCH (n:SomeNode) where n.compoundKey in $ids RETURN n
...
1
vote
1
answer
24
views
Can I set the map style in Memgraph Lab using GSS?
Is there a way to use GSS code to force certain map type as background? I didn't find anything related to map styles in Graph Style Script language specification.
When I open Memgraph Lab I can ...
1
vote
1
answer
26
views
Map flickers during zoom in Memgraph Lab
My query is
MATCH p = (paris:City { name: "Paris" })-[e * bfs .. 2]->(:City)
RETURN p;
but I don't think that it is important for this question. When I zoom map is shown and then goes ...
1
vote
1
answer
51
views
What is transaction behavior in Memgraph sync replication mode
I don't understand behavior when a replica is unable to confirm a transaction or experiences a timeout.
I understand that a replicationException error is thrown in such scenarios, but I'm uncertain ...
2
votes
1
answer
89
views
Issues with setting configurations in Memgraph Docker compose
I'm setting up a Memgraph Platform instance using Docker Compose. Here is my docker-compose.yml file:
version: "3"
services:
memgraph-platform:
image: "memgraph/memgraph-platform&...
2
votes
2
answers
47
views
How can I list only nodes that were not found using Cypher?
I have a list of capital cities. I want to see if I have all of them. How can I see which cities I don't have inside? My query looks like this at the moment:
OPTIONAL MATCH (n:Captial {name: 'London'})...