[HICP Gauss] database migration to maintain -2

DM-Data Manager cluster management web tools

Database upgrade
1, in order to check the version upgrade, upgrade all equipment before data

2, disk space is not less than the reserve space table

3, to ensure database package has certain rights
4, after the upgrade normal start and stop python zctl.py -t start

5, must be stopped before the upgrade business

6, the control software to ensure that the database is not closed to instantiate standby switching pull the trigger timing disaster recovery tasks or failure can not roll back
the upgrade process to upgrade inspection environment pre-check -> a key upgrade run -> clean the environment cleanup-- > start the database zctl.py -t start -> select * from DV_version check after the upgrade
rollback rollback process checks rollback-check -> rollback rollback

Database migration datasync
support oracel sqlserver mysql sybase Gaussdb v1

Obtain the source data through JDBC java database connectivity through data import function LOAD
features: multi-scene high performance heavy security
data export: Support target libraries to create a non-existent landmarks include the primary key foreign key index partitions from the inclusion
of heterogeneous database fuzzy matching table support table export export condition matching structure [# @ ~~~~~ data delimiter row delimiter]

Data Import: automatically clear the table before importing the table to ignore the presence of the target library does not support automatically create a table that does not exist to support disabled triggers and foreign key 
support nologin concurrent multi-form table import support fault-tolerant import data row-level verification 

Row-level verification data and compressing high concurrency export data


 

Datasync operation and maintenance management
datasync / logs / completerepoter.csv log synchronization results [Export Import]

dumpreport.csv Export Results

loadreport.csv import results

createtblreport.csv built log table results

DDLrepoter check results
dss_info_log Run Log

dss_error_log failure log

 

 

Database operation and maintenance:
1, cd / opt / Gauss / App zctl normal -m mount -t Start to start the database to the loading state can not be opened | unmount unloaded state can not communicate with database files
zctl -t stop stop -t iamediate transaction rollback stop instance | abort the immediate cessation of
normal ----> switchover standby switching DISCONNECTION ---> failover standby switching [select database_connection, swtichover_status from dv_database]


SQL advanced features:
Integer: integer 2 (-31) ~ 2 (31) -1 intger unsigned 2 (0) ~ 2 (32) -1 bigint 2 (-63) ~ 2 (63) -1 with reference to the data type FIG
int boolean char (5) real clob , interval day to second, nchar (30), blob int [] varchar []

 

 

 

Questions

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/oscarli/p/12048473.html