BranchDatabaseUsage
¶
Source code in docs_src/capo_amplifygen3/types/branch_database_usage.py
connections
instance-attribute
¶
connections: NotRequired[int]
The number of sessions, including idle sessions, that were connected to the database at the time of SampledAt.
last_used_at
instance-attribute
¶
last_used_at: NotRequired[datetime]
The end of the most recent sampling window in which the database was used, either by a new connection or by load on an existing connection. The value is in ISO-8601 format.
monthly_backend_capacity_unit_hours
instance-attribute
¶
monthly_backend_capacity_unit_hours: NotRequired[float]
The backend capacity unit hours (BCU-hours) that the branch's database used in the current calendar month (UTC). This value is the branch's share of the backend's MonthlyBackendCapacityUnitHours and is counted the same way. The value is 0 when the database used none this month, resets to 0 at 00:00 UTC on the first day of each month, and lags actual use by about one hour. It is absent when the value can't be read.