A data domain stores data of the same type. You can design and create data domains for your business data based on different dimensions, such as business types, data sources, and data usage. Data domains help you search for data in an efficient manner. The classification criteria of data domains vary based on data usage. For example, e-commerce data domains include transaction domains, member domains, and commodity domains.

Background information

A data domain is a high-level data classification standard. It is a collection of business processes that are abstracted, refined, and combined. A data domain is the first data grouping entry for business personnel. It helps business personnel quickly locate the desired business data from large amounts of data.

Data domainAfter a data domain is created, you can perform the following operations:
  • Plan and create business processes in the data domain, and add existing business processes to the data domain. You can view all of the business processes that the data domain contains on the details page of the data domain.
  • Associate data metrics and dimension tables with the data domain when you create the data metrics and dimension tables. You can view all of the data metrics that are associated with the data domain on the Data Metric page and view all of the dimension tables that are associated with the data domain on the Dimensional Modeling page.
This topic describes how to create a data domain, add existing business processes to the data domain, and manage the data domain. For more information, see Create a data domain and View the details about a data domain and add existing business processes to the data domain.

Create a data domain

By default, DataWorks Data Modeling creates a data domain named default. If you do not specify a data domain when you create a business process, the business process is added to the default data domain. You can create data domains based on your business requirements. To create a data domain, perform the following steps:

  1. Go to the Data Modeling page.
    1. Log on to the DataWorks console.
    2. In the left-side navigation pane, click Workspaces.
    3. In the top navigation bar, select the region where the workspace that you want to manage resides. Find the workspace and click Data Analytics in the Actions column.
    4. On the DataStudio page, click the Icon icon in the upper-left corner and choose All Products > Data Modeling.
  2. In the left-side navigation pane of the Data Warehouse Planning page, choose Common layer > Data Domain. The Data Domain page appears.
  3. Create a data domain.
    1. On the Data Domain page, click Create.
    2. In the Create Data Domain dialog box, configure the parameters.
      Create a data domain
      Parameter Description
      Abbreviation The abbreviation of the data domain name. The abbreviation is used when you configure the Rule Definition parameter for a checker at a data layer. The checker is used to check whether the name of a table follows the naming conventions of the data layer. For more information, see Configure a data layer checker.

      The abbreviation can be a maximum of 128 characters in length and can contain lowercase letters, digits, and underscores (_). The abbreviation must start with a lowercase letter.

      Name The name of the data domain.

      The name can be up to 2,048 characters in length, and can contain letters, digits, underscores (_), and ampersands (&). It must start with a letter or a digit.

      Display Name The display name of the data domain.

      The name can be a maximum of 2,048 characters in length and can contain letters, digits, underscores (_), ampersands (&), and parentheses (). The name must start with a letter or digit.

      Owner The owner of the data domain. The owner of the default data domain is system.
      Description The description of the data domain.

      The description can be up to 2,048 characters in length.

  4. Click Confirm.

View the details about a data domain and add existing business processes to the data domain

After a data domain is created, you can view the details about the data domain and add existing business processes to the data domain. You can also directly create business processes in the data domain based on your business requirements.

  1. On the Data Domain page, click the data domain to go to the details page of the data domain.
  2. View the details about the data domain.
    In the Basic Information section, you can view the following information: Abbreviation, Name, Display Name, Owner, Created By, Created At, Last Modified By, and Last Modified At. You can also click Edit in the upper-right corner of the Basic Information section to modify the information of the data domain.
    Note DataWorks does not allow you to delete the default data domain.
    Details page of the data domain
  3. Add an existing business process to the data domain.
    After the data domain is created, the system adds a business process whose name suffix is _default to the data domain. You can perform the following operations to add an existing business process to the data domain: Go to the Business Process page, find the desired business process, and then click Edit in the Actions column. In the Edit Business Process dialog box, select the display name of the data domain from the Data Domain drop-down list.
    Note For more information about how to create a business process in the data domain, see Business process.

Manage a data domain

On the Data Domain page, you can perform the following operations on an existing data domain:Manage a data domain
  • View the basic information of the data domain.

    You can view the name, description, and owner of the data domain and the time when the data domain was last modified. This way, you can identify business data in an efficient manner.

  • Modify a data domain.

    You can click the Edit icon of a data domain to modify the basic information of the data domain.

  • Delete a data domain.
    You can click the Delete icon of a data domain to delete the data domain.
    Note
    • DataWorks does not allow you to delete the default data domain.
    • If you want to delete a data domain that contains business processes other than the default business process, you must delete the business processes first.