In this blog post, we are going to cover about the steps to delete a database deployment and If you are new to Oracle Cloud then, refer to our previous blog, where Oracle ACE, Atul Kumar is showing the demo on the Steps to Register For FREE Oracle Cloud Trial Account
So first of all, let’s discuss what happens when you delete a database deployment and here it is:
1. The database deployment terminates the Oracle database which gets dropped.
2. The compute node get deallocated.
3. All backups to Oracle cloud storage are deleted (if any of the backups is enabled).
Database deployment can be deleted using three methods:
1. Oracle DBCS console
2. REST API
3. Oracle-dbcs-cli utility
In this blog, we will walk you through the steps of deleting database deployment using Oracle DBCS Console. So to delete a database deployment:
Note: You cannot delete a database deployment that has any linked-clone deployments created from any of its snapshots. Before you can delete the deployment you must first delete all linked-clone deployments derived from it.
1. Open the Services page of the Oracle Database Cloud Service console.
2. Select Delete from the menu corresponding to the database deployment that you want to delete.
3. Once you click on delete, you would see a status with “terminating instance” and you would be asked to select if all the backups from the cloud storage have to be deleted or not. So by default, if you don’t check that or cancel that then the backup will retain there and if you check “delete backups” then you would have the capability to delete all your backups in the cloud or if you want to retain that and create a database instance in the later stage, You could do that as well.
Note: The option to delete the backups associated with the database deployment only exists for deployments that are created using Database Cloud Service release 17.1.5 or later.
4. Now if you go to the Activity section. From there, you can see the status of what is happening for that particular instance.
So that’s all aout deleting a dbcs instance. Once deleted, the entry is removed from the list of database deployments displayed on the Oracle Database Cloud Service console.
This post is from one of the modules of our DBA to Cloud DBA course. So to learn more and earn higher or upgrade your skills then check out our DBA to Cloud DBA course where we cover cloud Overview & Concepts, Cloud Services,Create Database,Security, Storage Cloud & REST API,Management Tools: DBaaSCLI, DBCSCLI, EMExpress, Backup & Recovery DB in Cloud, Migrate On-Premise DB to Cloud, Hybrid Cloud Management using OEM CC 13c, Performance Management and much more.
If you are just starting out in Cloud then I highly recommend you to go through these posts first
- Cloud for Beginners (Facebook Live): SaaS | PaaS | IaaS and which one is right for DBAs.
- 12 Point Checklist for DBA for Beginner to Expert Cloud DBA (Facebook Live)
- If you are confused to pick Amazon AWS or Oracle Cloud then check this
- Check tasks performed by Oracle DBAs in Cloud here
Did You Start Your Cloud Journey?
Get a FREE Copy in your Inbox with Steps to Register for Oracle Cloud and get 300 USD FEE Credit to Practice and Join our Private Closed Facebook Group for Oracle Cloud Community