页面树结构
转至元数据结尾
转至元数据起始

正在查看旧版本。 查看 当前版本.

与当前比较 查看页面历史

« 前一个 版本 9 下一个 »

Smartbi的数据连接可以通过多种方式连接数据库,包括:

1)通过JDBC驱动连接数据库。

2)通过XMLA方式连接多维数据库。

下面列出每种连接方式支持的数据源及其连接信息。

连接方式

JDBC驱动连接

数据源类型版本驱动程序类连接字符串
aliyun AnalyticDB
com.mysql.jdbc.Driverjdbc:mysql://<servername>/<database>?useUnicode=true&characterEncoding=UTF-8&engine=MPP
aliyun MaxCompute
com.aliyun.odps.jdbc.OdpsDriverjdbc:odps:<endpoint>?project=<project>&charset=UTF-8
ClickHouse
ru.yandex.clickhouse.ClickHouseDriverjdbc:clickhouse://<servername>:8123/<database>?socket_timeout=1000000
DB2
com.ibm.db2.jcc.DB2Driverjdbc:db2://<servername>:<port>/<database>
GBase 8S V8.4
com.informix.jdbc.IfxDriverjdbc:informix-sqli://<host>:9088/<database>:INFORMIXSERVER=<servicename>;CLIENT_LOCALE=zh_cn.utf8;DB_LOCALE=zh_cn.utf8;NEWCODESET=utf8,8859-1,819
GBase 8S V8.8
com.informix.jdbc.IfxDriverjdbc:informix-sqli://<host>:9088/<database>:INFORMIXSERVER=<servicename>;CLIENT_LOCALE=zh_cn.utf8;DB_LOCALE=zh_cn.utf8;NEWCODESET=utf8,8859-1,819
Gauss100
com.huawei.gauss.jdbc.ZenithDriverjdbc:zenith:@<servername>:<port>?useSSL=true
Gauss200
com.huawei.gauss200.jdbc.Driverjdbc:gaussdb://<servername>:25308/<dbName>
Gbase 8A
com.gbase.jdbc.Driverjdbc:gbase://<servername>:<port>/<dbName>
Greenplum
org.postgresql.Driverjdbc:postgresql://<servername>:5432/<dbName>
HANA
com.sap.db.jdbc.Driverjdbc:sap://<servername>:30015?reconnect=true
Hadoop_Hive
org.apache.hive.jdbc.HiveDriverjdbc:hive2://<servername>:10000/default
Huawei FusionInsight HD
org.apache.hive.jdbc.HiveDriverjdbc:hive2://<zkServer1>:24002,<zkServer2>:24002,<zkServer3>:24002/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2;sasl.qop=auth-conf;auth=KERBEROS;principal=hive/hadoop.hadoop.com@HADOOP.COM
IMPALA
com.cloudera.impala.jdbc41.Driverjdbc:impala://<servername>:<port>/<database>
Infobright
com.mysql.jdbc.Driverjdbc:mysql://<servername>:<port>/<database>?useOldAliasMetadataBehavior=true&useUnicode=true&characterEncoding=GBK&zeroDateTimeBehavior=convertToNull
Informix
com.informix.jdbc.IfxDriverjdbc:informix-sqli://<servername>:1526/<database>:INFORMIXSERVER=<InformixServer>;NEWLOCALE=zh_cn,en_us;NEWCODESET=GBK,8859-1,819
Kingbase
com.kingbase.Driverjdbc:kingbase://<servername>:54321/<dbName>
KingbaseAnalytics
com.kingbase.kingbaseanalyticsdb.Driverjdbc:kingbaseanalyticsdb://<servername>:<port>/<database>
Kylin
org.apache.kylin.jdbc.Driverjdbc:kylin://<servername>:<port>/<projectName>
MS SQL Server
net.sourceforge.jtds.jdbc.Driverjdbc:jtds:sqlserver://<servername>:1433;DatabaseName=<database>
MySQL
com.mysql.jdbc.Driverjdbc:mysql://<servername>:<port>/<database>?useOldAliasMetadataBehavior=true&useUnicode=true&characterEncoding=GBK&zeroDateTimeBehavior=convertToNull
OBASE
com.mysql.jdbc.Driverjdbc:mysql://<servername>/<database>?useOldAliasMetadataBehavior=true&useUnicode=true&characterEncoding=GBK&zeroDateTimeBehavior=convertToNull
Oracle
oracle.jdbc.driver.OracleDriverjdbc:oracle:thin:@<ip>:1521/<serviceName>
Oracle TimesTen
com.timesten.jdbc.TimesTenClientDriverjdbc:timesten:client:dsn={dsnname}
PostgreSQL
org.postgresql.Driverjdbc:postgresql://<servername>:5432/<dbName>
Presto
com.facebook.presto.jdbc.PrestoDriverjdbc:presto://<servername>:38080/<database>
ShenTong
com.oscar.Driverjdbc:oscar://<servername>/<database>
Smartbi JDBC for Excel
smartbi.jdbc.ExcelDriverjdbc:smartbi:excel:<filename or fileresource:id>
Smartbi Jdbc4Olap
smartbi.jdbc.OlapDriverhttp://<servername>/smartbixmla/XmlaHandler.ashx
Spark SQL
org.apache.hive.jdbc.HiveDriverjdbc:hive2://<servername>:10000/default
Sybase
com.sybase.jdbc3.jdbc.SybDriverjdbc:sybase:Tds:<servername>:<port>/<database>?CHARSET=cp936
Teradata_V12
com.teradata.jdbc.TeraDriverjdbc:teradata://<servername>/DataBase=<dbName>,LOB_SUPPORT=off,client_charset=gbk
Teradata_V13及其以上
com.ncr.teradata.TeraDriverjdbc:teradata://<servername>/DataBase=<dbName>,LOB_SUPPORT=off,client_charset=gbk
Vertica
com.vertica.jdbc.Driverjdbc:vertica://<servername>:5433/<database>
星环
org.apache.hive.jdbc.HiveDriverjdbc:hive2://<servername>:10000/default
达梦7
dm.jdbc.driver.DmDriverjdbc:dm://<servername>:5236/<database>
达梦6
dm6.jdbc.driver.DmDriverjdbc:dm6://<servername>:5236/<database>
Other


MongoDB
smartbi.jdbc.MongoDriverjdbc:smartbi:mongo:<server>:<port>/<dbName>
Tinysoft
smartbi.jdbc.tinysoft.TinysoftDriverjdbc:smartbi:tsserver://<servername>:1099/

XMLA方式连接

数据源类型版本连接的地址
Essbase 7
http://<servername>:8080/EssbaseXmla/xmla
Essbase 9
http://<servername>:8080/EssbaseXmla/xmla
IBM Cubing Services
http://<servername>:<port>/IBMXmlAnalysis
Jedox Palo
http://<servername>:8080/PaloXmla/xmla
Mondrian
http://<servername>:8080/mondrian/xmla
SAP
http://<servername>/sap/bw/xml/soap/xmla
SQL Server 2000
http://<servername>/xmla/msxisapi.dll
SQL Server 2005及其以上
http://<servername>/smartbixmla/XmlaHandler.ashx
Kyligence
http://<servername>:<port>/mdx/xmla/<databaseName>
  • 无标签