PostgreSQL Configuration
PostgreSQL parameters are used to customize rules for PostgreSQL and Greenplum script migration.
Open the features-pg.properties file in the config folder and set parameters in Table 1 as required.
|
Parameter |
Description |
Value Range |
Default Value |
Example |
|---|---|---|---|---|
|
Default data storage mode. ROW: row storage. COLUMN: column storage. |
|
|
|
|
Default table type, which can be partitioned table, replication table, or round-robin table. The value can be REPLICATION, HASH, or ROUND-ROBIN. |
|
|
|
|
Compression level of table data. It determines the compression ratio and duration.
The default value is Null, indicating that no compression level is set. |
Row-store tables:
Column-store tables:
|
|
|
|
Version of the column-store storage format. You can switch between different storage format versions. Value range: Null (default value), 1.0, or 2.0 |
|
|
|
|
Whether to enable delta tables in column-store tables. This parameter is valid only for column-store tables. Value range: Null (default value), true, or false |
|
|
|
|
Whether to use the String.format template (for example, $%s) to define the variable output format. %s is replaced with the actual variable name. |
|
|
table.output.placeholder.format= |
|
Default server of the GDS foreign table. |
|
|
|
|
Default server of an OBS foreign table. |
|
|||
|
Char length coefficient (number), which is used when the storage logic of the char field is inconsistent. The char length is multiplied by this coefficient. |
|
|
|
|
Varchar length coefficient (number), which is used when the storage logic of the varchar field is inconsistent. The varchar length is multiplied by this coefficient. |
|
|
|
|
Bpchar length coefficient (number), which is used when the storage logic of the bpchar field is inconsistent. The bpchar length is multiplied by this coefficient. |
|
|
|
|
Whether to automatically generate the CREATE SEQUENCE statement when the CREATE TABLE statement contains nextval. The value can be Y or N. |
|
|
|
|
When a subsequent keyword is used as a column name, backquotes (`) are automatically added to the column name. Example: SELECT `group`, `performance`, `hash`, `hot`, `matched`, `reject`, `interval`, `modify`, `timestamp` |
|
|
|
|
User-defined type mapping, which is case insensitive. Example: char|varchar,character|varchar,bpchar|varchar |
|
|
|
|
Whether to convert the partition mode start end to values less than. The value can be Y or N. |
|
|
|
|
User-defined role name mapping, which is case insensitive. Example: gpadmin|dbadmin,admin|dbadmin |
|
|
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot