Getting Started with Open Source Development
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
122 <strong>Getting</strong> started <strong>with</strong> open source development<br />
B.5 The DB2 environment<br />
Figure B.8 provides a quick overview of the DB2 environment.<br />
Figure B.8 - The DB2 Environment<br />
The figure illustrates a server where DB2 Express-C has been installed. The smaller boxes<br />
in light green (Environment Variables, Database Manager Configuration File, Database<br />
Configuration File, DB2 Profile Registry) are the different areas where a DB2 server can be<br />
configured, and they will be explained in more detail in the next section. The larger dark<br />
green box represents an instance which in this example has the name myinst.<br />
An instance is an environment where database objects can be created. On the same<br />
server, you can create several instances, each of which is treated independently. For<br />
example, you can use an instance for development, another one for test, and another one<br />
for production. Table B.1 shows some useful commands you can use at the instance level.<br />
Note that the commands shown in this section can also be performed from DB2 GUI Tools.<br />
Command<br />
db2start<br />
db2stop<br />
db2icrt <br />
db2idrop <br />
db2ilist<br />
Description<br />
Starts the current instance<br />
Stops the current instance<br />
Creates a new instance<br />
Drops an instance<br />
Lists the instances you have on your system