# Syncing Huge DataSet From MySQL to Elasticsearch

**URL:** <https://discuss.elastic.co/t/syncing-huge-dataset-from-mysql-to-elasticsearch/347853>\
**Category:** Elasticsearch\
**Created:** [November 23, 2023, 1:04pm UTC](https://discuss.elastic.co/t/syncing-huge-dataset-from-mysql-to-elasticsearch/347853 "2023-11-23T13:04:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aswini\_Kumar\_Rout](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aswini_kumar_rout/32/42165_2.png) [@Aswini\_Kumar\_Rout](https://discuss.elastic.co/u/Aswini_Kumar_Rout)\
**Post date:** [November 23, 2023, 1:04pm UTC](https://discuss.elastic.co/t/syncing-huge-dataset-from-mysql-to-elasticsearch/347853/1 "2023-11-23T13:04:53Z")

</div>

Hi Team,

We have one requirement to use Elasticsearch in our legacy application which has MySQL datbase and the size of the DB is around **300 GB** and with **200 or more tables**. So, here I am bit confused that - which would be the **BEST** way to do the sync, I found same kind of questions which are posted earllier but I am not fully clear on the approaches which are explained -

Let me explain my requirement properly -

1. Sync all the Data from MySQL to Elasticsearch on Daily basis - For this I am confused with below approaches -

Medium Link - [How to synchronize MySQL Database with ElasticSearch And perform data querying in a Spring Boot Application | by YASSINE SABRI | Medium](https://medium.com/@yassine.s.sabri/how-to-synchronize-mysql-database-with-elasticsearch-and-perform-data-querying-in-a-spring-boot-829ff7717380)

GIT Link - [GitHub - yassinesabri/spring-mysql-elastic: Dockerized Spring POC implementing the synchronization and the data querying between MySql and ElasticSearch engine](https://github.com/yassinesabri/spring-mysql-elastic)

**Kindly suggest the BEST way considering the size of data.**

1. Java APIs to get data from Elasticsearch with complex **Stored Procedures** which are currently running in our application to show some dashboard and data analysis (We are thinking of **Kibana** for this).

Above is the requirement, Kindly suggest the best way to implement this considering the **Performance** and data.

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 21, 2023, 1:05pm UTC](https://discuss.elastic.co/t/syncing-huge-dataset-from-mysql-to-elasticsearch/347853/2 "2023-12-21T13:05:35Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
