简体   繁体   English

Hana列存储方言到Oracle 12c SQL

[英]Hana Column Store dialect to Oracle 12c SQL

While trying to benchmark Oracle's Database Inmemory , we were looking for publicly available benchmarking data set and tools. 在尝试对Oracle 数据库内存进行基准测试时,我们正在寻找公开可用的基准测试数据集和工具。 The CH-benCHmark suited our requirement exactly, but it has HANA Column Store Dialect as part of the source files. CH-benCHmark完全符合我们的要求,但是它具有HANA列存储方言作为源文件的一部分。

So, our requirement is to convert these HANA Column Store dialect SQLs to Oracle 12c SQLs. 因此,我们的要求是将这些HANA列存储方言 SQL转换为Oracle 12c SQL。 Google search returned the conversion from Oracle to Hana dialect not the reverse. Google搜索返回了从Oracle到Hana方言的转换,而不是相反。

Has anyone came across this requirement? 有人遇到过这个要求吗? Is there a simple/direct way to do the conversion? 是否有简单/直接的方法进行转换?

Any pointers will be much helpful. 任何指针将大有帮助。

Yes I have done this exercise! 是的,我已经完成了这项练习! there's no direct way from HANA Dialect to Oracle Dialect, But you can make use of ORACLE_LOADER and it's semantics to effectively create Oracle Dialect! 从HANA方言到Oracle方言并没有直接的方法,但是您可以利用ORACLE_LOADER及其语义来有效地创建Oracle方言! Only problem you may face would be the flow, where HANA's flow is totally different from Oracle's schema creation flow. 您可能要面对的唯一问题就是流程,HANA的流程与Oracle的架构创建流程完全不同。

For example: you can easily use LOAD FROM FILE... syntax in HANA, But you need an externally organized table in case of Oracle. 例如:您可以在HANA中轻松使用LOAD FROM FILE ...语法,但是对于Oracle,您需要一个外部组织的表。

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

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