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 check user privileges in Memgraph?

I've checked the documentation for managing user privileges (https://memgraph.com/docs/memgraph/how-to-guides/manage-user-privileges) and I've created a new user: CREATE USER `james@skyfalllodge.co.uk` IDENTIFIED BY '007'; And I've added the…
GrandMel
  • 157
  • 8
0
votes
1 answer

What are all types of variable expansions supported by Memgraph?

I am currently using Memgraph as a graph databases in my learining project. I understand that variable expansions play a significant role in traversing graphs, especially when querying relationships between nodes. Based on the capabilities of…
GrandMel
  • 157
  • 8
0
votes
1 answer

How to define a Kafka consumer group starting with a number and use it in Memgraph?

I've noticed that when attempting to create a Kafka stream with a consumer group name starting with a number, it is not accepted. However, if I prepend a letter before the numbers in the consumer group name, it is accepted. Shouldn't the literal…
GrandMel
  • 157
  • 8
0
votes
1 answer

Limiting memory usage in Memgraph for queries executed under triggers

I have been working with Memgraph for some thime now. I've successfully managed to limit memory usage on regular queries and the overall memory usage of Memgraph. However, I recently ran into a scenario where I'd like to apply similar limits to…
0
votes
1 answer

Memgraph query failed trying to find all connected paths to a specific node

When trying to find and return all the paths connected to a specific node: MATCH p = (DocID:ProjectList {DocumentID: "specificied_doc"})-[*]-(*) RETURN p Memgraph lab looses connection with a Query Failed, [object ProgressEvent] error. I am…
Dewald
  • 33
  • 5
0
votes
1 answer

If Memgraph creates snapshots, do I need volume?

I was reading the documentation at https://memgraph.com/docs/memgraph/how-to-guides/work-with-docker and there I found the info that I need to create volume if I want to keep the data (-v mg_lib:/var/lib/memgraph). On another place…
0
votes
1 answer

How to import table data from Parquet file to Memgraph graph database

I'm working on a project where I need to import table data from a Parquet file into the Memgraph graph database. My data looks something like this: +-----------+-------------+---------+------------+--------+ | FirstName | LastName | Country |…
Moraltox
  • 537
  • 1
  • 7
0
votes
1 answer

Connecting to Data Streams for Memgraph Import

I need to decide which streaming technology we should implement for our next project. I can choose between Kafka, Redpanda, or Pulsar stream, and I need to import streams into Memgraph. How can I connect directly to these streams using Cypher…
Moraltox
  • 537
  • 1
  • 7
0
votes
1 answer

Seamless JSON Data Import into Memgraph

I'm working on a project that requires me to import JSON data into Memgraph. What is the best approach to import JSON files into Memgraph? Are there any specific tools or procedures that I should be using to achieve this?
Moraltox
  • 537
  • 1
  • 7
0
votes
1 answer

Transferring Cypher Queries from CYPHERL Files to Memgraph

I'm currently dealing with data in the form of Cypher queries (CREATE and MERGE clauses) within a CYPHERL file, and I need to import this data into Memgraph. Can anyone guide me on how to import CYPHERL files into Memgraph effectively, either via…
Moraltox
  • 537
  • 1
  • 7
0
votes
1 answer

Best way to import CSV data into Memgraph

I'm working on a project that involves importing data into Memgraph, and I have a dataset in CSV format. What is the most efficient way to import this CSV file into Memgraph? Are there any best practices or tips I should be aware of while doing…
Moraltox
  • 537
  • 1
  • 7
0
votes
1 answer

Can the mgconsole output style be changed to CSV like format?

When I run MATCH (n)-[e]->(m) RETURN n, e, m; I get the output similar to this: +--------------------------------+--------------------------------+--------------------------------+ | n | e |…
GrandMel
  • 157
  • 8
0
votes
1 answer

How to use mgconsole non-interactive mode to run queries?

Is it possible to run queries in mgconsole non-interactively? I know that I can use a file that has query in it and redirect it, mgconsole < test.txt. I would like to avoid creating a file on a filesystem. How can I pass Cypher query to mgconsole?
GrandMel
  • 157
  • 8
0
votes
1 answer

How to increase the Cypher query character limit?

Is there any way to increase the query character limit? I have create queries that are over 9000 characters. The error that I receive is: Cypher query must be shorter than 5000 characters.
Moraltox
  • 537
  • 1
  • 7
0
votes
1 answer

Does GQLAlchemy support explicit transactions?

Does GQLAlchemy support explicit transactions? I want to start a transaction with the BEGIN; query and execute the following queries as a part of a single transaction. Also, I need to commit successful transactions by executing the COMMIT; query. I…
KateLatte
  • 611
  • 1
  • 12