Frequently Used DB2 instance creation statements on AIX:
# Useradd-g db2iadm1-m db2inst6
# Useradd-g db2fadm1-m db2fenc6
# Db2icrt-u db2fenc6-p 60034 db2inst6
# Chuser fsize =-1 fsize_hard =-1 data =-1 data_hard =-1 stack =-1 stack_hard =-1 rss =-1 rss_hard =-1 nofiles =-1 nofiles_hard = -1 db2inst6
# Db2 get dbm cfg | grep-I svcename
# Db2 update dbm cfg using SVCENAME DB2_db2inst6
# Db2set-lr | grep-I db2comm = tcpip
# Db2iauto-on db2inst6
Enable self_tuning memory.
Db2 update db cfg for sample using SELF_TUNING_MEM ON immediate
Db2 get db cfg for sample | grep-I database_memory
Db2 get db cfg for sample | grep-I sortheap
Db2 get db cfg for sample | grep-I sheapthres_shr
Db2 get db cfg for sample | grep-I locklist
Db2 get db cfg for sample | grep-I self_tuning
Db2 "update database configuration for sample using SELF_TUNING_MEM ON"
Db2 "update database configuration for sample using pckcachesz automatic"
Db2 "update database configuration for sample using locklist automatic"
Db2 "update database configuration for sample using MAXLOCKS automatic"
Db2 "update database configuration for sample using sortheap automatic"
Db2 "update database configuration for sample using SHEAPTHRES_SHR AUTOMATIC"
Db2 "update database configuration for sample using DATABASE_MEMORY AUTOMATIC"