生产系统中的 ADBC 和 AMDP [英] ADBC and AMDP in Production systems

查看:22
本文介绍了生产系统中的 ADBC 和 AMDP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否建议在生产中使用 ADBC 或 AMDP?如果不是,为什么?提前感谢您的评论!

Is it advisable to use ADBC or AMDP in Production? If not, why? Thank you for your comments in advance!

推荐答案

两者都是为生产使用而设计的.

Both are designed for production usage.

您应该更喜欢 OpenSQL,因为它简化了许多方面,例如客户端处理,并使编程变得简单,例如因为它可以巧妙地读取类型结构和表.

You should prefer OpenSQL because it simplifies many aspects, for example client handling, and makes programming easy, for example because it neatly reads into typed structures and tables.

如果您正在做的事情对于 OpenSQL 来说太复杂,那么 AMDP 应该是您的第二选择,例如因为您需要执行一系列选择来达到您的目标.注意它们抛出的异常,以及是否使用特定于数据库的功能,例如 SAP HANA 的模糊搜索.

AMDPs should be your second choice if what you are doing is too complex for OpenSQL, for example because you need to perform a sequence of selects to reach your aim. Pay attention to the exceptions they throw, and if you use database-specific features, such as SAP HANA's fuzzy search.

如果以上两种方法都无法达到目标,例如因为需要连接到另一个数据库或需要使用具有不同授权的辅助数据库连接,那么 ADBC 应该是您最后的选择.再次注意它们抛出的异常.另外,请注意客户端处理,这种方式不是自动化的.

ADBC should be your last resort if you cannot reach your goals with the above two, for example because you need to connect to another database or need to use a secondary database connection with different authorizations. Again, pay attention to the exceptions they throw. Also, pay attention to the client handling, which in this way is not automated.

这篇关于生产系统中的 ADBC 和 AMDP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆