Skip to content

Add migration guides #1183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

Add migration guides #1183

wants to merge 17 commits into from

Conversation

Josipmrden
Copy link
Contributor

@Josipmrden Josipmrden commented Mar 9, 2025

Release note

Added new migration guides, and an overview page of supported source systems

Related product PRs

PRs from product repo this doc page is related to:
(paste the links to the PRs)

Checklist:

  • Add appropriate milestone (current release cycle)
  • Add bugfix or feature label, based on the product PR type you're documenting
  • Make sure all relevant tech details are documented
  • Check all content with Grammarly
  • Perform a self-review of my code
  • The build passes locally
  • My changes generate no new warnings or errors

Copy link

vercel bot commented Mar 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 29, 2025 11:27am

@Josipmrden Josipmrden self-assigned this Apr 25, 2025
@Josipmrden Josipmrden added the priority: medium (missing info) An additional information can be helpful or interesting, but the absence is not disruptive label Apr 25, 2025
@Josipmrden Josipmrden removed their assignment Apr 25, 2025
@Josipmrden Josipmrden requested review from antejavor and matea16 April 25, 2025 10:13
@Josipmrden Josipmrden self-assigned this Apr 25, 2025
@Josipmrden Josipmrden marked this pull request as ready for review April 25, 2025 10:14
@@ -6,10 +6,14 @@ description: Easily transition from RDBMS to Memgraph using MAGE modules. Our de
# Migrate from RDBMS to Memgraph using MAGE modules

This tutorial will help you import your data from a PostgreSQL database into Memgraph
directly using MAGE query modules.
directly using the [Memgraph MAGE `migrate` module](/advanced-algorithms/available-algorithms/migrate).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
directly using the [Memgraph MAGE `migrate` module](/advanced-algorithms/available-algorithms/migrate).
directly using the Memgraph MAGE [`migrate`](/advanced-algorithms/available-algorithms/migrate) module.

This way of migrating data into Memgraph requires exporting the data from the source relational
database system into CSV files, and then importing them into Memgraph. For direct data import
from a relational database system to Memgraph, please check out
our (guide for using migration modules inside Memgraph MAGE)[/data-migration/migrate-from-rdbms-directly].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
our (guide for using migration modules inside Memgraph MAGE)[/data-migration/migrate-from-rdbms-directly].
our [guide for using migration modules inside Memgraph MAGE](/data-migration/migrate-from-rdbms-directly).

import { Callout } from 'nextra/components'
import {CommunityLinks} from '/components/social-card/CommunityLinks'

# Migrating data lake data from Apache Iceberg to Memgraph using Dremio
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Migrating data lake data from Apache Iceberg to Memgraph using Dremio
# Migrate Data Lake data from Apache Iceberg to Memgraph

# Migrating data lake data from Apache Iceberg to Memgraph using Dremio

## Overview
Migrating data from an **Apache Iceberg** table stored in a data lake to **Memgraph** can be efficiently done using **Dremio** as a query
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Migrating data from an **Apache Iceberg** table stored in a data lake to **Memgraph** can be efficiently done using **Dremio** as a query
Migrating data from an [Apache Iceberg](https://iceberg.apache.org/) table stored in a data lake to **Memgraph** can be efficiently done using [Dremio](https://www.dremio.com/) as a query


## Overview
Migrating data from an **Apache Iceberg** table stored in a data lake to **Memgraph** can be efficiently done using **Dremio** as a query
engine and Memgraph’s **migrate module**. This setup eliminates the need for manual data exports and enables real-time data streaming into Memgraph.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
engine and Memgraph’s **migrate module**. This setup eliminates the need for manual data exports and enables real-time data streaming into Memgraph.
engine and Memgraph’s [migrate](/advanced-algorithms/available-algorithms/migrate) module. This setup eliminates the need for manual data exports and enables real-time data streaming into Memgraph.

memgraph.execute("CREATE INDEX ON :Person")
memgraph.execute("CREATE INDEX ON :Person(id)")
```
#### Why `IN_MEMORY_ANALYTICAL` is important for multithreading
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#### Why `IN_MEMORY_ANALYTICAL` is important for multithreading
{<h4 className="custom-header">Why `IN_MEMORY_ANALYTICAL` is important for multithreading</h4>}

Setting **STORAGE MODE IN_MEMORY_ANALYTICAL** allows Memgraph to operate entirely in memory, maximizing data
processing speed and enabling efficient multi-threaded execution. This mode significantly improves performance for analytical queries and bulk inserts.

#### How `DROP GRAPH` instantly clears the dataset
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#### How `DROP GRAPH` instantly clears the dataset
{<h4 className="custom-header"> How `DROP GRAPH` instantly clears the dataset </h4>}

Executing **DROP GRAPH** removes all existing data in Memgraph instantaneously. This ensures that each ingestion
process starts with a clean slate, avoiding conflicts and ensuring consistent performance.

#### Why indexing improves relationship ingestion
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#### Why indexing improves relationship ingestion
{<h4 className="custom-header"> Why does indexing improve relationship ingestion </h4>}


print(f"✅ Relationships successfully ingested into Memgraph after {(rel_ingest_end_time - rel_ingest_start_time):.2f}s!")
```
#### Optimizing relationship ingestion
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#### Optimizing relationship ingestion
{<h4 className="custom-header"> Optimize relationship ingestion </h4>}

Comment on lines +22 to +23
**In order to learn all the pre-requisites for importing data into Memgraph, check
[import best practices](/data-migration/best-practices).**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**In order to learn all the pre-requisites for importing data into Memgraph, check
[import best practices](/data-migration/best-practices).**
In order to learn all the prerequisites for importing data into Memgraph, check
[import best practices](/data-migration/best-practices).

@matea16
Copy link
Contributor

matea16 commented Apr 29, 2025

One more note, update the main Data migration page with the newly added pages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium (missing info) An additional information can be helpful or interesting, but the absence is not disruptive
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants