-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Oracle support deprecated in 7.3. Will be removed in 7.6 release #8214
Comments
We should provide some guidance on how to migrate one's DSpace instances from Oracle DB to PostgreSQL. Offhand I don't know whether Packager export/import will get everything in the database. One alternative I recall is Ora2Pg but I've never yet used it. Anyway we need to do some planning and testing. |
I am by no means well-versed in Oracle DB. But I have done some testing of DSpace patches on it, and I do still have a couple of VMs with various versions of it. |
@mwoodiupui : If it's of interest to you to look into this, I'd welcome anyone documenting their experiences to share with others. Unfortunately though, because the number of Oracle users seems so very low (at least based on responses to surveys), providing a migration guide from Oracle to PostgreSQL is not very high priority. I'm not aware of anyone who has created such a guide for DSpace & it's not funded work at this time, so it'd need to be volunteer driven. That said, the two options you mention (using AIP Backup & Restore as a migration tool or using AIP Backup & Restore is likely the easiest path as it requires no knowledge of Oracle vs Postgres. Simply export AIPs from Oracle, install Postgres and import AIPs there. But, AIPs currently do have some known limitations, especially that they do not store "in progress Items" (ones that are not yet submitted or in workflow) or Item versions. |
Oracle to PostgreSQL migration guide (draft) @pilasou has kindly documented their experience of migrating from Oracle to PostgreSQL using Any other institutions planning a similar migration should reference that guide for tips... and also feel free to add/enhance the guide based on your experiences. (UPDATE: I've added this information in the ticket description above so that it's easier to locate & reference) |
Deprecation of Oracle Support
Per a unanimous vote in today's DSpace Steering Meeting, DSpace will deprecate support for Oracle Databases in the upcoming 7.3 release.
All Oracle-specific classes/code will be removed one year after the 7.3 release. Assuming that we remain on the three-releases per year schedule for 2022-2023, this likely means complete removal of Oracle support in version 7.6.
See announcement on mailing lists: https://groups.google.com/g/dspace-community/c/nXNMVBY_CJo/m/4pu7WKdUAgAJ
This decision was not made lightly.
What this means
For 7.3: ( ✅ Completed in #8300 )
WARN
indspace.log
on every restart of DSpace backend for sites which currently use Oracle.For Summer 2023 release (version 7.6):
dspace-api/src/main/resources/org/dspace/storage/rdbms/sqlmigration/oracle/
.org.dspace.storage.rdbms.*
classes.Oracle to PostgreSQL Migration options
Choose ONE:
Ora2Pg
(Recommended) : Consider using Ora2Pg to migrate from Oracle to PostgreSQL. An early guide for how one institution did this migration is available at https://wiki.lyrasis.org/display/DSPACE/DSpace+Oracle+to+PostgreSQL+migrationThe text was updated successfully, but these errors were encountered: