78 lines
2.9 KiB
Markdown
Raw Normal View History

# Database Service
This schema defines the Database Service entity, such as MySQL, BigQuery, Redshift, Postgres, or Snowflake. Alternative terms such as Database Cluster, Database Server instance are also used for database service.
2021-10-15 03:51:13 +05:30
**$id: **[https://open-metadata.org/schema/entity/services/databaseService.json](https://open-metadata.org/schema/entity/services/databaseService.json)
Type: `object`
## Properties
- **id** `required`
- Unique identifier of this database service instance.
- $ref: [../../type/basic.json#/definitions/uuid](../types/basic.md#uuid)
- **name** `required`
- Name that identifies this database service.
- Type: `string`
- Length: between 1 and 64
- **displayName**
- Display Name that identifies this database service.
- Type: `string`
- **serviceType** `required`
- Type of database service such as MySQL, BigQuery, Snowflake, Redshift, Postgres...
- $ref: [#/definitions/databaseServiceType](#databaseservicetype)
- **description**
- Description of a database service instance.
- Type: `string`
- **href** `required`
- Link to the resource corresponding to this database service.
- $ref: [../../type/basic.json#/definitions/href](../types/basic.md#href)
- **jdbc** `required`
- JDBC connection information.
- $ref: [../../type/jdbcConnection.json#/definitions/jdbcInfo](../types/jdbcconnection.md#jdbcinfo)
- **ingestionSchedule**
- Schedule for running metadata ingestion jobs.
- $ref: [../../type/schedule.json](../types/schedule.md)
2021-10-15 03:51:13 +05:30
* **id** `required`
* Unique identifier of this database service instance.
* $ref: [../../type/basic.json#/definitions/uuid](../types/basic.md#uuid)
* **name** `required`
* Name that identifies this database service.
* Type: `string`
* Length: between 1 and 64
* **serviceType** `required`
* Type of database service such as MySQL, BigQuery, Snowflake, Redshift, Postgres...
* $ref: [#/definitions/databaseServiceType](databaseservice.md#databaseservicetype)
* **description**
* Description of a database service instance.
* Type: `string`
* **href** `required`
* Link to the resource corresponding to this database service.
* $ref: [../../type/basic.json#/definitions/href](../types/basic.md#href)
* **jdbc** `required`
* JDBC connection information.
* $ref: [../../type/jdbcConnection.json#/definitions/jdbcInfo](../types/jdbcconnection.md#jdbcinfo)
* **ingestionSchedule**
* Schedule for running metadata ingestion jobs.
* $ref: [../../type/schedule.json](../types/schedule.md)
## Type definitions in this schema
2021-08-29 21:24:50 +00:00
### databaseServiceType
2021-10-15 03:51:13 +05:30
* Type of database service such as MySQL, BigQuery, Snowflake, Redshift, Postgres...
* Type: `string`
* The value is restricted to the following:
1. _"BigQuery"_
2. _"MySQL"_
3. _"Redshift"_
4. _"Snowflake"_
5. _"Postgres"_
6. _"MSSQL"_
7. _"Hive"_
8. _"Oracle"_
9. _"Athena"_
10. _"Presto"_
11. _"Vertica"_
_This document was updated on: Thursday, September 16, 2021_