ManagedMySqlDatabaseBinaryLogInformation

class oci.database_management.models.ManagedMySqlDatabaseBinaryLogInformation(**kwargs)

Bases: object

Information pertaining to the binary logs of a MySQL server. MySQL support within OCI Database Management service has been deprecated as of January 29, 2026.

Methods:

__init__(**kwargs)

Initializes a new ManagedMySqlDatabaseBinaryLogInformation object with values from keyword arguments.

Attributes:

binary_log_compression

Gets the binary_log_compression of this ManagedMySqlDatabaseBinaryLogInformation.

binary_log_compression_percent

Gets the binary_log_compression_percent of this ManagedMySqlDatabaseBinaryLogInformation.

binary_log_format

Gets the binary_log_format of this ManagedMySqlDatabaseBinaryLogInformation.

binary_log_name

Gets the binary_log_name of this ManagedMySqlDatabaseBinaryLogInformation.

binary_log_position

Gets the binary_log_position of this ManagedMySqlDatabaseBinaryLogInformation.

binary_logging

[Required] Gets the binary_logging of this ManagedMySqlDatabaseBinaryLogInformation.

__init__(**kwargs)

Initializes a new ManagedMySqlDatabaseBinaryLogInformation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • binary_logging (str) – The value to assign to the binary_logging property of this ManagedMySqlDatabaseBinaryLogInformation.

  • binary_log_format (str) – The value to assign to the binary_log_format property of this ManagedMySqlDatabaseBinaryLogInformation.

  • binary_log_compression (str) – The value to assign to the binary_log_compression property of this ManagedMySqlDatabaseBinaryLogInformation.

  • binary_log_compression_percent (int) – The value to assign to the binary_log_compression_percent property of this ManagedMySqlDatabaseBinaryLogInformation.

  • binary_log_name (str) – The value to assign to the binary_log_name property of this ManagedMySqlDatabaseBinaryLogInformation.

  • binary_log_position (int) – The value to assign to the binary_log_position property of this ManagedMySqlDatabaseBinaryLogInformation.

property binary_log_compression

Gets the binary_log_compression of this ManagedMySqlDatabaseBinaryLogInformation. Indicates whether compression is enabled for transactions written to binary log files on the MySQL server.

Returns

The binary_log_compression of this ManagedMySqlDatabaseBinaryLogInformation.

Return type

str

property binary_log_compression_percent

Gets the binary_log_compression_percent of this ManagedMySqlDatabaseBinaryLogInformation. The compression ratio for the binary log, expressed as a percentage.

Returns

The binary_log_compression_percent of this ManagedMySqlDatabaseBinaryLogInformation.

Return type

int

property binary_log_format

Gets the binary_log_format of this ManagedMySqlDatabaseBinaryLogInformation. The binary logging format used by the MySQL server.

Returns

The binary_log_format of this ManagedMySqlDatabaseBinaryLogInformation.

Return type

str

property binary_log_name

Gets the binary_log_name of this ManagedMySqlDatabaseBinaryLogInformation. The name of the binary log file.

Returns

The binary_log_name of this ManagedMySqlDatabaseBinaryLogInformation.

Return type

str

property binary_log_position

Gets the binary_log_position of this ManagedMySqlDatabaseBinaryLogInformation. The position within the binary log file.

Returns

The binary_log_position of this ManagedMySqlDatabaseBinaryLogInformation.

Return type

int

property binary_logging

[Required] Gets the binary_logging of this ManagedMySqlDatabaseBinaryLogInformation. The status of binary logging on the MySQL server.

Returns

The binary_logging of this ManagedMySqlDatabaseBinaryLogInformation.

Return type

str