Skip to content

Commit 5a06b6c

Browse files
authored
docs: column-statistics needs to be set to 0 (#696)
1 parent 630b38f commit 5a06b6c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/infrastructure-mariadb-ops.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ mysqldump --host=$(kubectl -n openstack get service mariadb-cluster -o jsonpath=
3030
--routines \
3131
--triggers \
3232
--events \
33+
--column-statistics=0 \
3334
${DATABASE_NAME} \
3435
--result-file=/tmp/${DATABASE_NAME}-$(date +%s).sql
3536
```
@@ -42,6 +43,7 @@ mysqldump --host=$(kubectl -n openstack get service mariadb-cluster -o jsonpath=
4243
-p$(kubectl --namespace openstack get secret mariadb -o jsonpath='{.data.root-password}' | base64 -d) \
4344
-e 'show databases;' \
4445
--column-names=false \
46+
--column-statistics=0 \
4547
--vertical | \
4648
awk '/[:alnum:]/' | \
4749
xargs -i mysqldump --host=$(kubectl -n openstack get service mariadb-cluster -o jsonpath='{.spec.clusterIP}') \

0 commit comments

Comments
 (0)