Creating a Custom Configuration
Create a custom configuration for the DB system.
Note
The custom configurations created with these steps only support standalone DB systems. If you want to create a custom configuration that supports high availability DB systems, you have to perform the steps in Copying a Configuration.
The custom configurations created with these steps only support standalone DB systems. If you want to create a custom configuration that supports high availability DB systems, you have to perform the steps in Copying a Configuration.
Using the Console
Use the Console to create a custom configuration for the DB system.
This task requires the following:
- A policy that permits you to create configurations in the compartment or tenancy.
Do the following to create a custom configuration using the
console:
Using the CLI
Use the command-line interface to create a custom configuration for the DB system.
This task requires the following:
- A compartment Oracle Cloud Identifier (OCID).
- A policy that permits you to create configurations in the compartment or tenancy.
- A properly configured CLI installation and the requisite SSH keys. See Command Line Interface.
Create a custom configuration using the CLI:
If the command validates and runs successfully, you get a response similar to the following, which summarizes the request and creates the configuration:
{
"data": {
"compartment-id": "ocid1.compartment.oc1..longAlphanumericString",
"defined-tags": {
"Oracle-Tags": {
"CreatedBy": "userName",
"CreatedOn": "2024-07-18T01:12:58.850Z"
}
},
"description": "This is a user defined descrption",
"display-name": "ConfigName",
"freeform-tags": {},
"id": "ocid1.mysqlconfiguration.oc1.longAlphanumericString",
"init-variables": {
"lower-case-table-names": "CASE_SENSITIVE"
},
"lifecycle-state": "ACTIVE",
"parent-configuration-id": "ocid1.mysqlconfiguration.oc1..longAlphanumericString",
"shape-name": "MySQL.4",
"time-created": "2024-07-18T01:12:58.894000+00:00",
"time-updated": "2024-07-18T01:12:58.894000+00:00",
"type": "CUSTOM",
"variables": {
"autocommit": true,
"big-tables": null,
"binlog-expire-logs-seconds": 3600,
"binlog-row-metadata": null,
"binlog-row-value-options": "PARTIAL_JSON",
"binlog-transaction-compression": null,
"completion-type": null,
"connect-timeout": 20,
"connection-memory-chunk-size": null,
"connection-memory-limit": null,
"cte-max-recursion-depth": null,
"default-authentication-plugin": null,
"foreign-key-checks": null,
"generated-random-password-length": null,
"global-connection-memory-limit": null,
"global-connection-memory-tracking": null,
"group-replication-consistency": "BEFORE_ON_PRIMARY_FAILOVER",
"information-schema-stats-expiry": null,
"innodb-buffer-pool-dump-pct": null,
"innodb-buffer-pool-instances": 4,
"innodb-buffer-pool-size": 21474836480,
"innodb-ddl-buffer-size": null,
"innodb-ddl-threads": null,
"innodb-ft-enable-stopword": null,
"innodb-ft-max-token-size": null,
"innodb-ft-min-token-size": null,
"innodb-ft-num-word-optimize": null,
"innodb-ft-result-cache-limit": 33554432,
"innodb-ft-server-stopword-table": null,
"innodb-lock-wait-timeout": null,
"innodb-log-writer-threads": null,
"innodb-max-purge-lag": null,
"innodb-max-purge-lag-delay": 300000,
"innodb-stats-persistent-sample-pages": null,
"innodb-stats-transient-sample-pages": null,
"interactive-timeout": null,
"local-infile": true,
"mandatory-roles": "public",
"max-allowed-packet": null,
"max-binlog-cache-size": 4294967296,
"max-connect-errors": null,
"max-connections": 2000,
"max-execution-time": null,
"max-heap-table-size": null,
"max-prepared-stmt-count": null,
"mysql-firewall-mode": null,
"mysql-zstd-default-compression-level": null,
"mysqlx-connect-timeout": null,
"mysqlx-deflate-default-compression-level": null,
"mysqlx-deflate-max-client-compression-level": null,
"mysqlx-document-id-unique-prefix": null,
"mysqlx-enable-hello-notice": null,
"mysqlx-idle-worker-thread-timeout": null,
"mysqlx-interactive-timeout": null,
"mysqlx-lz4-default-compression-level": null,
"mysqlx-lz4-max-client-compression-level": null,
"mysqlx-max-allowed-packet": null,
"mysqlx-min-worker-threads": null,
"mysqlx-read-timeout": null,
"mysqlx-wait-timeout": null,
"mysqlx-write-timeout": null,
"mysqlx-zstd-default-compression-level": null,
"mysqlx-zstd-max-client-compression-level": null,
"net-read-timeout": null,
"net-write-timeout": null,
"parser-max-mem-size": null,
"query-alloc-block-size": null,
"query-prealloc-size": null,
"regexp-time-limit": null,
"sort-buffer-size": null,
"sql-mode": null,
"sql-require-primary-key": null,
"sql-warnings": null,
"thread-pool-dedicated-listeners": null,
"thread-pool-max-transactions-limit": null,
"time-zone": "UTC",
"tmp-table-size": null,
"transaction-isolation": null,
"wait-timeout": null
}
},
"etag": "longAlphanumericString"
}