简体   繁体   English

从Oracle迁移到MySQL或PostgreSQL

[英]Migration from Oracle to MySQL or PostgreSQL

I want to migrate the data source of my Java web application from oracle to either MySQL or PostgreSQL. 我想将Java Web应用程序的数据源从oracle迁移到MySQL或PostgreSQL。 Oracle database size is huge and contains Large objects as well. Oracle数据库规模巨大,并且还包含大型对象。 Please suggest which would be the better choice? 请提出哪个更好的选择? Please explain with some issues, example and points. 请解释一些问题,示例和要点。

PostgreSQL is much more similar to Oracle than MySQL is. PostgreSQL比MySQL与Oracle更相似。 Significant difference still exist, but you'd probably find it to me an easier migration, and more similar behaviour by the database. 仍然存在显着差异,但是对我来说,您可能会发现它更易于迁移,并且数据库的行为更为相似。

Large objects as BLOB might give you some problems as Oracle has some vendor specific implementation which is often used in Java code. 像BLOB这样的大对象可能会给您带来一些问题,因为Oracle具有某些特定于供应商的实现,通常在Java代码中使用。 Ie check you import statements where BLOB is used. 即检查使用BLOB的导入语句。 For some more see here: http://www-css.fnal.gov/dsg/external/freeware/mysql-vs-pgsql.html 有关更多信息,请参见此处: http : //www-css.fnal.gov/dsg/external/freeware/mysql-vs-pgsql.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM