The following statement creates PERM space for database production_development with a size based on the constant expression 2,000,000 * (HASHAMP()+1), SPOOL with a size based on the constant expression 2,000,000 * (HASHAMP()+1), and TEMPORARY with a size based on the constant expression 2,000,000 * (HASHAMP()+1). The expressions calculate the number of AMPs in the current system and scale the PERM, SPOOL, and TEMPORARY space for the production_development database to that size.
CREATE DATABASE production_development AS PERM = 2000000*(HASHAMP()+1), SPOOL = 2000000*(HASHAMP()+1), TEMPORARY = 2000000*(HASHAMP()+1);