Skip to main content

Jobs Database

jobs​

Column NameDatatypeDescription
idbigintPrimary key, uniquely identifies a job.
config_typejob_config_typeType of job (sync, reset).
scopevarchar(255)Identifier for the connection or scope of the job.
configjsonbJSON blob containing job configuration.
statusjob_statusCurrent status of the job (running, failed, succeeded, etc.).
started_attimestamp(6) with time zoneTimestamp when the job started.
created_attimestamp(6) with time zoneTimestamp when the job was created.
updated_attimestamp(6) with time zoneTimestamp when the job was last updated.
metadatajsonbJSON blob containing metadata for the job.
is_scheduledbooleanWhether the job was scheduled automatically (default: true).

Indexes & Constraints​

  • Primary Key: id
  • Indexes:
    • jobs_config_type_idx → (config_type)
    • jobs_scope_idx → (scope)
    • jobs_status_idx → (status)
    • jobs_updated_at_idx → (updated_at)
    • scope_created_at_idx → (scope, created_at DESC)
    • scope_non_terminal_status_idx → (scope, status) (only for non-terminal statuses: not failed, succeeded, or cancelled)

attempts​

Column NameDatatypeDescription
idbigintPrimary key, uniquely identifies an attempt.
job_idbigintForeign key to jobs(id), linking the attempt to a job.
attempt_numberintNumber of the attempt for a given job.
log_pathvarchar(255)Path where logs for this attempt are stored.
outputjsonbJSON blob containing the attempt's output details.
statusattempt_statusStatus of the attempt (running, failed, succeeded).
created_attimestamp(6) with time zoneTimestamp when the attempt was created.
updated_attimestamp(6) with time zoneTimestamp when the attempt was last updated.
ended_attimestamp(6) with time zoneTimestamp when the attempt ended.
failure_summaryjsonbJSON blob containing failure reason details.
processing_task_queuevarchar(255)Task queue identifier for processing.
attempt_sync_configjsonbJSON blob for sync configuration.

Indexes & Constraints​

  • Primary Key: id
  • Foreign Key: job_id → jobs(id)
  • Indexes:
    • attempts_status_idx → (status)
    • job_attempt_idx → (job_id, attempt_number) (Unique)

airbyte_metadata​

Column NameDatatypeDescription
keyvarchar(255)Primary key, uniquely identifies a metadata key.
valuevarchar(255)Value associated with the key.

Indexes & Constraints​

  • Primary Key: key

airbyte_jobs_migrations​

Column NameDatatypeDescription
installed_rankintPrimary key, rank of migration execution.
versionvarchar(50)Version number of the migration.
descriptionvarchar(200)Description of the migration.
typevarchar(20)Type of migration.
scriptvarchar(1000)Name of the migration script.
checksumintChecksum of the migration script.
installed_byvarchar(100)User who installed the migration.
installed_ontimestamp(6)Timestamp when migration was installed.
execution_timeintExecution time in milliseconds.
successbooleanWhether the migration succeeded.

Indexes & Constraints​

  • Primary Key: installed_rank
  • Indexes:
    • airbyte_jobs_migrations_s_idx → (success)

normalization_summaries​

Column NameDatatypeDescription
iduuidPrimary key, uniquely identifies a normalization summary.
attempt_idbigintForeign key to attempts(id).
start_timetimestamp(6) with time zoneStart time of the normalization process.
end_timetimestamp(6) with time zoneEnd time of the normalization process.
failuresjsonbJSON blob containing failure details.
created_attimestamp(6) with time zoneTimestamp when the summary was created.
updated_attimestamp(6) with time zoneTimestamp when the summary was last updated.

Indexes & Constraints​

  • Primary Key: id
  • Foreign Key: attempt_id → attempts(id)
  • Indexes:
    • normalization_summary_attempt_id_idx → (attempt_id)