简体   繁体   English

从Oracle迁移到Nosql数据库

[英]Migrating to a Nosql DB from Oracle

I have a large code base of an online charging application that is tightly coupled to Oracle and relies extensively on SQL queries , PL/SQL procedures etc. 我有一个在线收费应用程序的大型代码库,该应用程序与Oracle紧密耦合,并且广泛依赖于SQL查询,PL / SQL过程等。

In case , we are to migrate to a NO SQL based DB , would all the code need to be rewritten or are there some already available libraries/drivers that do the job of translation of sql queries to no-sql queries automatically by simply having us define a mapping between the current Oracle Schema and the new underlying NO-SQL DB schema (designed afresh)? 如果我们要迁移到基于NO SQL的数据库,是否需要重写所有代码,或者是否有一些已经可用的库/驱动程序,只需让我们自动完成将sql查询转换为no-sql查询的工作即可定义当前Oracle架构和新的基础NO-SQL DB架构(重新设计)之间的映射?

Thanks 谢谢

You are going to rewrite a lot of things. 您将要重写很多东西。

Relational database and nosql "things" are so different. 关系数据库和nosql的“事物”是如此不同。 And nosql are not transactional, eccept for documents. 而且nosql不是事务性的,用于文件接收。

You can save money going to mysql or postgresql (suggested) but still you have to implement a lot of things and you need to study proxy, connection pooling when you need to scale. 您可以省钱使用mysql或postgresql(建议),但仍然需要实现很多事情,并且需要扩展时需要学习代理和连接池。

But, you can save a lot of work with Postgres plus advanced server of enterprise db: http://www.enterprisedb.com/products-services-training/products/postgres-plus-advanced-server 但是,使用Postgres以及企业级数据库的高级服务器可以节省很多工作: http : //www.enterprisedb.com/products-services-training/products/postgres-plus-advanced-server

They say you can switch db without a single line to be changed. 他们说您可以切换数据库而无需更改任何一行。 And save money. 并省钱。 Then you can access things like partitioning that will cost a lot in enterprise version of Oracle. 然后,您可以访问分区之类的事情,这在Oracle企业版中会花费很多。

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

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