The Serverless workbench displays basic information, performance monitoring data, agents, and zones for your Serverless instance.
Procedure
Log on to the OceanBase Management Console.
In the navigation pane on the left, click Instance List.
In the instance list, click the name of the target Serverless instance to open the Serverless workbench.
In the upper-right corner, you can click buttons to create an account, log on to a database, or create a database. You can also click the More icon to modify the computing power range of the Serverless instance or release the instance.
In the Basic Information section, you can view information about the Serverless instance, such as the billing method, instance type, series, deployment mode, zone, creation time, computing power, and used storage.
Parameter
Description
Mode
The mode of the current Serverless instance. Only MySQL mode is supported.
Deployment Mode
Only the dual-data center deployment solution is supported.
Zone
The zone that you selected when you created the Serverless instance.
Storage class
The storage class of the current Serverless instance. Only Enhanced SSD (ESSD) PL1 disks are supported.
Binlog Service
The Binlog service collects transaction logs from OceanBase and transforms them into MySQL binary logs. This is mainly used for incremental data subscription. You can enable this service as needed.
NoteThe Binlog service is available only to users on the whitelist. To enable this service, contact OceanBase technical support.
Data Merge
Click Operation and select Modify Merge Time to modify the data merge time for the Serverless instance.
In the Performance Monitoring section, you can view monitoring data for the Serverless instance from the last hour, including the average number of SQL statements processed per second, response time, and OceanBase Compute Unit (OCU). Click the drill-down icon
to view detailed information for a specific metric. Click More Monitoring to view more performance monitoring information.Metric
Metric Name
Description
Average number of SQL statements processed per second
sql_all_count
The number of SQL statements processed per second. Unit: times/s.
Response Time
sql_all_rt
The average time it takes to process an SQL statement. Unit: ms.
OCU
ocu
A unit of Serverless compute resource. One OceanBase Compute Unit (OCU) is equivalent to approximately 1 vCPU and 2 GB of memory.
In the Deployment Diagram section, you can view the agent and zone information for the current Serverless instance.
Click How to Connect to a Database. For more information, see Connect to an OceanBase database.
When you connect to the instance for the first time, you must add the client IP address to the cluster whitelist. Click Instance Whitelist to open the whitelist settings page.
Click the edit icon next to the private endpoint or public endpoint to modify the endpoint. If a public endpoint does not exist, click Request to request one.
Click the edit icon next to Maximum Connections to modify the maximum number of connections for the public or private endpoint. For more information, see Modify the maximum number of connections for an agent endpoint.
In the upper-right corner, click Switch Primary Zone to switch the primary zone of the Serverless instance. For more information, see Switch the primary zone.
In the upper-right corner, click Add Endpoint to add a read-only or read/write endpoint for the Serverless instance. For more information, see Add an endpoint.