Updated on 2025-01-07 GMT+08:00

Creating a Database

This section describes how to create a database on the DAS console.

Procedure

  1. Log in to the DAS console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner, and under Databases, click Data Admin Service.
  4. In the navigation pane on the left, choose Development Tool.
  5. Locate the DB instance that you want to log in to and click Log In in the Operation column.
  6. In the database list of the Home page, click Create Database.
  7. On the displayed page, enter a database name and set information including recovery mode, compatibility level, and database read-only.

    Table 1 Parameter description

    Parameter

    Description

    Name

    Enter a database name.

    Recovery Mode

    The value is Full by default, indicating a full recovery for the database.

    Compatibility Level

    Multiple versions of RDS for SQL Server are available. The compatibility varies with the database version. A later version is recommended.

    Containment Type

    The value can be None or Partial. This parameter is available only for RDS for SQL Server 2012 (11.x) and later.

    Database Read-only

    The value can be False or True. If True is selected, a read-only database is created.

    Allow Snapshot Isolation

    The value can be False or True. Value True indicates that snapshots are isolated in emergent scenarios to protect the database data.

    Database Files

    By default, row database files and log database files can be added. You can also modify the initial and autogrowth sizes of existing database files if needed.

  8. Confirm the settings and click OK. View the created database in the database list.