Configuring database storage for Db2 Warehouse
Db2 Warehouse supports traditional and software-defined storage types. You define your storage types during database provisioning.
Note: Starting from IBM® Software Hub 5.2.0 release,
Db2 Warehouse introduces a new
custom resource called Db2uInstance, which has slightly different
specification.


The preceding diagrams illustrate the storage configuration options for Db2uInstance.
Mandatory storage for SMP and MPP:
- System data - shared (RWX) volume for Db2 Warehouse metadata, also referenced as Meta.
- User data - non-shared (RWO) volume for database storage, also referenced as Data.
- Archivelogs - shared (RWX) volume for archive logs
- Backup - shared (RWX) volume for database backups
- Activelogs - non-shared (RWO) volume for transactional logs
- Tempts - non-shared (RWO) volume for temporary tablespaces
- Auditlogs - shared (RWX) volume for audit logs
- Backup - shared (RWX) volume for database backups
- Tempts - non-shared (RWO) volume for temporary tablespaces
- Auditlogs - shared (RWX) volume for audit logs
The preceding diagrams illustrate the storage configuration options for Db2uCluster.
Mandatory storage:
- System data - shared (RWX) volume for Db2 Warehouse metadata, also referenced as Meta.
- User data - non-shared (RWO) volume for database storage, also referenced as Data.
- Backup - shared (RWX) volume for database backups
- Activelogs - non-shared (RWO) volume for transactional logs
- Tempts - non-shared (RWO) volume for temporary tablespaces
- Archivelogs - non-shared (RWO) volume for archive logs
- Auditlogs - shared (RWX) volume for audit logs
For a full listing of supported storage types, see Storage requirements.
Notes:
- When provisioning the database, for user data (the main database data), select ReadWriteOnce (RWO) access mode for your storage.
- Select 4K sector size during provisioning if your storage supports 4K (this setting is mandatory for Portworx). Db2 Warehouse also supports 4K for OpenShift® Data Foundation.
- For more information about configuring dynamic provisioning for NFS storage for testing, see the External Storage topic in the
kubernetes-incubatorrepository on GitHub. - For a comparison of NAS versus SAN storage, see Storage technologies for IBM Db2 Warehouse.