数据仓库服务 GAUSSDB(DWS)-前提条件:配置DSC和迁移属性

时间:2024-04-18 16:24:34

配置DSC和迁移属性

DSC配置涉及DSC/config目录中的配置文件,请根据表3配置对应的参数。

表3 DSC配置参数

迁移场景

配置文件

配置参数

Teradata SQL迁移

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
deleteToTruncate=True/False
distributeByHash=one/many
extendedGroupByClause=True/False
inToExists=True/False
rowstoreToColumnstore=True/False
session_mode=Teradata/ANSI
tdMigrateDollar=True/False
tdMigrateALIAS=True/False
tdMigrateNULLIFZero=True/False
tdMigrateZEROIFNULL=True/False
volatile=local temporary/unlogged

Teradata Perl迁移

1
2
3
4
5
6
7
8
add-timing-on=True/False
db-bteq-tag-name=bteq
db-tdsql-tag-name=sql_lang
logging-level=error/warning/info
migrate-variables=True/False
remove-intermediate-files=True/False
target_files=overwrite/cancel
migrate-executequery=True/False

MySQL SQL迁移

  • DSC:application.properties
  • MySQL配置features-mysql.properties
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
table.databaseAsSchema=true
table.defaultSchema=public
table.schema=
table.orientation=ROW
table.type=HASH
table.partition-key.choose.strategy=partitionKeyChooserStrategy
table.partition-key.name=
table.compress.mode=NOCOMPRESS
table.compress.level=0
table.compress.row=NO
table.compress.column=LOW
table.database.template=template0
table.index.rename=false
table.database.onlyFullGroupBy=true
table.database.realAsFloat=false
support.huaweicloud.com/tg-dws/dws_16_0018.html