Datastream은 PostgreSQL 소스 데이터베이스에 대해 파티션을 나눈 테이블의 복제를 지원합니다. 테이블을 단일 루트 테이블로 복제하거나 별도의 파티션을 나눈 테이블로 복제할 수 있습니다. 루트 테이블과 파티션을 나눈 테이블을 모두 복제하려면 서로 다른 두 개의 게시를 사용하여 서로 다른 스트림 두 개를 만들어야 합니다.
단일 루트 테이블로 복제
루트 테이블의 스키마를 사용하여 파티션을 나눈 테이블을 복제하려면 다음 안내를 따르세요.
publish_via_partition_root 매개변수가 true로 설정된 게시를 사용하거나 새 게시를 만듭니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-06-12(UTC)"],[[["Datastream enables the replication of partitioned tables from PostgreSQL databases, offering the flexibility to replicate them as a unified root table or as individual, separate tables."],["To replicate partitioned tables as a single root table, use a publication with the `publish_via_partition_root` parameter set to `true`, and in stream creation select only the root table, excluding the partitioned tables."],["To replicate partitioned tables as separate tables, utilize a publication with the `publish_via_partition_root` parameter set to `false`, and during stream creation, choose only the partitioned tables, excluding the root table."],["Changing the `publish_via_partition_root` parameter in an existing stream is not allowed, causing permanent stream failure."]]],[]]