Understanding Data Catalogs, Databases, and Tables
AI DataLake does not store metadata directly. It forwards all metadata operations to the associated LakeFormation instance.
An AI DataLake workspace functions as a service unit, while a LakeFormation instance serves as the metadata provider. A LakeFormation instance can be associated with multiple workspaces for metadata sharing and permission isolation.
This section describes the basic concepts of data catalogs, databases, and tables. It also covers metadata and data permission management operations provided by LakeFormation.
Relationship among data catalogs, databases, and tables
Data catalogs manage metadata, databases logically organize data, tables define specific datasets, OBS stores data, and LakeFormation centrally governs data permissions.
- A data catalog records data storage locations, table schemas, file formats, and user access permissions.
- A database is a logical container within a data catalog, and it organizes a group of related tables.
- A table defines a specific dataset and describes the storage path, schemas, partition keys, and file formats of the underlying data in an OBS bucket.
Data Catalog
A data catalog is a metadata management system in LakeFormation. It centrally manages all databases and records their locations, permissions, and metadata (data about data). A data catalog does not directly store raw data. Instead, it stores metadata.
Database
A database is a logical container within a data catalog. It organizes, stores, and manages data based on defined schemas. Databases are typically used to store, retrieve, and manage structured data. A database consists of multiple data tables interconnected through keys and indexes.
Table
A table is the core component of a database, storing data in an organized, two-dimensional structure composed of rows and columns. Each row represents a data record, while each column defines a specific attribute of that data. Tables organize and store specific types of data, allowing users to query and analyze data effectively.
A database is a framework, and tables are its essential content. A database contains one or more tables.
When creating a database or table, you must grant permissions to other users so they can access the new resource.
Table Metadata
Metadata is data that defines the type of other data. It primarily describes information about the data itself, including its source, size, format, and other characteristics. In database fields, metadata explains the meaning of data content within the data warehouse.
During table creation, metadata is defined by specifying the column name, data type, and description.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot