Sign inSign up

memgraph/memgraph-mage

By memgraph

Updated 2 days ago

Memgraph with MAGE - open sourced graph algorithms

Image
8

500K+

memgraph/memgraph-mage repository overview

What is Memgraph?

Join the Memgraph Discord Server

Memgraph is an open source graph database built for real-time streaming and compatible with Neo4j. Whether you're a developer or a data scientist with interconnected data, Memgraph will get you the immediate actionable insights fast.

Memgraph directly connects to your streaming infrastructure, so you and your team don’t spend countless hours building and maintaining complex data pipelines. You can ingest data from sources like Kafka, SQL, or plain CSV files. Memgraph provides a standard interface to query your data with Cypher, a widely-used and declarative query language that is easy to write, understand and optimize for performance. This is achieved by using the property graph data model, which stores data in terms of objects, their attributes, and the relationships that connect them. This is a natural and effective way to model many real-world problems without relying on complex SQL schemas.

Memgraph is implemented in C/C++ and leverages an in-memory first architecture to ensure that you’re getting the best possible performance consistently and without surprises. It’s also ACID-compliant and highly available.

How to use this image?

Start Memgraph with the following command:

docker run -p 7687:7687 memgraph/memgraph-mage

If successful, you should see the following message:

You are running Memgraph vX.X.X

Querying

Memgraph Lab

Memgraph Lab is a lightweight and intuitive visual user interface, designed to help you with every stage of your graph development and learning process. You can install the Memgraph Lab application directly on Windows, macOS, and Linux.

mgconsole

mgconsole is a command-line interface for Memgraph. In interactive mode, the user can enter Cypher queries and supported commands. Cypher queries can span through multiple lines and conclude with a semi-colon (;). Each query is executed in the database, and the results are printed out. Start mgconsole with the following command:

docker run -it --entrypoint=mgconsole memgraph/memgraph --host HOST

You can find the HOST IP address by first identifying the CONTAINER_ID with docker ps and then running:

docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' CONTAINER_ID 

Find out more about how to query Memgraph on our official documentation.

Quick references

Tag summary

Content type

Image

Digest

sha256:97383094c

Size

710.9 MB

Last updated

2 days ago

docker pull memgraph/memgraph-mage