您好,欢迎来到叨叨游戏网。
搜索
您的当前位置:首页presto加速oracle,presto-oracle

presto加速oracle,presto-oracle

来源:叨叨游戏网

Presto OraclePlugin

This is a plugin for Presto(ver. 0.231.1.) that allow you to use Oracle Jdbc Connection

Connection Configuration

Create new properties file inside etc/catalog dir:

connector.name=oracle

# connection-url must me the URL to access Oracle via JDBC. It can be different depending on your environment.

# Another example of the URL would be jdbc:oracle:thin:@//ip:port/database. For more information, please go to the JDBC driver docs

connection-url=jdbc:oracle:thin://ip:port/database

connection-user=myuser

connection-password=

Create a dir inside plugin dir called oracle. To make it easier you could copy mysql dir to oracle and remove the mysql-connector and prestodb-mysql jars. Finally put the prestodb-oracle in plugin/oracle folder. Here is the sptes:

cd $PRESTODB_HOME

cp -r plugin/mysql plugin/oracle

rm plugin/oracle/mysql-connector*

rm plugin/oracle/presto-mysql*

mv /home/Downloads/presto-oracle*.jar plugin/oracle

Building Presto Oracle JDBC Plugin

mvn clean compile package -DskipTests

Building Oracle Driver

Oracle Driver is not available in common repositories, so you will need to download it from Oracle and install manually in your repository.

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- gamedaodao.net 版权所有 湘ICP备2024080961号-6

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务