- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Migrating Hive database from Postgress to Mysql
Created on ‎12-08-2022 01:11 AM - edited ‎12-08-2022 01:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All
We have our hive database on Postgress and wanted to migrate it to MySQL,
Is there any easy way to do it?
Thanks
Created on ‎12-09-2022 05:33 AM - edited ‎12-09-2022 05:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@KPG1 Here is a good post i found that describes the required steps to move postgres to mysql including a php to do the postgres to mysql conversion.
https://cloudera.ericlin.me/2016/10/hive-metastore-migration-from-embedded-postgres-to-mysql/
You may need to find a more modern tool for that conversion, but the process to dump, convert, and move metastores should be very similar.
Created on ‎12-09-2022 05:33 AM - edited ‎12-09-2022 05:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@KPG1 Here is a good post i found that describes the required steps to move postgres to mysql including a php to do the postgres to mysql conversion.
https://cloudera.ericlin.me/2016/10/hive-metastore-migration-from-embedded-postgres-to-mysql/
You may need to find a more modern tool for that conversion, but the process to dump, convert, and move metastores should be very similar.
