Install Memgraph
Memgraph bundles the database along with various analytical tools into distinct
Docker images. If you're new to Memgraph or you're in a developing stage, we
recommend using the memgraph-platform
image. Besides the database, it also
includes all the tools you might need to analyze your data, such as command-line
interface mgconsole, web interface Memgraph
Lab and a complete set of algorithms within a
MAGE library.
With the Docker (opens in a new tab) running in the background, run the following command in the console:
docker run -p 7687:7687 -p 7444:7444 -p 3000:3000 --name memgraph memgraph/memgraph-platform
You can stop the instance with docker stop memgraph
and start it with docker start memgraph
commands.
Once you're ready to go to production you can choose to use the memgraph-mage
Docker image that includes the database and the graph library, or run the
database only, using the memgraph
image.
Other installation options are also available.
You don't want to bother with installation? Done!
Register and run a
Memgraph Cloud (opens in a new tab) instance with a 2-week trial
period.
System requirements
Below are minimum and recommended system requirements for installing Memgraph.
Minimum | Recommended | |
---|---|---|
CPU | Server or desktop processor: Intel Xeon AMD Opteron/Epyc ARM machines or Apple M1 Amazon Graviton | Server processor: Intel Xeon AMD Opteron/Epyc ARM machines or Apple M1 Amazon Graviton |
RAM | 1 GB | ≥ 16 GB ECC |
Disk | 1 GB | equally as RAM |
Cores | 1 vCPU | ≥ 8 vCPUs (≥ 4 physical cores) |
Network | 100 Mbps | ≥ 1 Gbps |
The disk is used for storing database durability files - snapshots and write-ahead logs.
Check out how the storage memory is used, and calculate memory requirements based on your data.