Matakuliah Tahun : T0413 : 2009 DB2 Configuration Pertemuan 2 DB2 Configuration Bina Nusantara University 3 Database Manager Configuration file (dbm cfg) • Review configuration file – get dbm cfg • Update configuration file – update dbm cfg using <parameter> <value> – Eg: update dbm cfg using INTRA_PARALLEL YES • Some parameters are dynamically changed, others need a db2stop/db2start Bina Nusantara University 4 DBM CFG from the Control Center Control Center > (expand) Instances folder > (right-click) Instance > Configure Parameters Bina Nusantara University 5 DB2 Configuration Bina Nusantara University 6 Database Configuration file (db cfg) • Review configuration file – get db cfg for <db alias> or – get db cfg (If already connected to a db) • Update configuration file – update db cfg for <db alias> using <parameter> <value> – Eg: update db cfg for sample using CHNGPGS_THRESH 30 • Some parameters are dynamically changed, others need to “stop” and “start” a database Bina Nusantara University 7 DB CFG – From the Control Center Control Center > (expand) All Databases folder > (right-click) Database > Configure Parameters Bina Nusantara University 8 DB2 Configuration Bina Nusantara University 9 The DB2 Registry list variables set for instance list all available variables for platform sets a variable list all currently set variables db2set db2set –all db2set –lr db2set <parameter>=<value> Eg: db2set db2comm=tcpip A place to specify environment or platform specific settings e.g. settings for RAID, optimizer paths not yet fully integrated, communication protocols, environment specific performance enhancements Settings can be applied to various levels environment instance global (all instances) Bina Nusantara University 10 Example of DB2 Registry variables • DB2COMM – Specifies the communication managers that are started when the database manager is started. • DB2_EXTSECURITY – On Windows, prevents unauthorized access to DB2 by locking DB2 system files Bina Nusantara University 11
© Copyright 2026 Paperzz