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

V3.3.3Enterprise Edition

  • Document Overview
  • What's New
    • What's New
  • Overview
    • What is ODC?
    • Benefits
    • Architecture
    • Features
    • Limits
  • Quick Start
    • Overview
    • Install ODC
    • Log on to ODC with an account
    • Create a private connection
  • Tutorials
    • Tips on the SQL Console
    • Create a connection
    • Export data
    • Import data
    • Debug a stored procedure
    • View the performance of an SQL statement
  • User Guide (Web ODC)
    • ODC homepage
    • Recycle bin
    • View operation records
    • Session management
    • Help center
    • Database objects
      • Table objects
        • Overview
        • Create a table
        • Table list
        • Manage table attributes
        • Manage table data
      • Trigger objects
        • Overview
        • Create a trigger
        • Manage triggers
      • Stored procedure objects
        • Overview
        • Create a stored procedure
        • Manage stored procedures
      • Package objects
        • Overview
        • Create a program package
        • Manage program packages
      • Function objects
        • Overview
        • Create a function
        • Manage functions
      • Type objects
        • Overview
        • Create a type
        • Manage types
      • Synonym objects
        • Overview
        • Create a synonym
        • Manage synonyms
      • View objects
        • Overview
        • Create a view
        • Manage views
      • Sequence objects
        • Create a sequence
        • Manage sequences
        • Overview
    • Public resource management
      • Overview
      • Quick start
      • Manage task processes
      • Manage operation records
      • System settings
      • Resource permissions
        • Manage public connections
        • Manage resource groups
        • Manage roles
        • Manage users
    • Use the workspace
      • Overview
      • SQL window
      • Anonymous block window
      • Command-line window
      • Stored scripts
      • Snippet
    • Task management
      • Overview
      • Import tasks
      • Export tasks
      • Data mocking tasks
      • Database change tasks
    • Use tools
      • Data export and import
        • Overview
        • Export and import formats
        • Batch export and import
        • Single table export and import
      • Data mocking
      • Database changes
    • Log on to ODC
      • Log on to ODC with an account
      • Change the password
    • Connect to a database
      • Create a private connection
      • Manage private connections
  • User Guide (Client ODC)
    • Install ODC
    • ODC homepage
    • Recycle bin
    • View operation records
    • Session management
    • Help center
    • Connect to a database
      • Establish a connection
      • Manage connections
    • Database objects
      • Type objects
        • Overview
        • Create a type
        • Manage types
      • Synonym objects
        • Overview
        • Create a synonym
        • Manage synonyms
      • Trigger objects
        • Overview
        • Create a trigger
        • Manage triggers
      • Table objects
        • Overview
        • Create a table
        • Table list
        • Manage table attributes
        • Manage table data
      • Stored procedure objects
        • Overview
        • Create a stored procedure
        • Manage stored procedures
      • Package objects
        • Overview
        • Create a program package
        • Manage program packages
      • Function objects
        • Overview
        • Create a function
        • Manage functions
      • Sequence objects
        • Overview
        • Create a sequence
        • Manage sequences
      • View objects
        • Overview
        • Create a view
        • Manage views
    • Use the workspace
      • Overview
      • SQL window
      • Anonymous block window
      • Command-line window
      • Stored scripts
      • Snippet
    • Task management
      • Overview
      • Import tasks
      • Export tasks
      • Data mocking tasks
      • Database Change
    • Use tools
      • Data mocking
      • Asynchronous execution
      • Data export and import
        • Overview
        • Export and import formats
        • Batch export and import
        • Single table export and import
  • Deployment Guide
    • Deployment overview
    • Preparations before deployment
    • Deployment verification
    • Deploy a single ODC node
      • Deployment process
      • Load and run an ODC image
    • Deploy ODC in high availability mode
      • Deployment process
      • Load and run an ODC image
      • Deploy SSL certificate
      • Deploy the NGINX proxy
      • Configure certificate trust
  • Upgrade Guide
    • Overview
    • Preparations before upgrade
    • Upgrade verification
    • Rollback after upgrade failed
    • Upgrade high-availability
      • Upgrade process
      • Stop ODC of the earlier version
      • Load and run an ODC image
      • Upgrade NGINX image
    • Upgrade single-node ODC
      • Upgrade process
      • Stop ODC of the earlier version
      • Load and run an ODC image
  • FAQ

Download PDF

Document Overview What's New What is ODC? Benefits Architecture Features Limits Overview Install ODC Log on to ODC with an account Create a private connection Tips on the SQL Console Create a connection Export data Import data Debug a stored procedure View the performance of an SQL statement ODC homepage Recycle bin View operation records Session management Help center Overview Quick start Manage task processes Manage operation records System settings Overview SQL window Anonymous block window Command-line window Stored scripts Snippet Overview Import tasks Export tasks Data mocking tasks Database change tasks Data mocking Database changes Log on to ODC with an account Change the password Create a private connection Manage private connections Install ODC ODC homepage Recycle bin View operation records Session management Help center Establish a connection Manage connections Overview SQL window Anonymous block window Command-line window Stored scripts Snippet Overview Import tasks Export tasks Data mocking tasks Database Change Data mocking Asynchronous execution Deployment overview Preparations before deployment Deployment verificationDeployment process Load and run an ODC image Deployment process Load and run an ODC image Deploy SSL certificate Deploy the NGINX proxy Configure certificate trust Overview Preparations before upgrade Upgrade verification Rollback after upgrade failed Upgrade process Stop ODC of the earlier version Load and run an ODC image Upgrade NGINX image Upgrade process Stop ODC of the earlier version Load and run an ODC image FAQ
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 Developer Center
  3. V3.3.3
iconOceanBase Developer Center
V 3.3.3Enterprise 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
  • V 4.4.3
  • 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

Database changes

Last Updated:2023-06-25 03:27:17  Updated
Share
What is on this page
Overview
Procedure

folded

Share

Overview

Statements in the SQL window of OceanBase Developer Center (ODC) are executed synchronously. Therefore, the execution may time out when the statement runs for a long time. You can use the database change tool to run time-consuming SQL statements to avoid execution timeout.

Image 441

Procedure

To create a database change task, perform the following steps:

  1. Go to the Database Change panel.

    1. Log on to the ODC homepage, and click the name of the target connection to go to the corresponding database object management page.

    2. Click Tool in the top navigation bar.

    3. Select Database Change in the drop-down list. The Create Database Change Task panel appears.

  2. View Connection . The current connection is selected by default and you cannot switch to another connection.

  3. Specify Database . The current database is selected by default.

  4. Specify SQL Content .

    The database change supports two ways to specify SQL content: * SQL Entry : This is the default way to specify SQL content. You can directly write the SQL script in the editing area.

    Note

    • You can click IN Value Conversion to convert the batch copied data into the in('A','B') format.

    • Upload File : Click the file pool to go to the file explorer and select the file to be imported. You can also directly drag the file to the file pool to upload it.

    Note

    • You can upload up to 500 files. The total file size cannot exceed 256 MB.

    • By default, files are sorted by the order in which they were uploaded. You can drag and drop them to change the order. Tasks are executed in the file order.

    • Only SQL files suffixed with .sql are supported.

  5. Specify Rollback Plan .

    You can write an SQL script or upload a file to specify the rollback plan. For more information, see the step of specifying SQL Content.

  6. Delimiter : The delimiters are supported.

  7. Query Result Limit : You can set the number of data rows in the query result. Value range: 1 to 1000000.

  8. Specify Task Error Handling Method .

    The database change tool supports two methods to handle task errors: * Abort Task : This is the default option. When you select this option, the task is aborted if an error occurs when you run the script.

    • Ignore Error and Continue : When you select this option, the system skips the statement where an error occurs and continues to execute other statements in the script.
  9. Specify Execution Timeout Value .

    Specify the value in the Execution Timeout Value field in hours. Default value: 48. Maximum value: 480.

  10. Optional. Specify the task description.

    You can enter a description of no more than 200 characters in Description .

  11. Generate a database change task.

    After you specify the above information in the panel, click Create to submit the information to generate the database change task.

  12. After the task is created, the Task Center > Database Change page automatically appears. You can click View to go to the task details page, which displays Task Information , Result , and Task Logs .

Previous topic

Data mocking
Last

Next topic

Recycle bin
Next
What is on this page
Overview
Procedure