Creating a DB System
Use the Console, a command-line interface, or the REST API to create a MySQL HeatWave DB system.
- Using the Console
- Using the CLI With JSON Payload
- Using the CLI Without JSON Payload
- Using the REST API, run the CreateDbSystem operation.
Using the Console
Use the Console to create a DB system.
If you encounter
OutOfHostCapacity work request error while creating a DB system, see Resolving OutOfHostCapacity Error.
                     Related Topics
Create DB System Template
The create DB system template provides a set of recommended default values suitable for different environment.
Table 6-1 Default values for different templates
| Production | Development or testing | Always Free | |
|---|---|---|---|
| High availability | Enabled | Disabled | Not available | 
| Shape | A shape with 64GB memory size | A shape with 8GB memory size | A shape with 8GB memory size | 
| Storage size | 1024GB | 50GB | 50GB | 
| Automatic backups | Enabled | Enabled | Enabled | 
| Point-in-time recovery | Enabled | Enabled | Not available | 
| Delete protected | Enabled | Disabled | Enabled | 
| Automatic backups retention | Enabled | Disabled | Enabled | 
| Final backup | Require final backup | Skip final backup | Skip final backup | 
Using the CLI With JSON Payload
Use the command-line interface to create a DB system with a JSON payload and import data from an Object Storage bucket.
- A compartment Oracle Cloud Identifier (OCID).
- A policy that permits you to create DB system in the compartment or tenancy.
- A properly configured CLI installation and the requisite SSH keys. See Command Line Interface.
- A properly configured VCN. See Creating a Virtual Cloud Network.
- A Pre-Authenticated Request (PAR) URL of the bucket or bucket prefix. See Using Pre-Authenticated Requests.
Related Topics
Using the CLI Without JSON Payload
Use the command-line interface to create a DB system without a JSON payload and import data from an Object Storage bucket.
- A compartment Oracle Cloud Identifier (OCID).
- A policy that permits you to create DB systems in the compartment or tenancy.
- A properly configured CLI installation and the requisite SSH keys. See Command Line Interface.
- A properly configured VCN. See Creating a Virtual Cloud Network.
- A Pre-Authenticated Request (PAR) URL of the bucket or bucket prefix. See Using Pre-Authenticated Requests.
The command creates a DB system with backup and imports data from Object Storage using a pre-authenticated request (PAR) URL and you get a response similar to the following, which summarizes the request and creates your DB system:
{
  "data": {
    "access-mode": "UNRESTRICTED",
    "availability-domain": "nnnn:<region>-AD-1",
    "backup-policy": {
      "copy-policies" : [
         {
            "backup-copy-retention-in-days" : 7,
            "copy-to-region" : "<region>"             
         }
      ],
      "is-enabled": true,
      "pitr-policy": {    
         "is-enabled": true
      },
      "retention-in-days": 7,
      "softDelete": "ENABLED",
      "window-start-time": "00:10",
    },
    "channels": [],
    "compartment-id": "ocid1.compartment.oc1...<alphaNumericString>",
    "configuration-id": "ocid1.mysqlconfiguration.oc1...<alphaNumericString>",
    "crash-recovery": "ENABLED",
    "current-placement": {
      "availability-domain": null,
      "fault-domain": null
    },
    "customer-contacts": null,
    "data-storage": {
      "allocated-storage-size-in-gbs": 50,
      "data-storage-size-in-gbs": 50,
      "data-storage-size-limit-in-gbs": 32768,
      "is-auto-expand-storage-enabled": false,
      "max-storage-size-in-gbs": null
    },
    "data-storage-size-in-gbs": 50,
    "database-management": "DISABLED",
    "database-mode": "READ_WRITE",
    "defined-tags": {
      "Oracle-Tags": {
        "CreatedBy": "<userEmail>",
        "CreatedOn": "2021-06-04T10:02:32.140Z"
      }
    },
    "deletion-policy": {
      "automatic-backup-retention": "DELETE",
      "final-backup": "SKIP_FINAL_BACKUP",
      "is-delete-protected": false
    },
    "description": "This is my DBSystem",
    "display-name": "MyDBSystem",
    "endpoints": [],
    "fault-domain": null,
    "freeform-tags": {},
    "heat-wave-cluster": null,
    "hostname-label": null,
    "id": "ocid1.mysqldbsystem.oc1.iad.<alphaNumericString>",
    "ip-address": null,
    "is-heat-wave-cluster-attached": false,
    "is-highly-available": false,
    "lifecycle-details": null,
    "lifecycle-state": "CREATING",
    "maintenance": {
      "window-start-time": "TUESDAY 06:46"
    },
    "mysql-version": null,   
    "point-in-time-recovery-details": null
    "port": null,
    "port-x": null,
    "read-endpoint": {
      "exclude-ips": [],
      "is-enabled": false,
      "read-endpoint-hostname-label": null,
      "read-endpoint-ip-address": null
    },
    "secure-connections": {
      "certificate-generation-type": "SYSTEM",
      "certificate-id": null
    },
    "shape-name": "MySQL.2",
    "source": {
      "source-type": "IMPORTURL",
      "sourceURL":"PARURL"
    },
    "subnet-id": "ocid1.subnet.oc1.iad.<alphaNumericString>",
    "time-created": "2025-04-04T10:02:37.186000+00:00",
    "time-updated": "2025-04-04T10:02:37.186000+00:00"
  },
  "etag": "<alphaNumericString>",
  "opc-work-request-id": "ocid1.mysqlworkrequest.oc1.iad.<alphaNumericString>"
}Related Topics