Stay organized with collections
Save and categorize content based on your preferences.
Datastream supports replicating partitioned tables for PostgreSQL source
databases. You can replicate the tables as a single root table or as separate
partitioned tables. If you want to replicate both the root table and the partitioned
tables, you must create two different streams, with two different publications.
Replicate as a single root table
To replicate partitioned tables using the schema of the root table, do the
following:
Use a publication with the publish_via_partition_root parameter set to true
or create a new one:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eDatastream 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.\u003c/p\u003e\n"],["\u003cp\u003eTo replicate partitioned tables as a single root table, use a publication with the \u003ccode\u003epublish_via_partition_root\u003c/code\u003e parameter set to \u003ccode\u003etrue\u003c/code\u003e, and in stream creation select only the root table, excluding the partitioned tables.\u003c/p\u003e\n"],["\u003cp\u003eTo replicate partitioned tables as separate tables, utilize a publication with the \u003ccode\u003epublish_via_partition_root\u003c/code\u003e parameter set to \u003ccode\u003efalse\u003c/code\u003e, and during stream creation, choose only the partitioned tables, excluding the root table.\u003c/p\u003e\n"],["\u003cp\u003eChanging the \u003ccode\u003epublish_via_partition_root\u003c/code\u003e parameter in an existing stream is not allowed, causing permanent stream failure.\u003c/p\u003e\n"]]],[],null,[]]