From ff421216f8604699b35d82f7b5b180baf57d4267 Mon Sep 17 00:00:00 2001 From: weekface Date: Tue, 27 Aug 2019 10:31:14 +0800 Subject: [PATCH] add recommendations options to mydumper --- charts/tidb-backup/values.yaml | 2 +- charts/tidb-cluster/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/tidb-backup/values.yaml b/charts/tidb-backup/values.yaml index 257c306a6d0..d0119230a20 100644 --- a/charts/tidb-backup/values.yaml +++ b/charts/tidb-backup/values.yaml @@ -42,7 +42,7 @@ storage: size: 100Gi # backupOptions is the options of mydumper https://github.com/maxbube/mydumper/blob/master/docs/mydumper_usage.rst#options -backupOptions: "--verbose=3" +backupOptions: "-t 16 -F 64 --skip-tz-utc --verbose=3" # Set the tidb_snapshot to be used for the backup # Use `show master status` to get the ts: # MySQL [(none)]> show master status; diff --git a/charts/tidb-cluster/values.yaml b/charts/tidb-cluster/values.yaml index 11ac0ae81f6..fbc904a20fb 100644 --- a/charts/tidb-cluster/values.yaml +++ b/charts/tidb-cluster/values.yaml @@ -520,7 +520,7 @@ scheduledBackup: # https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/#starting-deadline startingDeadlineSeconds: 3600 # https://github.com/maxbube/mydumper/blob/master/docs/mydumper_usage.rst#options - options: "--verbose=3" + options: "-t 16 -F 64 --skip-tz-utc --verbose=3" # secretName is the name of the secret which stores user and password used for backup # Note: you must give the user enough privilege to do the backup # you can create the secret by: