How-to guides overview
How-to guides within this section serve as a cookbook for getting things done as fast as possible. These guides tend to provide a step-by-step guide on using certain Memgraph features or solving a particular problem.
Backup
Memgraph comes with a couple of queries that allow you to safely make a backup of the files containing its data:
Change configuration and access logs
Take a look how to change configuration settings and access log files:
Constraints
Memgraph has two types of constraints. Take a look how to enforce them:
Inspect and profile Cypher queries
Memgraph also enables you to inspect and profile the execution of a query and get a detailed report on how the query's plan behaved. Take a look at the guides:
Manage Python environment
Check out how to update Memgraph's Python environment:
- [Manage Python environment])(/how-to-guides/managing-python-environment.md)
Replication
Memgraph supports replication and the following guide demonstrates how to create a simple cluster of nodes running Memgraph instances:
Set up triggers
Memgraph supports database triggers that can be executed if a particular type of event occurs. Events are related to changes in the data, such as created, updated, and deleted nodes or relationships.
Use Font Awesome icons for node images
Font Awesome is a popular icon library. You can't use those icons directly or SVG file as background images. Tak a look at workaround for this:
Query modules
Memgraph supports extending the query language with user-written procedures. These procedures are grouped into modules, which can then be loaded either on startup or later on. To learn more about query modules take a look at the following guides:
SSL encryption
Memgraph uses SSL (Secure Sockets Layer) protocol for establishing an authenticated and encrypted connection to a database instance. Find out how to set it up:
Utilize the NetworkX library
Memgraph currently provides three query modules that utilize the NetworkX library. Take a look how to use the NetworkX library with Memgraph:
Work with Docker
If you are new to Docker, this how-to guide will help you get a grasp of Docker and make it easier to accomplish tasks within Memgraph:
Working with indexes
A database index is a data structure used to improve the speed of data retrieval within a database. Take a look how to enable them:
Authentication and authorization
Memgraph supports authentication and (optional) authorization using a custom-built external auth module. To learn more visit:
User privileges
Memgraph comes with the option of granting, denying, or revoking a certain set of privileges to users or groups of users. To learn more visit:
Label-based access control
In its enterprise edition, Memgraph enables granting and denying permissions to users for viewing and manipulating certain nodes and relationships.