Database

Prev Next

Available in VPC

When you subscribe to Data Catalog, the catalog and a default database are created automatically. A database is a set of tables storing metadata. In the Database menu, you can check the status of your catalog and create and manage databases.

Database list interface

Basic information for the Database list menu is as follows:
datacatalog-database_screen_ko

Area Description
① Menu name Current menu name and the number of databases being viewed.
② Basic features Features shown when you first open the Database menu.
  • [Create database]: See database creation.
  • [Learn more]: Go to the Data Catalog overview page.
  • [Refresh]: Refresh the database list.
③ Catalog status Catalog status.
  • i-datacatalog-question: Hover to view details for each status
④ Average monthly storage usage Average storage used by the catalog per month. At the beginning of each month, shows usage for the previous month.
⑤ Monthly catalog calls Total number of calls to the catalog per month. Includes calls from the console, APIs, and other services.
⑥ Search bar Search databases by name or by tags you set on databases.
⑧ Database list Database name, description, and created time. Click a name to open Database details.

Database details interface

Basic information for the Database details menu is as follows:
datacatalog-database_screen_ko

Area Description
① Database name The selected database name.
② Delete button Delete this database.
③ Basic information Name, description, location, and created time of this database.
④ Table list Tables created in this database.
⑤ Tag list Tags applied to this database.
⑥ Edit button Click to edit the database’s basic information.
⑦ Create button Click to go to Create table.
⑧ Settings button Click to configure database tags.

Create a database

To create a database:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Big Data & Analytics > Data Catalog.
  2. Navigate to Database.
  3. Click the [Create database] button.
  4. When the Create database popup window appears, enter basic information for the database.
    • Name: Enter a database name.
      • As you cannot edit the database name, enter it with caution.
    • Description: Enter a description for the database.
    • Location: Select an Object Storage bucket where the database will be created.
      • Table locations inherit the database location you enter or select.
  5. If needed, click the Tag settings area to add tags.
    • Click [Add], then enter tag information to add a tag.
    • To delete a tag, select its check box and click [Delete].
    • Click the [Load tag template] button to display the popup window for loading tag templates.
      • Select and click a tag template, and then click the [Add] button to add a tag of the relevant tag template.
      • Click a template to preview its tags.
      • For more information on tag templates, see Tag Template.
  6. Click [Create].

Search for and view database information

To search for databases and view their details:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Big Data & Analytics > Data Catalog.
  2. Navigate to Database.
  3. In the search bar, enter a database name or a tag, then click the i-datacatalog-search.
    • Enter tags in key:value format.
  4. Click a database to view its information.

Edit a database

To edit database information:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Big Data & Analytics > Data Catalog.
  2. Navigate to Database.
  3. Click the name of the database you want to edit to open Database details.
  4. To edit basic information, click [Edit] in Basic information.
    • Make your changes in the Edit database popup, and save.
    • For field descriptions, see Create a database.
    • Click the [Save] button.
  5. To edit tags, click [Settings] in Tags.
    • Add or delete tag information in the Tag settings popup.
    • Click the [Save] button.
Caution

If you rename a database in the Data Query or Cloud Hadoop services, the scanner might not find that database during its runs and may not operate properly.

Delete a database

To delete a database you created:

Caution

Deleting a database detaches the database and its tables. Deleted databases and table data cannot be recovered.

Note

You cannot delete the default database named default.

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Big Data & Analytics > Data Catalog.
  2. Navigate to Database.
  3. Click the name of the database you want to delete.
    • open Database details.
  4. Click the [Delete] button.
  5. When the confirmation popup appears, select a delete option, review the warnings, and click [Delete].
    • Delete all: Deletes the database and all its tables, and also deletes data at the database’s Object Storage location.
    • Delete database and tables only: Deletes the database and all its tables, but preserves the database’s Object Storage location.