OceanBase logo

OceanBase

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

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

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

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 Developer Center

V4.4.0

  • Topics Overview
  • Overview
    • What is ODC?
    • Features
    • Architecture
    • Limitations
    • ODC console
  • Quick Start
    • Client ODC
      • Overview
      • Install Client ODC
      • Use Client ODC
    • Web ODC
      • Overview
      • Deploy Web ODC
      • Use Web ODC
  • Data Source Management
    • Create a data source
    • Data sources and project collaboration
    • Database O&M
      • Session management
      • Global variable management
      • Recycle bin management
  • SQL Development
    • Edit and execute SQL statements
    • Perform PL compilation and debugging
    • Use the command-line window
    • Edit and export the result set of an SQL statement
    • Execution analysis
    • Generate test data
    • System settings
    • Database objects
      • Table objects
        • Overview
        • Create a table
      • View objects
        • Overview
        • Create a view
        • Manage views
      • Materialized view objects
        • Overview
        • Create a materialized view
        • Manage materialized views
      • Function objects
        • Overview
        • Create a function
        • Manage functions
      • Stored procedure objects
        • Overview
        • Create a stored procedure
        • Manage stored procedures
      • Sequence objects
        • Overview
        • Create a sequence
        • Manage sequences
      • Package objects
        • Overview
        • Create a program package
        • Manage program packages
      • Trigger objects
        • Overview
        • Create a trigger
        • Manage triggers
      • Type objects
        • Overview
        • Create a type
        • Manage types
      • Synonym objects
        • Overview
        • Create a synonym
        • Manage synonyms
  • Import and Export
    • Import schemas and data
    • Export schemas and data
  • Database Change Management
    • Manage user permissions
      • Users and roles
      • Automatic authorization
      • User permission management
    • Project collaboration management
    • Risk levels, risk identification rules, and approval processes
    • SQL check specifications
    • SQL window specification
    • Database change management
    • Manage changes to logical databases
    • Batch database change management
    • Online schema changes
    • Synchronize shadow tables
    • Schema comparison
  • Data Lifecycle Management
    • Data archiving
    • Data cleanup
    • Manage partitioning plans
      • Manage partitioning plans
      • Set partitioning strategies
      • Examples of partitioning strategies
    • SQL plan task
  • Data Masking and Auditing
    • Desensitize data
    • Operation records
  • Notification Management
    • Overview
    • View notification records
    • Manage notification channels
      • Create a notification channel
      • View, edit, and delete a notification channel
      • Configure a custom channel
    • Manage notification rules
  • System Integration
    • Login integration
    • Approval integration
    • SQL approval integration
    • Bastion host integration
  • Deployment Guide
    • Deployment overview
    • Preparations before deployment
    • Deploy ODC in single-node mode
    • Deploy ODC in high-availability mode
    • Deployment verification
  • Upgrade Guide
    • Upgrade Overview
    • Preparations before upgrade
    • Update single-node ODC
    • Update high-avaliability ODC
    • Upgrade verification
    • Rollback after upgrade failed
  • Best Practices
    • Tips for SQL development
    • Explore ODC team workspaces
    • Understanding real-time SQL diagnostics for OceanBase AP
    • OceanBase historical database solutions
    • ODC SQL check for automatic identification of high-risk operations
    • Integration with ODC enterprise-level account system
    • Manage and modify sharded databases and tables via ODC
    • Data masking and control practices
    • Enterprise-level control and collaboration: Safeguard every database change
  • Troubleshooting
    • ODC troubleshooting process
    • Collect message
      • View the runtime environment and version information
      • View web ODC logs
      • View client ODC logs
      • View end-to-end ODC-related logs
      • View ODC MetaDB data
      • Query the index status in OceanBase Database V4.x
      • Query the index status in OceanBase Database V1.4.x to V3.2.x
      • Collect JVM runtime information
      • Use tcpdump to capture packets
    • FAQ
      • Installation of client ODC
      • Web ODC deployment and startup
      • Connection Information
      • Command-line window
      • DDL statement display
  • Common features
  • Release Notes
    • V4.4
      • ODC V4.4.0
    • V4.3
      • ODC V4.3.4
      • ODC V4.3.3
      • ODC V4.3.2
      • ODC V4.3.1
      • ODC V4.3.0
    • V4.2
      • ODC V4.2.4
      • ODC V4.2.3
      • ODC V4.2.2
      • ODC V4.2.1
      • ODC V4.2.0
    • V4.1
      • ODC V4.1.3
      • ODC V4.1.2
      • ODC V4.1.1
      • ODC V4.1.0
    • V4.0
      • ODC V4.0.2
      • ODC V4.0.0
    • V3.4
      • ODC V3.4.0
    • V3.3
      • ODC V3.3.3
      • ODC V3.3.2
      • ODC V3.3.1
      • ODC V3.3.0
    • V3.2
      • ODC V3.2.3
      • ODC V3.2.2
      • ODC V3.2.1
      • ODC V3.2.0

Download PDF

Topics Overview What is ODC? Features Architecture Limitations ODC console Overview Install Client ODC Use Client ODC Overview Deploy Web ODC Use Web ODC Create a data source Data sources and project collaboration Session management Global variable management Recycle bin management Edit and execute SQL statements Perform PL compilation and debugging Use the command-line window Edit and export the result set of an SQL statement Execution analysis Generate test data System settings Import schemas and data Export schemas and data Users and roles Automatic authorization User permission management Project collaboration management Risk levels, risk identification rules, and approval processes SQL check specifications SQL window specification Database change management Manage changes to logical databases Batch database change management Online schema changes Synchronize shadow tables Schema comparison Data archiving Data cleanup Manage partitioning plans Set partitioning strategies Examples of partitioning strategies SQL plan task Desensitize data Operation records Overview View notification records Create a notification channel View, edit, and delete a notification channel Configure a custom channel Manage notification rules Login integration Approval integration SQL approval integration Bastion host integration Deployment overview Preparations before deployment Deploy ODC in single-node mode Deploy ODC in high-availability mode Deployment verification Upgrade Overview Preparations before upgrade Update single-node ODC Update high-avaliability ODC Upgrade verification Rollback after upgrade failed Tips for SQL development Explore ODC team workspaces Understanding real-time SQL diagnostics for OceanBase AP OceanBase historical database solutions ODC SQL check for automatic identification of high-risk operations Integration with ODC enterprise-level account system Manage and modify sharded databases and tables via ODC Data masking and control practices Enterprise-level control and collaboration: Safeguard every database change ODC troubleshooting process View the runtime environment and version information View web ODC logs View client ODC logs View end-to-end ODC-related logs View ODC MetaDB data Query the index status in OceanBase Database V4.x Query the index status in OceanBase Database V1.4.x to V3.2.x Collect JVM runtime information Use tcpdump to capture packets Installation of client ODC Web ODC deployment and startup Connection Information Command-line window DDL statement display Common features ODC V4.4.0 ODC V4.3.4 ODC V4.3.3 ODC V4.3.2 ODC V4.3.1 ODC V4.3.0 ODC V4.2.4
OceanBase logo

The Unified Distributed Database for the AI Era.

Follow Us
Products
OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
Resources
DocsBlogLive DemosTraining & Certification
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 Developer Center
  3. V4.4.0
iconOceanBase Developer Center
V 4.4.0
  • V 4.4.2
  • V 4.4.1
  • V 4.4.0
  • V 4.3.4
  • V 4.3.3
  • V 4.3.2
  • V 4.3.1
  • V 4.3.0
  • V 4.2.4
  • V 4.2.3
  • V 4.2.2
  • V 4.2.1
  • V 4.2.0
  • V 4.1.3 and earlier

Enterprise-level control and collaboration: Safeguard every database change

Last Updated:2026-04-07 10:00:35  Updated
share
What is on this page
Background information
Build efficient collaboration units based on projects
Build a comprehensive security control system with multi-dimensional factors
Fine-grained permission control based on RBAC model
SQL development rules based on production experience
Risk level configuration based on multiple conditions
Stable changes
References

folded

share

Background information

Typically, there is a significant disparity between the number of DBAs and developers in a company — one DBA may need to support hundreds or even thousands of developers, who often come from different business units. DBAs are deeply involved in database change processes across development, testing, and production stages, including table schema design, schema changes, and data modifications, etc. If this process relies solely on informal coordination ("who you know"), both DBAs and developers will face immense frustration, and the risk of production incidents will increase dramatically.

This scenario highlights two key challenges. One is DBA-developer collaboration: how to prevent DBAs from becoming "support staff" overwhelmed by hundreds of daily requests. And the other is change control: how to govern every database change to avoid catastrophic scenarios like unauthorized data deletion. In ODC V4.2.0, these challenges are addressed with project-centric collaboration and risk level-based control.

In ODC V4.2.0, the concept of "project" is introduced. All database operations performed on ODC must be done within a project. A project can represent an application, a development team, a development department, a business line, or any other relevant entity in your business. You can flexibly decide the correspondence based on the organizational structure of your company. ODC allows you to allocate relevant developers and databases to a project so that the members of the project can "self-manage" database operations, thereby improving collaboration efficiency.

In terms of risk control, ODC implements a granular permission control system based on the RBAC model and extends the model with the concept of project role, making it more applicable to real-world scenarios. Additionally, ODC allows you to host database account and password on the platform to avoid the security risks of account and password distribution. Furthermore, DBAs can set global control rules that apply to all projects, avoiding the need for tedious configuration for each project. These control rules include SQL development rules and risk levels.

This topic describes how ODC enhances collaboration and ensures data security with the core concepts mentioned above.

Build efficient collaboration units based on projects

ODC projects have three built-in project roles: Developer, DBA, and Owner. These roles correspond to different positions in the real world and have different permissions. For example, the project DBA can configure sensitive columns of the project's database to prevent data breaches and approve SQL change tickets submitted by developers through the ticket approval process. The project owner can manage the basic information of the project, including members and roles. After the DBA enters data sources at the global level, they can be assigned to the project. Then, project members can develop and collaborate on databases in the project.

  1. Log in to Web ODC.

  2. In the project list, find the target project and click Members > Add Member. Select the specified user and click OK.

    1

  3. After adding the members, switch to the Database tab and click Add Database to add the target database to the current project.

    2

  4. After the addition is completed, you can view the target database in the database list of the project.

    3

  5. After the addition is completed, you can view the database change tickets initiated by each project member in the ticket list of the corresponding project.

    4

Build a comprehensive security control system with multi-dimensional factors

Fine-grained permission control based on RBAC model

ODC has fully implemented fine-grained permission control based on the RBAC model: Administrators can customize roles and configure various permissions for each role in the User Permissions module. By assigning different roles to users, the system controls each user's permission scope. The procedure is as follows:

  1. Log in to Web ODC.

  2. In the left-side navigation pane, choose User Permissions > Role > Create Role.

  3. On the Create Role page, configure the role. For more information, see Users and roles.

    5

SQL development rules based on production experience

Before introducing SQL development rules, it is necessary to first explain another concept introduced in ODC V4.2.0: environments. Every database managed in ODC is associated with an environment, which currently supports three types: development, testing, and production. Each of these environments corresponds to a customizable set of SQL development rules. Any user making changes to a database in a specific environment will be governed by the SQL development rules of that environment.

For example, if a DBA determines that executing high-risk statements like DROP DATABASE in the SQL window should not be allowed in the production environment, they can set this rule in the SQL development rules for the production environment. This ensures that all databases in the production environment are protected from intentional or accidental deletion.

SQL development rules are divided into two categories: SQL check standards and SQL window standards.

SQL check standards

SQL check rules define the specifications of SQL statements. For example, the select * statement is generally not allowed to be executed in a production database because it might affect database performance. In this case, you can set the improvement level of this rule to "Must Improve" in the SQL check rules of the production environment. Then, no user can execute the select * statement on ODC, no matter what method they use. ODC provides three levels of improvement: No Need to Improve, Approval Required, and Must Improve.

  1. Log in to Web ODC.

  2. In the left-side navigation pane, choose Security Specifications > Environment > SQL check specification.

  3. On the SQL check specification page, view all the SQL check specifications supported.

    6

SQL window standards

SQL window standards define what operations users can perform within the SQL window. For example, administrators can specify which types of SQL statements are permitted for execution in the SQL window. Any SQL statements not included in this allowlist will be blocked, and users must submit database change tickets for prohibited SQL types.

To view the SQL window standards, perform the following steps:

  1. Log in to Web ODC.

  2. In the left-side navigation pane, choose Security Specifications > Environment > SQL window specification.

  3. On the SQL window specification page, you can view all the SQL window tandards supported.

    7

  4. To submit a database change ticket, access the project and choose Ticket > Create Ticket > Database Change.

    8

Risk level configuration based on multiple conditions

In ODC V4.2.0, users can customize risk level identification rules. Different risk levels can be flexibly configured with different approval workflows to achieve granular global control. For example, data exports in production environments are considered high-risk operations, requiring approval from both the project DBA and project owner. Changes to databases with names starting with "dev_" are considered low-risk, where the approval workflow can be simpler, requiring only DBA approval or automatic approval. Using the "Rule Tree" interface, DBAs can easily and flexibly configure these risk identification rules.

  1. Log in to Web ODC.

  2. In the left-side navigation pane, choose Security Specifications > Risk Level > Create Rule.

  3. Under the Risk Level tab, configure approval processes for different risks. For more information, see Risk levels, risk identification rules, and approval processes.

    9

ODC has four built-in risk levels: default, low, medium, and high. You can configure specific risk identification rules and approval processes for each risk level. You can also configure approval nodes in an approval process, which can be a project DBA, project owner, project developer, or automatic approval.

  1. Log in to Web ODC.

  2. In the left-side navigation pane, choose Security Specifications > Risk Level. Then, on the right side of the approval process, click Edit and select Manage approval process from the drop-down list.

  3. On the management approval process page, you can create an approval process or manage existing ones.

Stable changes

In addition to the preceding collaboration and governance features, ODC also offers powerful features such as data lifecycle management, partition management, SQL plan management, data change management, and online schema change management, to protect business operations in different scenarios.

11

References

  • Users and roles
  • Risk levels, identification rules, and approval processes

Previous topic

Data masking and control practices
Last

Next topic

ODC troubleshooting process
Next
What is on this page
Background information
Build efficient collaboration units based on projects
Build a comprehensive security control system with multi-dimensional factors
Fine-grained permission control based on RBAC model
SQL development rules based on production experience
Risk level configuration based on multiple conditions
Stable changes
References