SqlCpuActivity¶
- class oci.database_management.models.SqlCpuActivity(**kwargs)¶
Bases:
objectThe SQL CPU activity from the Exadata storage server.
Methods:
__init__(**kwargs)Initializes a new SqlCpuActivity object with values from keyword arguments.
Attributes:
Gets the cpu_activity of this SqlCpuActivity.
Gets the database_name of this SqlCpuActivity.
Gets the sql_id of this SqlCpuActivity.
- __init__(**kwargs)¶
Initializes a new SqlCpuActivity object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
database_name (str) – The value to assign to the database_name property of this SqlCpuActivity.
sql_id (str) – The value to assign to the sql_id property of this SqlCpuActivity.
cpu_activity (float) – The value to assign to the cpu_activity property of this SqlCpuActivity.
- property cpu_activity¶
Gets the cpu_activity of this SqlCpuActivity. The CPU activity percentage.
- Returns
The cpu_activity of this SqlCpuActivity.
- Return type
float
- property database_name¶
Gets the database_name of this SqlCpuActivity. The database name.
- Returns
The database_name of this SqlCpuActivity.
- Return type
str
- property sql_id¶
Gets the sql_id of this SqlCpuActivity. The SQL ID.
- Returns
The sql_id of this SqlCpuActivity.
- Return type
str