简介 对于刚涉足 DB2 领域的 DBA 或未来的 DBA 而言,新数据库的设计和性能选择可能会很令人困惑.在本文中,我们将讨论 DBA 要做出重要选择的两个方面:表空间和缓冲池.表空间和缓冲池的设计和调优会对 DB2 服务器的性能产生深远的影响,因此我们将着重讨论这些活动. 在我们的示例中,我们将使用 DB2 V8.1 企业服务器版.大多数示例也适用于低级版本.我们会让您知道某个示例是否只适用于 V8.1. 在 第 1 节中,我们将从定义表空间的类型开始,并将说明 DB2 如何将数据存储在表空