The steps to implementing Db2 with BLU acceleration are shown here:
- Create a Db2 instance (db2icrt command).
- Configure the Db2 instance for a BLU workload.
Set the Db2 registry variables as follows:
db2set DB2COMM=TCPIP
db2set DB2_WORKLOAD=ANALYTICS
- Restart the Db2 instance:
db2stop
db2start
- Create a Db2 database, as described earlier in this chapter.
- Set the following DBM and DB parameters:
- INSTANCE_MEMORY: If this is the only instance on this server, set to 95 percent of RAM; otherwise, take 95 percent of RAM and divide it among the instances, per workloads and importance. (If Production does not use AUTOMATIC.)
- DATABASE_MEMORY: If this is the only database in the instance, then use 80 percent of INSTANCE_MEMORY ...