OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Call Interface

V2.0.1Enterprise Edition

  • What's New
  • Product Introduction
  • Install OBCI
  • Data Types
  • Reference Functions
    • Connect, authorize, and initialize functions
    • Handle and descriptor functions
    • Bind, define, and describe functions
    • Statement functions
    • LoB functions
    • Transaction functions
    • Miscellaneous functions
    • String functions
    • Date functions
    • Number functions
  • Developer Guide
    • Basic development procedure
    • Development example

Download PDF

What's New Product Introduction Install OBCI Data Types Connect, authorize, and initialize functionsHandle and descriptor functionsBind, define, and describe functionsStatement functionsLoB functionsTransaction functionsMiscellaneous functionsString functionsDate functionsNumber functionsBasic development procedureDevelopment example
OceanBase logo

The Unified Distributed Database for the AI Era.

Follow Us
Products
OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
Resources
DocsBlogWhite PaperLive DemosTraining & CertificationTicket
Company
About OceanBaseTrust CenterLegalPartnerContact Us
Follow Us

© OceanBase 2026. All rights reserved

Cloud Service AgreementPrivacy PolicySecurity
Contact Us
Document Feedback
  1. Documentation Center
  2. OceanBase Call Interface
  3. V2.0.1
iconOceanBase Call Interface
V 2.0.1Enterprise Edition
Databases
  • OceanBase Database
  • OceanBase Cloud
  • OceanBase Tugraph
  • Interactive Tutorials
  • OceanBase Best Practices
Tools
  • OceanBase Cloud Platform
  • OceanBase Migration Service
  • OceanBase Developer Center
  • OceanBase Migration Assessment
  • OceanBase Admin Tool
  • OceanBase Loader and Dumper
  • OceanBase Deployer
  • Kubernetes operator for OceanBase
  • OceanBase Diagnostic Tool
  • OceanBase Binlog Service
Connectors and Middleware
  • OceanBase Database Proxy
  • Embedded SQL in C for OceanBase
  • OceanBase Call Interface
  • OceanBase Connector/C
  • OceanBase Connector/J
  • OceanBase Connector/ODBC
  • OceanBase Connector/NET

Install OBCI

Last Updated:2023-06-29 06:42:04  Updated
Share
What is on this page
Prerequisites
Installation instructions
Usage notes

folded

Share

#docslug#/obci/obci/V2.0.1/nr7rga

Prerequisites

  • Operating system: Linux (el7.x86_64, el6.x86_64, or aarch64).

  • Compiler: GCC V4.8.

  • OceanBase Database: V2.2.76 or later. We recommend that you use OceanBase Database V3.2 or later. Otherwise, you cannot use all features of OceanBase Call Interface (OBCI).

  • OceanBase Database Proxy (ODP, or OBProxy): V1.8.7 or later.

  • libobclient V2.1.1 or later.

  • OBCI is installed, and the GCC compiler is deployed.

Note

  • We recommend that you use OBServer and OBProxy of the latest version. Otherwise, you cannot use all features of OBCI.

  • OBCI V2.0.1 is compatible with all features of OBCI V1.2.2.

Installation instructions

OBCI publishes software in the form of RedHat Package Manager (RPM) packages. An OBCI package contains the header file and library files of the OCI runtime library libobci, together with a sample program.

After you obtain the RPM package, run the following command in the command-line tool as the root user:

rpm -ivh obci-<version>.x86_64.rpm

By default, the programs and files in the software package are installed in the following paths:

  • The header file is installed in the /u01/obclient/include path.

  • The library files are installed in the /u01/obclient/lib path.

Usage notes

OBCI is a C language call interface provided by OceanBase. It provides complete features that are compatible with OCI.

If you want to use a C application written by using Oracle OCI, you need only to specify the OBCI library as the runtime library when you perform linking. By default, library files are installed in the /u01/obclient/lib path.

Note

If you are creating a dynamic link to libobci.so, you also need to manually install the OBClient RPM package. If you are creating a static link to libobci.a, the OBClient RPM package is not required.

For more information about linking, see Basic development procedure.

Previous topic

Product Introduction
Last

Next topic

Data Types
Next
What is on this page
Prerequisites
Installation instructions
Usage notes