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
1
vote
1 answer

Retrieve labels used by the graph

The query CALL db.labels() YIELD label in Neo4j provides the labels present inside the graph The same query, on memgraph, gives an error `input 'CALL' expecting {CREATE, DELETE, DETACH, DROP, EXPLAIN, MATCH, MERGE, OPTIONAL, REMOVE,…
Roberto Franchini
  • 1,016
  • 7
  • 13
1
vote
0 answers

How to find the node with outgoing relationship but no relationship on 2nd degree nodes

One question, I have 15000 nodes, with relationships. suppose few of them look like this all have the same label like number but different properties. also the relationship type is the same. Now i want to see if there are any nodes where inter…
Ch HaXam
  • 499
  • 3
  • 16
0
votes
1 answer

How can I execute multiple Cypher queries simultaneously in the Memgraph Lab editor?

I'm using Memgraph Lab for querying my graph database. Sometimes, I need to execute multiple Cypher queries in one go. How can I run multiple queries at once in the Memgraph Lab editor? When I run this: MATCH (n:Person) WHERE n.name = 'Alice' RETURN…
0
votes
1 answer

How to open mgconsole when running Memgraph Platform?

I run Memgraph using docker run -it -p 7687:7687 -p 7444:7444 -p 3000:3000 memgraph/memgraph-platform. Yesterday I updated it to the latest docker image using docker pull memgraph/memgraph-platform. Now when I run the command to run the docker I get…
ZoomZoom
  • 15
  • 2
0
votes
0 answers

Memgraph: Error when calling a custom procedure inside a CALL subquery

I am working on a custom query module on memgraph but cannot make it work properly. Whenever I try to execute my custom query module inside a CALL subquery, I get the following error message: Query failed: Procedure…
0
votes
1 answer

Some parameters passed using Docker compose to Memgraph are ignored

I'm trying to pass parameters using Docker compose to Memgraph. This what my docker compose file looks like: version: "3" services: memgraph-platform: image: "memgraph/memgraph-platform" ports: - "7687:7687" - "3000:3000" …
0
votes
1 answer

Do I need to be memgraph user in order to run Memgraph in WSL?

I've installed Memgraph inside WSL: wget https://download.memgraph.com/memgraph/v2.10.0/ubuntu-20.04/memgraph_2.10.0-1_amd64.deb sudo dpkg -i memgraph_2.10.0-1_amd64.deb I've noticed a new user in my /etc/passwd…
GrandMel
  • 157
  • 8
0
votes
1 answer

Can't connect to Memgraph Lab on port 3000

I'm facing an issue with Memgraph Lab. I can't launch it through https://localhost:3000. I've been using it successfully with Docker some time ago. Yesterday I pulled the new Memgraph 2.10 and I can't connect now. I run Memgraph with docker run -p…
0
votes
1 answer

Does Memgraph provide a function to get the length of a property variable?

How can you find the length of a property variable of a node or edge? Something like LENGTH() function doesn't exist in Cypher. Does Memgraph have a built-in function or a way to return the length of a property variable?
Taja Jan
  • 942
  • 1
  • 1
  • 11
0
votes
1 answer

Failed to start key/value store when setting up Memgraph using Docker and mounting to a different disk

I am attempting to set up Memgraph using Docker, and I want to mount my mount point inside Docker to store the data on a different disk from where Docker is installed. However, whenever I try to do this, it fails to start and I receive the warning…
Taja Jan
  • 942
  • 1
  • 1
  • 11
0
votes
1 answer

Using the Python object graph mapper with Memgraph - what is the aim of specifying the db?

What is the aim of specifying the db in the class definition and in the field definition? class Language(Node, index=True, db=db): name: str = Field(unique=True, db=db)
Taja Jan
  • 942
  • 1
  • 1
  • 11
0
votes
0 answers

memgraph query optimization

Hi everyone I have created a collaborative-filtering algorithm in opencypher (memgraph). Although my coworker says that it would not scale to high demands is this the case? if so how would I make it more scalable MATCH…
0
votes
1 answer

How to run the latest Memgraph Plarform using Docker?

I use the command docker run -it -p 7687:7687 -p 7444:7444 -p 3000:3000 memgraph/memgraph-platform to run Memgraph Platform. I can see that Memgraph Platform 2.10 is out https://hub.docker.com/r/memgraph/memgraph-platform/tags but this Docker…
0
votes
1 answer

How to return nothing if the results of an optional match do not meet certain conditions in Memgraph?

I'm currently working on a task that involves a specific type of query in a graph database. The task requires me to perform an optional match operation, which is designed to retrieve nodes and relationships that may or may not exist in the…
0
votes
1 answer

How can I change the version of Bolt protocol that is used in Memgraph?

Memgraph supports both Bolt v4 and Bolt v5. Is there a way to use one or another version of Bolt protocol? Is there a configuration setting that can force a certain version of the protocol?
Taja Jan
  • 942
  • 1
  • 1
  • 11