Interface of a DB2 TableSpace. An object of this kind is used to create a CREATE TABLESPACE ...
statement.
A TableSpace can be associated to a {@link BufferPool}. If it is, it inherits certain settings from the {@link BufferPool}, in particular the {@link #getPageSize() pageSize}.
A tablespace needs to know where data is stored physically. DB2 distinguishes between two possible data locations: System managed (Files handled by the operating system) and Database managed (Files handled by the database or Devices). In the latter case the database will preallocate space for the files or devices, giving a slightly faster operation. On the other hand, database managed files cannot grow automatically.
A tablespaces data location is called container. Any tablespace must have at least one container. Note, that one tablespace cannot have both system managed containers and database managed containers. If the first container is system managed, then all containers are, and vice versa.
@author Jochen Wiedmann
|
|
|
|