Understanding DB2®: Learning Visually with Examples
by Raul F. Chong, Clara Liu, Sylvia F. Qi, Dwaine R. Snow
8.4. Table Spaces
As discussed in Chapter 7, Working with Database Objects, a table space is a logical, not physical, database object. You cannot point to anything on disk or your server and say “This is my table space.” In DB2, all tables and indexes must be created in table spaces. Therefore, it is important to understand how to create and change table spaces.
A table space is a collection of one or more underlying physical storage devices known as containers. This allows you complete control over the placement of the containers on the disks, devices, and file systems available on your server.
There are two types of table spaces depending on how the physical space is allocated: system managed space (SMS) and database managed space (DMS). SMS ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access