Databases
The database hierarchy is the core of Collate’s data asset model. It mirrors real-world database organization, providing a structured way to catalog and manage all your database metadata.Hierarchy
Database Service
A Database Service represents a connection to a database platform or cluster — for example, a Snowflake account, a PostgreSQL instance, or a BigQuery project. It holds connection configuration and groups all databases within that platform.Database
A Database is a logical container within a service. Databases provide logical grouping for data across applications, teams, or purposes.Database Schema
A Database Schema organizes tables and stored procedures as a namespace within a database. All platforms use the same 5-level hierarchy in the API. For platforms that don’t have a native schema concept (e.g., MySQL), adefault schema is automatically created to maintain a consistent hierarchy.
Table
A Table is the fundamental data storage unit with rows and columns. Table metadata includes column definitions, types, constraints, ownership, tags, quality tests, profiler results, sample data, and lineage.Stored Procedure
A Stored Procedure is a set of SQL statements stored in the database and executed as a unit. Tracking procedures enables understanding data transformations, lineage, and impact analysis.Common Patterns
All platforms follow the same Service → Database → Schema → Table hierarchy in the API.| Platform | Mapping |
|---|---|
| MySQL | Service → Database → default schema (auto-created) → Tables |
| PostgreSQL | Service → Database → Schema → Tables |
| Snowflake | Service → Database → Schema → Tables |
| BigQuery | Service → Project (database) → Dataset (schema) → Tables |
API Resources
| Resource | Base Path | Description |
|---|---|---|
| Database Services | /v1/services/databaseServices | Manage database platform connections |
| Databases | /v1/databases | Manage databases within a service |
| Database Schemas | /v1/databaseSchemas | Manage schemas within a database |
| Tables | /v1/tables | Manage tables within a schema |
| Stored Procedures | /v1/storedProcedures | Manage stored procedures within a schema |