| Repository | 테이블 | 설명 |
|---|---|---|
| LiveChannelRepository | live_channel |
채널 메인 |
| LiveChannelBackupRepository | live_channel_backup |
채널 백업 설정 |
| LiveChannelDeviceRepository | live_channel_device |
채널별 디바이스 |
| LiveChannelEncodeTypeRepository | live_channel_encode_type |
채널별 인코딩 타입 |
| LiveChannelPlayerRepository | live_channel_player |
채널별 플레이어 |
| LiveChannelHtml5PlayerRepository | live_channel_html5_player |
채널별 HTML5 플레이어 |
| LiveChannelAdRepository | live_channel_ad |
채널별 광고 |
| LiveChannelThumbRepository | live_channel_thumb |
채널 썸네일 |
| LiveChannelStreamKeyRepository | live_channel_streamkey |
스트림키 |
| LiveChannelEventRepository | live_channel_event_id |
이벤트 ID |
| Repository | 테이블 | 설명 |
|---|---|---|
| LiveChannelBroadcastRepository | live_channel_broadcast |
방송 세션 |
| LivePublishStatusRepository | live_publish_status |
송출 상태 |
| LivePublishHistoryRepository | live_publish_history |
송출 이력 |
| LiveChannelPublishStatusRepository | live_publish_status |
채널 송출 상태 |
| LiveMultiPublishRepository | live_multi_publish |
멀티 송출 |
| Repository | 테이블 | 설명 |
|---|---|---|
| LiveVodUploadRepository | live_vod_upload |
녹화 VOD 업로드 |
| Repository | 테이블 | 설명 |
|---|---|---|
live_account |
||
live_account_info |
||
| ProductServiceRepository | product_service |
상품 서비스 |
| LiveServiceOptionRepository | service_option |
서비스 옵션 |
| LiveServiceTypeRepository | service_type |
서비스 타입 |
account_info |
| Repository | 테이블 | 설명 |
|---|---|---|
| LiveEncodeTypeRepository | live_encode_type |
인코딩 타입 마스터 |
| AwsMediaLiveRepository | medialive_channel, medialive_storage_info, live_input_addr_info, live_origin_addr_info |
AWS MediaLive |
| MediaPackageChannelGroupRepository | mediapackage_channel_group, mediapackage_channel |
MediaPackage |
| Repository | 테이블 | 설명 |
|---|---|---|
| LivePlayerTypeRepository | live_player_type |
플레이어 타입 |
| LivePlayerOptionRepository | live_player_option |
플레이어 옵션 |
| LivePlayerAssetsRepository | player_assets |
플레이어 에셋 |
live_html5_player_type |
| Repository | 테이블 | 설명 |
|---|---|---|
live_ad_video, live_ad_upload |
||
live_ad_video_file |
| Repository | 테이블 | 설명 |
|---|---|---|
| LiveBlockAreaRepository | live_block_area |
지역 제한 |
| LiveBlockDeviceRepository | live_block_device |
디바이스 제한 |
| LiveBlockDomainRepository | live_block_domain |
도메인 제한 |
| IPRestrictionRepository | ip_restriction |
IP 제한 (v4: videopack 기존 구현 이식) |
| Repository | 테이블 | 설명 |
|---|---|---|
| LiveCdnDomainRepository | live_cdn_service_multi_domain, live_cdn_service |
CDN 도메인 |
| Repository | 테이블 | 설명 |
|---|---|---|
live_cast_info |
||
| AlarmRepository | alarm |
알람 |
| AlarmTypeRepostitory | alarm_type |
알람 타입 |
| LogLoginRepository | log_login |
로그인 로그 |
| SessionRepository | session_time |
세션 |
| CountryRepository | country_code |
국가 코드 |
live_channel - 채널 메인live_channel_backup - 채널 백업live_channel_broadcast - 방송 세션live_channel_device - 채널 디바이스live_channel_encode_type - 채널 인코딩 타입live_channel_player - 채널 플레이어live_channel_html5_player - 채널 HTML5 플레이어live_channel_ad - 채널 광고live_channel_thumb - 채널 썸네일live_channel_streamkey - 스트림키live_channel_streamkey_history - 스트림키 이력live_channel_event_id - 이벤트 IDlive_channel_sub - 서브 채널live_channel_month - 월별 채널 사용량live_channel_cast - 캐스트 연결live_channel_cast_log - 캐스트 로그live_channel_cast_token - 캐스트 토큰live_channel_play_req - 재생 요청live_publish_status - 송출 상태live_publish_history - 송출 이력live_multi_publish - 멀티 송출live_vod_upload - 녹화 VOD 업로드live_account - 라이브팩 계정live_account_info - 계정 상세product_service - 상품 서비스service_option - 서비스 옵션service_type - 서비스 타입live_encode_type - 인코딩 타입 마스터live_default_encode_type - 기본 인코딩live_encoding_plan - 인코딩 플랜live_encoding_status - 인코딩 상태live_encoding_status_history - 인코딩 상태 이력live_encoding_usage - 인코딩 사용량live_encoding_usage_monthly - 월별 인코딩 사용량live_node_group - 노드 그룹live_node_info - 노드 정보live_node_status - 노드 상태live_node_type - 노드 타입live_node_sub_type - 노드 서브 타입live_input_addr_info - 입력 주소live_origin_addr_info - 오리진 주소live_service_server - 서비스 서버medialive_channel - MediaLive 채널medialive_channel_settings - 채널 설정medialive_channel_start_stop_history - 시작/종료 이력medialive_input_security - 입력 보안medialive_input_stream_status - 스트림 상태medialive_publish_history - 송출 이력medialive_publish_status - 송출 상태medialive_storage_info - 스토리지medialive_archive_encode_type - 아카이브 인코딩mediapackage_channel - MediaPackage 채널mediapackage_channel_group - 채널 그룹live_cdn_account - CDN 계정live_cdn_service - CDN 서비스live_cdn_history - CDN 이력live_cdn_service_multi - 멀티 CDNlive_cdn_service_multi_domain - 멀티 CDN 도메인live_storage_plan - 스토리지 플랜live_storage_usage - 스토리지 사용량live_storage_traffic_info - 스토리지 트래픽live_traffic_plan - 트래픽 플랜live_axis_storage - 축적 스토리지live_axis_traffic - 축적 트래픽live_player_type - 플레이어 타입live_player_option - 플레이어 옵션live_player_assets - 플레이어 에셋live_player_assets_check - 에셋 체크live_html5_player_type - HTML5 플레이어 타입live_ad_video - 광고 영상live_ad_video_file - 광고 영상 파일live_ad_upload - 광고 업로드live_ad_encode_type - 광고 인코딩 타입live_block_area - 지역 제한live_block_device - 디바이스 제한live_block_domain - 도메인 제한ip_restriction - IP 제한 (v4: videopack 기존 구현 이식)live_cast_info - 캐스트 정보live_cast_studio_status - 캐스트 스튜디오 상태alarm - 알람aws_region - AWS 리전aws_s3_type - S3 타입cloud_region - 클라우드 리전cloud_storage_type - 클라우드 스토리지 타입storage_type - 스토리지 타입live_estimate - 견적live_couscous_call_history - Couscous 호출 이력live_revas_call_history - Revas 호출 이력batch_thumbnail_delete / batch_thumbnail_delete_v2 - 썸네일 삭제 배치log_live_ad_delete - 광고 삭제 로그log_livepack_reset - 라이브팩 리셋 로그product_live_cost_contract - 라이브 비용 계약live_api_doc_contents / live_api_doc_contents_2live_api_doc_menu / live_api_doc_menu_2live_api_doc_params / live_api_doc_params_2live_api_doc_returns / live_api_doc_returns_2live_api_infolive_api_info_host| v4 테이블 | 생성 여부 | v3 대응 |
|---|---|---|
live_channel |
생성됨 | v3 live_channel 통합/정리 |
live_channel_encode_type |
생성됨 | v3 live_channel_encode_type |
live_channel_cloudflare |
생성됨 | (v4 신규) |
live_channel_ivs |
생성됨 | (v4 신규) |
live_channel_medialive |
생성됨 | v3 medialive_channel 통합 |
live_channel_mediapackage |
생성됨 | v3 mediapackage_channel 통합 |
live_channel_archive |
생성됨 | v3 medialive_archive_encode_type 관련 |
live_channel_frame_capture |
생성됨 | (v4 신규) |
live_broadcast |
생성됨 | v3 live_channel_broadcast + live_publish_status/history 통합 |
live_recording |
생성됨 | v3 live_vod_upload 통합 |
live_event |
생성됨 | v3 live_channel_event_id |
live_stream_key_history |
생성됨 | v3 live_channel_streamkey_history |
live_encode_type |
생성됨 | v3 live_encode_type |
live_default_encode_type |
생성됨 | v3 live_default_encode_type |
player_type |
생성됨 | v3 live_player_type |
player_option |
생성됨 | v3 live_player_option |
ip_access_policy |
생성됨 | v3 ip_restriction 통합/정리 |
ip_access_list |
생성됨 | v3 ip_restriction 상세 |
notification |
생성됨 | v3 alarm |
product_service |
생성됨 | v3 product_service |
product_service_history |
생성됨 | (v4 신규) |
product_type |
생성됨 | (v4 신규) |
service_type |
생성됨 | v3 service_type |
service_options |
생성됨 | v3 service_option |
service_payment |
생성됨 | (v4 신규) |
service_price |
생성됨 | (v4 신규) |
schedule_plan |
생성됨 | 구독 플랜용 (v3 플랜과 무관) |
live_storage_plan |
DDL 생성 | v3 live_storage_plan |
live_traffic_plan |
DDL 생성 | v3 live_traffic_plan |
live_encoding_plan |
DDL 생성 | v3 live_encoding_plan |
live_storage_usage |
DDL 생성 | v3 live_storage_usage |
live_storage_traffic_info |
v4: 불필요 (videopack 구조 따라 제거) | |
live_encoding_usage |
DDL 생성 | v3 live_encoding_usage |
live_encoding_usage_monthly |
DDL 생성 | v3 live_encoding_usage_monthly |
live_encoding_status |
DDL 생성 | v3 live_encoding_status |
live_encoding_status_history |
DDL 생성 | v3 live_encoding_status_history |
live_multi_publish |
DDL 생성 | v3 live_multi_publish |
live_block_area |
DDL 생성 | v3 live_block_area |
live_block_device |
DDL 생성 | v3 live_block_device |
live_block_domain |
DDL 생성 | v3 live_block_domain |
live_input_addr_info |
DDL 생성 | v3 live_input_addr_info (provider_type으로 변경) |
live_origin_addr_info |
DDL 생성 | v3 live_origin_addr_info (provider_type으로 변경) |
medialive_channel_settings |
DDL 생성 | v3 medialive_channel_settings |
medialive_channel_start_stop_history |
DDL 생성 | v3 medialive_channel_start_stop_history |
medialive_input_security |
DDL 생성 | v3 medialive_input_security |
medialive_input_stream_status |
DDL 생성 | v3 medialive_input_stream_status |
medialive_storage_info |
DDL 생성 | v3 medialive_storage_info |
medialive_publish_status |
DDL 생성 | v3 medialive_publish_status |
medialive_publish_history |
DDL 생성 | v3 medialive_publish_history |
mediapackage_channel_group |
DDL 생성 | v3 mediapackage_channel_group |
api_info |
DDL 생성 | livepack 전용 Open API Key (videopack과 별도) |
live_channel_device |
DDL 생성 | v3 live_channel_device (채널별 디바이스-인코딩 매핑) |
cdn_info |
DDL 생성 | CDN 정보 (CF 단일 구조로 단순화) |
batch_thumbnail_delete |
DDL 생성 | 썸네일 삭제 큐 |
order |
생성됨 | (v4 신규) |
order_request |
생성됨 | (v4 신규) |
live_channel (P0) — 생성됨v3 통합 대상:
| v3 테이블 | 통합 방식 |
|---|---|
live_channel |
메인 컬럼 가져오기 |
live_channel_backup |
컬럼으로 통합 또는 별도 유지 |
live_channel_encode_type |
별도 테이블 유지 (live_channel_encode_type) |
live_channel_streamkey |
컬럼으로 통합 |
live_channel_device |
JSON 컬럼 또는 별도 테이블 |
live_channel_thumb |
컬럼으로 통합 |
live_channel_player |
별도 테이블 유지 |
live_recording (P0) — 생성됨v3 통합 대상:
| v3 테이블 | 통합 방식 |
|---|---|
live_vod_upload |
기반 테이블 |
| (신규) | 녹화 세션 메타데이터, 파일 경로, 인코딩 상태 추가 |
live_broadcast (P0) — 생성됨v3 통합 대상:
| v3 테이블 | 통합 방식 |
|---|---|
live_channel_broadcast |
방송 세션 기반 |
live_publish_status |
상태 컬럼으로 통합 |
live_publish_history |
이력은 별도 유지 또는 같은 테이블에 종료 시각 기록 |
| (신규) | 시청자 수 피크(peak_viewers), 시작/종료 시각 컬럼 추가 |
-- 채널 수 제한 체크용
CREATE INDEX idx_live_channel_gid_status ON live_channel (gid, status);
| 구분 | 테이블 | 관계 |
|---|---|---|
| 참조만 (JOIN 불필요) | product_service, service_options, service_type |
v4 livepack DB에 생성됨 |
live_account, live_account_info |
v4: account DB가 별도 존재하므로 불필요 | |
| v4 통합 생성됨 | live_channel_medialive, live_channel_mediapackage |
v3 medialive_*, mediapackage_* 통합 |
| v4 생성됨 | ip_access_policy, ip_access_list |
v3 ip_restriction 통합/정리 |
| v4 생성됨 | notification |
v3 alarm 대체 |
| v4 불필요 | live_api_doc_* |
API 문서 테이블, v4에서 사용 안 함 |
| 검토 필요 | live_cdn_*, live_encoding_* |
인프라 구조 변경에 따라 결정 |