Questions tagged [memgraphdb]

Use this tag for questions related to Memgraph streaming graph database.

Memgraph is an open source graph database built for real time streaming data, compatible with Neo4j. It is an in-memory graph database that uses Cypher as a query language. Memgraph can be extended with graph algorithms that are part of Memgraph Advanced Graph Extensions (MAGE). Graphs can be visualized using Memgraph Lab application.

390 questions
0
votes
1 answer

How can I migrate MySQL database to Memgraph?

How can I migrate MySQL database to Memgraph? Do I need to dump the database in some format and then import it?
KWriter
  • 1,024
  • 4
  • 22
0
votes
1 answer

How can I import data into Memgraph from remote JSON file?

I know how to import data from the local JSON file, but can the same thing be done for the file that is stored in a remote location? My JSON file is located on a remote server, and it can be accessed via HTTPS protocol. Here is what the file…
KWriter
  • 1,024
  • 4
  • 22
0
votes
1 answer

How can I import data into Memgraph from local JSON file?

I have data that I want to import into the database in JSON format. I want to import parts of that data as graph objects: nodes or relationships. My JSON file looks like this: { "first_name": "Jessica", "last_name": "Rabbit", "pets": ["dog",…
KWriter
  • 1,024
  • 4
  • 22
0
votes
1 answer

How to import data in .cypherl format to a Memgraph that runs in Docker?

I have a Memgraph installed using docker. I didn't use Memgraph Platform docker image, so I don't have a Memgraph Lab. I have data in .cypherl format. How can I import it into Memgraph?
KWriter
  • 1,024
  • 4
  • 22
0
votes
1 answer

How to import data in .cypherl format using mgconsole to a Memgraph that runs in WSL?

I have a Memgraph running inside WSL (Ubuntu distribution). I have the data in .cypherl format. I don't possibility to connect with Memgraph Lab to this instance. How can I import my data?
KWriter
  • 1,024
  • 4
  • 22
0
votes
1 answer

How can I connect to Memgraph Cloud from Python

I have Memgraph Lab installed on my computer as well as mgconsole. I know how to connect to Memgraph Cloud using them, but I'd like to connect to them using Python. How can I do that?
KWriter
  • 1,024
  • 4
  • 22
0
votes
1 answer

How do you define direction of relationship using GQLAlchemy and can it be undirected/bidirectional?

When I write Cypher query, I can set the direction of the relationship: CREATE (:Country {name: 'France'})<-[l:WORKING_IN]-(p)-[w:LIVING_IN]->(:Country {name: 'Germany'}) I know that with GQLAlchemy I need to use the methods to() and from() after…
KWriter
  • 1,024
  • 4
  • 22
0
votes
1 answer

When creating a Kafka stream with GQLAlchemy which arguments are required?

I've taken a look at the documentation on creating Kafka streams using GQLAlchemy, but I don't get which parameters are optional and which ones are required.
KWriter
  • 1,024
  • 4
  • 22
0
votes
1 answer

How can I delete relationships belonging to a node using Cypher in Memgraph?

I have a node, and I want to delete all of the relationships for that node. I've tried to use MATCH (node) DELETE node; but I get an error. What am I doing wrong?
KWriter
  • 1,024
  • 4
  • 22
0
votes
1 answer

How can I create a node and a relationship in the same statement when loading a CSV file?

How can I create a node and a relationship in Memgraph in the same statement when loading a CSV file? For example: company(short_name) ← :employed - employee (emp_id) employee.csv looks like this: emp_id, name And the desired behavior would be…
MPesi
  • 212
  • 8
0
votes
1 answer

How to parse Memgraph audit log?

I've located my audit logs in /audit/audit.log. I can also see older logs there (they are gziped). Here is what my log file looks like: 1551376833.225395,127.0.0.1,admin,"MATCH (n) DETACH DELETE n","{}" 1551376833.257825,127.0.0.1,admin,"CREATE (n…
KWriter
  • 1,024
  • 4
  • 22
0
votes
1 answer

Can I connect to Memgraph from Java?

I've installed the Memgraph platform using Docker. What do I need to do to connect to Memgrpah from Java? I use Java driver. I can't run the program. I've tried to use the following code, but it doesn't work for me: import…
KWriter
  • 1,024
  • 4
  • 22
0
votes
1 answer

How can I import data into Memgraph Cloud?

I want to import a CSV file into Memgraph Cloud. I'm using 2GB free instance. I tried to use LOAD CSV for a file located on AWS S3, but Memgraph Lab returns "Query failed: Load CSV not allowed on this instance because it was disabled by a…
KWriter
  • 1,024
  • 4
  • 22
0
votes
1 answer

How can I connect to Memgraph from my C# application?

I have data stored in dockerized Memgraph database. How can I connect from my C# app to the database?
KWriter
  • 1,024
  • 4
  • 22
0
votes
1 answer

What happens once a graph exceeds the RAM available to Memgraph?

What happens once a graph exceeds the available RAM. Persistence is guaranteed through snapshots and WAL - but at some point, we will likely hit a limit on how much of the graph can be held in memory. Is Memgraph aware of the completeness of the…
KWriter
  • 1,024
  • 4
  • 22