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 to utilize all of the CPU cores in Memgraph?

I've noticed that it's often the case that algorithms inside MAGE are running for a longer period of time but using only one CPU core. I'd like to know how to leverage all available cores on the system? I've checked the docs, but I didn't find any…
Moraltox
  • 537
  • 1
  • 7
0
votes
1 answer

How to do multiple MATCH in Memgraph?

Does Mempgrah support something like multiple matches? I keep running into an issue that produces result 0. I have several queries, when I run them one by one, I get some results back, but if I arrange them as multiple matches I end up with zero. My…
0
votes
0 answers

Problem with creating a new user in Memgraph

I try to create a new user CREATE USER mike@ourcorp.com IDENTIFIED BY ',~UU6eW6nc9RS' but I get an error message Query failed: Invalid query. I got the same result for CREATE USER 'mike@ourcorp.com' IDENTIFIED BY ',~UU6eW6nc9RS'
0
votes
0 answers

Why do I need to run Memgraph Platform in interactive mode?

I tried to run Memgraph Platform using docker run -it -p 7687:7687 -p 7444:7444 -p 3000:3000 memgraph/memgraph-platform and it works. Then I tried docker run -i -p 7687:7687 -p 7444:7444 -p 3000:3000 memgraph/memgraph-platform and it also…
Siaka Glen
  • 53
  • 5
0
votes
1 answer

How can I insert the snapshot file during creation of Memgraph container?

I'm having a problem with ownership of files that are outside of my Memgraph container. I can't find a way to give a ownership attributes to the file outside of container. I need this to test out the restore process from snapshot backup.
Taja Jan
  • 942
  • 1
  • 1
  • 11
0
votes
1 answer

How to build Memgraph Docker Extension that uses specific version of underlying Docker image?

Memgrpah Docker extension uses the latest Memgraph Platform image. At the moment, this means that Memgraph Platform 2.8 is used. I would like to build a Docker Extension that uses Memgraph Platform 2.7. Can that be done? I've tried docker build…
Taja Jan
  • 942
  • 1
  • 1
  • 11
0
votes
1 answer

Executing multiple queries with rust driver in Memgraph

I’m using Rust driver to connect to Memgraph instance and execute multiple MATCH / CREATE queries. Is there any way I can execute multiple queries with method: connection.execute_without_results ? In other words - I dont want a sequence of queries…
TalyaDan
  • 63
  • 3
0
votes
1 answer

How to build Memgraph Docker Extension on Windows?

I usually use Mac most of the time. Now I got one Windows 11 based desktop and on it I would need to build Memgraph Docker Extension. For some reason, I can't build it: C:\Users\merkart\repositories> git clone…
0
votes
1 answer

How can I calculate time period is year is not part of node properties?

I have the following code: MATCH (c1:City),(c2:City) WHERE c1.name= 'London' AND c2.name = 'Luton' CREATE (c2)<-[:LIVING_IN {date_of_start: 2019}]-(p:Person {name: 'Mark'}); MATCH (c1:City),(p:Person) WHERE c1.name= 'Luton' AND p.name =…
0
votes
1 answer

When does exactly garbage collector kicks in at Memgraph?

I'm running a Memgraph Platform and I have about 600 000 nodes and relations it my graph. I cleared the database using MATCH (n) DETACH DELETE(n) but the release of the memory is not instant. I can see that after some time (few dozen of seconds) the…
TalyaDan
  • 63
  • 3
0
votes
1 answer

How can I use an SVG file as a node background in Memgraph Lab?

I've found in the docs that I can use image as a background for the nodes using GSS NodeStyle directive properties. Code for using images is simple to understand image-url: "https://download.memgraph.com/asset/images/memgraph-logo.png" but I'd like…
Moraltox
  • 537
  • 1
  • 7
0
votes
1 answer

Escaping apostrophes/ticks in translator.to_cypher_queries method with GQLAlchemy

I have an issue in my code Python code. I'm using GQLAlchemy and Memgraph 2.7 The function cypherQueryCreator.createCypherQuery in my program doesn't appear to be handling apostrophes (ticks) correctly. I have a node in a NetworkX graph that looks…
0
votes
1 answer

Error when loading csv file using Node.js in Memgraph

I am using Memgraph on Ubuntu. I was trying to load the csv file in my Node.js script. I have installed the neo4j-driver. I can not fid what could be the error in my code. When I run my script, I get the following error: Neo4jError: CSV file not…
0
votes
1 answer

Dealing with subqueries and merge Statements in Memgraph: trouble with empty node

I'm encountering difficulties while trying to run the following query: MERGE (town:Town {name: "Paris", external_id: "paris1"}) CALL { MATCH (nation:Nation {iso_code: "FR"}) RETURN nation, assert(count(nation) = 1, '[NATION_NOT_FOUND] The specified…
0
votes
1 answer

Can I change the output format for SHOW CONFIG when using mgconsole?

In mgconsole (version 1.3) when I run SHOW CONFIG; query the output is hard to read. `Memgraph Lab is running at localhost:3000 mgconsole 1.3 Connected to 'memgraph://127.0.0.1:7687' Type :help for shell usage Quit the shell by typing Ctrl-D(eof) or…