資料の 英語版 に戻るメタデータのインポートとエンリッチメントのレポート・テーブル
メタデータのインポートとエンリッチメントのレポート・テーブル
最終更新: 2024年12月13日
Postgres、 Db2 ステートメントで、メタデータのインポートとエンリッチメントに関連する表を確認します。
サブジェクト・エリア | 表名 | 説明 |
---|---|---|
メタデータのインポートとエンリッチメント | メタデータ・インポート | Metadata import 情報。 |
メタデータのインポートとエンリッチメント | metadata_import_executions | メタデータ・インポート・ジョブのスケジュール済み時刻。 |
メタデータのインポートとエンリッチメント | メタデータのエンリッチメント | メタデータ・エンリッチメント情報。 |
metadata_import 表
この表には、メタデータのインポートに関する情報が含まれます。
この表には、以下の列があります。
metadata_import_id
-メタデータ・インポートの ID。container_id
-プロジェクトの ID です。metadata_import_name
-メタデータ・インポートの名前。target_container_id
-ターゲット・プロジェクトの ID。connection_id
-インポートが作成される接続の ID。
Postgres
CREATE TABLE ステートメント:
create table metadata_imports(metadata_import_id varchar(128) not null,
container_id varchar(128) not null,
metadata_import_name varchar(256) not null,
target_container_id varchar(128),
connection_id varchar(128),
metadata_enrichment_id varchar(128),
tech_start TIMESTAMP(6) not null default CURRENT_TIMESTAMP,
tech_end TIMESTAMP(6) not null default to_timestamp('9999-12-30', 'YYYY-MM-DD'),
ts_id TIMESTAMP(6) not null default CURRENT_TIMESTAMP,
primary key(container_id,
metadata_import_id))
ALTER TABLE ステートメント:
alter table metadata_imports add constraint fk_metadata_imports_container_assets_2 foreign key (container_id,
metadata_import_id) references container_assets(container_id,
asset_id) on
delete
cascade on
update
no action
Db2
CREATE TABLE ステートメント:
create table metadata_imports(metadata_import_id varchar(128) not null,
container_id varchar(128) not null,
metadata_import_name varchar(256) not null,
target_container_id varchar(128),
connection_id varchar(128),
metadata_enrichment_id varchar(128),
tech_start TIMESTAMP(12) not null IMPLICITLY HIDDEN generated always as row begin,
tech_end TIMESTAMP(12) not null IMPLICITLY HIDDEN generated always as row
end,
ts_id TIMESTAMP(12) not null generated always as transaction start ID,
primary key(container_id,
metadata_import_id),
period SYSTEM_TIME (tech_start,
tech_end) ) ORGANIZE by row
ALTER TABLE ステートメント:
alter table metadata_imports add constraint fk_metadata_imports_container_assets_2 foreign key (container_id,
metadata_import_id) references container_assets(container_id,
asset_id) on
delete
cascade on
update
no action
metadata_import_executions テーブル
この表には、メタデータ・インポート・ジョブに関する情報が含まれています。
この表には、以下の列があります。
metadata_import_id
-メタデータ・インポートの ID。container_id
-プロジェクトの ID です。job_run_id
-ジョブの実行の ID。invoked_by
-それを開始したユーザーの ID。is_scheduled_run
-メタデータ・インポート・ジョブのジョブのスケジュール時刻。start_time
-メタデータ・インポート・ジョブのジョブの開始時刻。end_time
-メタデータ・インポート・ジョブのジョブの終了時刻。state
-メタデータ・インポート・ジョブの状態。count_discovered
-ディスカバーされた資産の数。count_discovered_with_children
-ディスカバーされた下位階層のある資産の数。count_submitted
-ディスカバーされた資産の数。count_succeeded
-正常にインポートされた資産の数。count_succedded_with_children
-正常にインポートされた、子を持つ資産の数。count_new_assets
-新規資産の数。count_updated_assets
-更新されたアセットの数。count_deleted_assets
-削除された資産の数。
Postgres
CREATE TABLE ステートメント:
create table metadata_import_executions(metadata_import_id varchar(128) not null,
container_id varchar(36) not null,
job_run_id varchar(128) not null,
invoked_by varchar(128) not null,
is_scheduled_run boolean not null,
start_time timestamp(6) not null,
end_time timestamp(6),
state varchar(32) not null,
count_discovered bigint default 0 not null,
count_discovered_with_children bigint default 0 not null,
count_submitted bigint default 0 not null,
count_succeeded bigint default 0 not null,
count_succedded_with_children bigint default 0 not null,
count_new_assets bigint default 0 not null,
count_updated_assets bigint default 0 not null,
count_deleted_assets bigint default 0 not null,
tech_start TIMESTAMP(6) not null default CURRENT_TIMESTAMP,
tech_end TIMESTAMP(6) not null default to_timestamp('9999-12-30', 'YYYY-MM-DD'),
ts_id TIMESTAMP(6) not null default CURRENT_TIMESTAMP,
primary key(container_id,
metadata_import_id,
job_run_id))
ALTER TABLE ステートメント:
alter table metadata_import_executions add constraint fk_metadata_import_executions_metadata_imports_3 foreign key (container_id,
metadata_import_id) references metadata_imports(container_id,
metadata_import_id) on
delete
cascade on
update
no action
alter table metadata_import_executions add constraint fk_metadata_import_executions_container_assets_4 foreign key (container_id,
job_run_id) references container_assets(container_id,
asset_id) on
delete
cascade on
update
no action
Db2
CREATE TABLE ステートメント:
create table metadata_import_executions(metadata_import_id varchar(128) not null,
container_id varchar(36) not null,
job_run_id varchar(128) not null,
invoked_by varchar(128) not null,
is_scheduled_run boolean not null,
start_time timestamp(12) not null,
end_time timestamp(12),
state varchar(32) not null,
count_discovered bigint default 0 not null,
count_discovered_with_children bigint default 0 not null,
count_submitted bigint default 0 not null,
count_succeeded bigint default 0 not null,
count_succedded_with_children bigint default 0 not null,
count_new_assets bigint default 0 not null,
count_updated_assets bigint default 0 not null,
count_deleted_assets bigint default 0 not null,
tech_start TIMESTAMP(12) not null IMPLICITLY HIDDEN generated always as row begin,
tech_end TIMESTAMP(12) not null IMPLICITLY HIDDEN generated always as row
end,
ts_id TIMESTAMP(12) not null generated always as transaction start ID,
primary key(container_id,
metadata_import_id,
job_run_id),
period SYSTEM_TIME (tech_start,
tech_end) ) ORGANIZE by row
ALTER TABLE ステートメント:
alter table metadata_import_executions add constraint fk_metadata_import_executions_metadata_imports_3 foreign key (container_id,
metadata_import_id) references metadata_imports(container_id,
metadata_import_id) on
delete
cascade on
update
no action
alter table metadata_import_executions add constraint fk_metadata_import_executions_container_assets_4 foreign key (container_id,
job_run_id) references container_assets(container_id,
asset_id) on
delete
cascade on
update
no action
metadata_enrichments テーブル
この表には、メタデータ・エンリッチメントに関する情報が含まれます。
この表には、以下の列があります。
metadata_enrichment_id
-メタデータ・エンリッチの ID。container_id
-プロジェクトの ID です。metadata_enrichment_name
-メタデータ・エンリッチの名前。
Postgres
CREATE TABLE ステートメント:
create table metadata_enrichments(metadata_enrichment_id varchar(128) not null,
container_id varchar(36) not null,
metadata_enrichment_name varchar(256) not null,
tech_start TIMESTAMP(6) not null default CURRENT_TIMESTAMP,
tech_end TIMESTAMP(6) not null default to_timestamp('9999-12-30', 'YYYY-MM-DD'),
ts_id TIMESTAMP(6) not null default CURRENT_TIMESTAMP,
primary key(container_id,
metadata_enrichment_id))
ALTER TABLE ステートメント:
alter table metadata_enrichments add constraint fk_metadata_enrichments_container_assets_1 foreign key (container_id,
metadata_enrichment_id) references container_assets(container_id,
asset_id) on
delete
cascade on
update
no action
Db2
CREATE TABLE ステートメント:
create table metadata_enrichments(metadata_enrichment_id varchar(128) not null,
container_id varchar(36) not null,
metadata_enrichment_name varchar(256) not null,
tech_start TIMESTAMP(12) not null IMPLICITLY HIDDEN generated always as row begin,
tech_end TIMESTAMP(12) not null IMPLICITLY HIDDEN generated always as row
end,
ts_id TIMESTAMP(12) not null generated always as transaction start ID,
primary key(container_id,
metadata_enrichment_id),
period SYSTEM_TIME (tech_start,
tech_end) ) ORGANIZE by row
ALTER TABLE ステートメント:
alter table metadata_enrichments add constraint fk_metadata_enrichments_container_assets_1 foreign key (container_id,
metadata_enrichment_id) references container_assets(container_id,
asset_id) on
delete
cascade on
update
no action
もっと見る
親トピック: レポート・テーブル
トピックは役に立ちましたか?
0/1000