原文链接:https://www.gbase.cn/community/post/4240
更多精彩内容尽在南大通用GBase技术社区,南大通用致力于成为用户最信赖的数据库产品供应商。
本期文章简单给大家介绍下南大通用GBase 8a MPP Cluster支持的接口驱动,集群驱动可以有效实现对上层应用请求的负载进行均衡(应用调用接口驱动的连接串中配置多个集群管理节点的IP,接口驱动的内部进行连接的负载均衡)。应用层请求响应节点完成SQL解析并生成执行计划,协调集群相关节点并发参与计算和处理,极大地提高了整个集群节点的并发度,充分发挥了集群性能。
1.1GBase 8a MPP Cluster ODBC
GBase 8a MPP Cluster ODBC是GBase 8a MPP Cluster的ODBC驱动程序,它提供了访问 GBase 8a MPP Cluster的所有ODBC功能。GBase 8a MPP Cluster ODBC支持ODBC 3.5X 一级规范 (全部API + 2级特性)。
用户可以通过ODBC数据源管理器调用GBase 8a MPP Cluster ODBC驱动访问GBase 8a MPP Cluster数据库或者直接调用 GBase 8a MPP Cluster ODBC 驱动访问 GBase 8a MPP Cluster ,另外通过可视化编程工具如 C++ Builder、 Visual Studio 等也可以利用 GBase 8a MPP Cluster ODBC 访问。GBase 8a MPP Cluster ODBC支持所有 GBase 8a MPP Cluster 支持的 Windows、Linux 、AIX平台。
ODBC 驱动管理器是管理 ODBC 应用和驱动程序之间的通信的库。它的主要功能包括:
1)解析数据源名字(DSN)
2)装载和卸载驱动程序
3)处理 ODBC 函数调用或传递它们到驱动程序
1.2GBase 8a MPP Cluster JDBC
GBase 8a MPP Cluster JDBC是一种兼容JDBC规范3.0、4.0 (类型4)的驱动,这意味着它是符合JDBC 3.0、4.0版本规范的一种纯Java程序,并能使用GBase协议直接和GBase服务器通信。
GBase 8a MPP Cluster JDBC为使用JAVA程序语言的客户端应用提供访问GBase 8a MPP Cluster接口。
1)GBase 8a MPP Cluster JDBC 支持JDBC规范3.0、4.0版本;
2)GBase 8a MPP Cluster JDBC 使用 GBase 协议直接和 GBase 8a MPP Cluster 服务器通信;
3)GBase 8a MPP Cluster JDBC在 Sun’s JDBC 实验平台上通过率达到95%。
1.3GBase 8a MPP Cluster ADO.NET
GBase 8a MPP Cluster ADO.NET 是一款提供.NET应用程序与GBase数据库之间方便、高效、安全交互的接口程序,使用100%纯C#编写,并继承了Microsoft ADO.NET 类。开发人员可以使用任何一种.NET开发语言(C#、VB.NET、F#)通过GBase 8a MPP Cluster ADO.NET操作GBase数据库。
GBase 8a MPP Cluster ADO.NET支持以下全部特性:
1)支持集群高可用功能、负载均衡功能;
2)支持GBase 数据库全部特性,如:存储过程、视图等;
3)支持协议压缩,允许对客户端和服务器之间交互的数据流进行压缩;
4)支持Windows平台下的TCP/IP套接字连接;
5)支持Linux平台下的TCP/IP套接字或Linux套接字连接;
6)无需安装GBase 数据库的客户端,可通过GBase 8a MPP Cluster ADO.NET类库实现完整的管理功能。
1.4GBase 8a MPP Cluster C API
GBase 8a MPP Cluster C API是GBase 8a MPP Cluster数据库提供的C语言访问库。应用可以通过调用GBase C API访问 GBase 8a MPP Cluster数据库。GBase C API提供了如下功能:
1)创建和断开客户端与服务器的连接;
2)直接执行SQL语句;
3)通过预处理模式操作数据库;
4)获取执行SQL的结果集;
5)获取错误信息。
1.5GBase 8a MPP Cluster Python API
GBase Python接口是Python语言连接并使用GBase数据库的接口驱动程序。GBase Python接口基于Python Database API Specification标准编写。接口兼容标准的同时并支持如下特性:
1)支持Python 2.x和Python 3.x
2)完全支持GBase 8a MPP Cluster的特性
3)完全支持SQL标准语法
4)支持二进制流插入、更新
5)支持批量插入优化
6)支持多SQL语句执行和获取多结果集
7)支持TCP/IP 协议
8)支持Python的datetime和GBase时间类型的映射
以上为支持的接口驱动,后续会继续给大家带来每种接口驱动的详细介绍,请大家持续关注,谢谢~
原文链接:https://www.gbase.cn/community/post/4240
更多精彩内容尽在南大通用GBase技术社区,南大通用致力于成为用户最信赖的数据库产品供应商。