Skip to content

Commit

Permalink
fix(sqlserver): 优化SQLserver备份文件的巡检报告输出内容 #9065
Browse files Browse the repository at this point in the history
  • Loading branch information
yksitu authored Jan 16, 2025
1 parent 9e5938f commit d26b673
Show file tree
Hide file tree
Showing 3 changed files with 685 additions and 441 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func (c *PtTableSyncComp) ExecPtTableSync() (err error) {
// 拼接pt-table-sync 的执行命令
syncCmd := fmt.Sprintf(
"%s --replicate=%s.%s --sync-to-master --no-buffer-to-client --no-check-child-tables "+
"--chunk-size=%s --databases=%s --tables=%s --charset=%s h=%s,P=%d,u=%s,p=%s --execute",
"--chunk-size=%s --databases=%s --tables=%s --charset=%s h=%s,P=%d,u=%s,p=%s --execute --algorithms=Nibble ",
PtTableSyncPath, checkSumDB, getChecksumName, chunkSize, syncTable.DbName,
syncTable.TableName, Charset, c.Params.Host, c.Params.Port, c.Params.SyncUser, c.Params.SyncPass,
)
Expand Down
Loading

0 comments on commit d26b673

Please sign in to comment.