Managing Tags

Use tags to organize and list resources based on your business needs.

Using the Console

Use the Console to manage tags on DB systems and resources.

  1. Open the navigation menu, and select Databases. Under MySQL HeatWave, select the resource you want to manage.
  2. Choose your compartment from the Compartment list.
  3. In the list of resources, click the name of the resource to open the Details page. Then, open the Tags tab.
  4. On the Tags tab, click Add.
  5. On the Add Tags dialog box, specify the Tag Namespace, Tag Key, and Tag Value.
  6. (Optional) If you want to add more tags, click Add Tag.
  7. Click Add.

Related Topics

Using the CLI

Use the command-line interface to manage tags on a DB system.

This task requires the following:
  • A DB system Oracle Cloud Identifier (OCID).
  • A properly configured CLI installation and the requisite SSH keys. See Command Line Interface.
  1. Open a command prompt and run the following command:
    oci mysql db-system update --db-system-id <DBSystemOCID> --defined-tags <DefinedTags> --freeform-tags <FreeformTags>
    • db-system-id: Specify the OCID of the DB system.
    • defined-tags: Specify defined tags.
    • freeform-tags: Specify free-form tags.
The command updates the DB system and returns the work request information.