2021-08-11 17:17:55 +00:00
|
|
|
# Database
|
|
|
|
|
|
|
|
This schema defines the Database entity. A database also referred to as Database Catalog is a collection tables.
|
|
|
|
|
2021-08-13 15:48:38 +00:00
|
|
|
**$id:** [**https://open-metadata.org/schema/entity/data/database.json**](https://open-metadata.org/schema/entity/data/database.json)
|
2021-08-11 17:17:55 +00:00
|
|
|
|
|
|
|
Type: `object`
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
2021-08-13 15:48:38 +00:00
|
|
|
* **id**
|
|
|
|
* Unique identifier that identifies this database instance.
|
|
|
|
* $ref: [../../type/basic.json\#/definitions/uuid](database.md#....typebasic.jsondefinitionsuuid)
|
|
|
|
* **name** `required`
|
|
|
|
* Name that identifies the database.
|
|
|
|
* $ref: [\#/definitions/databaseName](database.md#/definitions/databaseName)
|
|
|
|
* **fullyQualifiedName**
|
|
|
|
* Name that uniquely identifies a database in the format 'ServiceName.DatabaseName'.
|
|
|
|
* Type: `string`
|
|
|
|
* **description**
|
|
|
|
* Description of the database instance.
|
|
|
|
* Type: `string`
|
|
|
|
* **href**
|
|
|
|
* Link to the resource corresponding to this entity.
|
|
|
|
* $ref: [../../type/basic.json\#/definitions/href](database.md#....typebasic.jsondefinitionshref)
|
|
|
|
* **owner**
|
|
|
|
* Owner of this database.
|
|
|
|
* $ref: [../../type/entityReference.json](database.md#....typeentityreference.json)
|
|
|
|
* **service** `required`
|
|
|
|
* Link to the database cluster/service where this database is hosted in.
|
|
|
|
* $ref: [../../type/entityReference.json](database.md#....typeentityreference.json)
|
|
|
|
* **usageSummary**
|
|
|
|
* Latest usage information for this database.
|
|
|
|
* $ref: [../../type/usageDetails.json](database.md#....typeusagedetails.json)
|
|
|
|
* **tables**
|
|
|
|
* References to tables in the database.
|
|
|
|
* $ref: [../../type/entityReference.json\#/definitions/entityReferenceList](database.md#....typeentityreference.jsondefinitionsentityreferencelist)
|
2021-08-11 17:17:55 +00:00
|
|
|
|
|
|
|
## Types definitions in this schema
|
|
|
|
|
2021-08-13 15:48:38 +00:00
|
|
|
**databaseName**
|
2021-08-13 08:26:20 -07:00
|
|
|
|
2021-08-13 15:48:38 +00:00
|
|
|
* Name that identifies the database.
|
|
|
|
* Type: `string`
|
|
|
|
* The value must match this pattern: `^[^.]*$`
|
|
|
|
* Length: between 1 and 64
|
2021-08-11 17:17:55 +00:00
|
|
|
|