HippobyteDocs
Expand All

Metadata Schema
A central hub for your data

Hippobyte performs DDL statements against your warehouse to structure your tables, columns, and indexes in an efficient way for use by your Business Intelligence tools and downstream data consumers. Each triggered DDL statement is logged by the Hippobyte platform within the hbmetadata.migrations_ table.

What is DDL?

DDL refers to “Data Definition Language”, a subset of SQL statements that change the structure of the database schema in some way, typically by creating, deleting, or modifying schema objects such as databases, tables, and views.

Metadata Schema

For each of your destination connectors, we create a schema/database called hbmetadata_ that is used to house a migrations audit table, and back-up tables.

Migrations Table

The migrations table allows you to see DDL changes to tables managed by Hippobyte.

Understanding the migrations table.

Column Name Type Description
id Big Integer Unique ID for each migration
object_id UUID ID of a Hippobyte collection
state_before_migration Text Location of table prior the performing a migration, a new table is notated as big.bang, subsequent entries refer to back-up tables.
state_after_migration Text Refers to location of table immediately after the time of migration. Latest record refers to current live table.
created_at Timestamp Timestamp of migration

Backup Tables

As a responsible actor within your database ecosystem, the Hippobyte performs back-ups of tables prior to running DDL statement against your tables. All backed-up tables are stored within the hbmetadata_ schema/database and are referenced within the migrations table.

Table back-ups are retained for a period of 7 days, older back-up are automatically removed.
Have Questions? Reach out, we are happy to address any questions you may have.
© 2015 - 2021 Hippobyte, Inc. All rights reserved.