Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP SQL Anywhere, on-demand edition 1.0 SP 6 » Task syntax

DiagnoseDatabase task

Diagnoses the current status of a database.

Syntax 1 (SQL)
CALL DBCloud.DiagnoseDatabase ( database_list=database_list )
Syntax 2 (Cloud Command utility)
dbcloudcmd run DiagnoseDatabase database_list
Parameters
  • database_list

    A list of databases to diagnose. Accepts a search query that identifies databases. The search query can be a list of database names or IDs separated by semicolons (;), or a full search. (Required)

  • extra_notes

    An output parameter. Internal use only.

Required privileges

StartStopDatabase

Remarks

After the diagnosis completes, the current status of the tenant database, including its database copies, is updated. You may need to repair some or all of the databases.

Example

Run the following task to diagnose all databases tagged DBGroupK:

dbcloudcmd run DiagnoseDatabase database_list=tag:DBGroupK