Data Database
Debug Information
Image: docker.io/bitnami/mariadb-galera:11.3.2-debian-12-r9
- Ports: 3306/tcp
- JDBC:
jdbc://mariadb:<hostname>:3306
To directly access in Kubernetes (for e.g. debugging), forward the svc port to your local machine:
kubectl [-n namespace] port-forward svc/data-db 3306:3306
Overview¶
The Data Database contains the research data. In the default configuration, only one database of this type is deployed. Any number of MariaDB ata databases can be integrated into DBRepo, even non-empty databases. The database needs to be registered in the Metadata Database to be visible in the User Interface and usable from e.g. the Python Library.
Data¶
The procedures requires the in parameter of the hash_table
stored procedure to have the same collation as the
information_schema.columns
table. We observed this unexpected behavior for
the MariaDB Galera chart powered by Bitnami and had to
set extra flags.
Backup¶
Export all databases with --skip-lock-tables
option for MariaDB Galera clusters as it is not supported currently by
MariaDB Galera.
mariadb \
-u <privilegedUsername> \
-p<privilegedPassword> \
--complete-insert \
--skip-lock-tables \
--skip-add-locks \
--all-databases > dump.sql
Restore¶
mariadb \
-u <privilegedUsername> \
-p<privilegedPassword> < dump.sql
Limitations¶
(none)
Do you miss functionality? Do these limitations affect you?
We strongly encourage you to help us implement it as we are welcoming contributors to open-source software and get in contact with us, we happily answer requests for collaboration with attached CV and your programming experience!
Security¶
(none)