I defined a database and loaded the data and the application is able to access the data without problems. When I do the command:
db2 list table spaces show detail
It shows one of the table spaces (USERSPACE1) offline. Not sure if this is a problem since the application does not use that table space..
Here is the output:
Code:
Tablespaces for Current Database
Tablespace ID = 0
Name = SYSCATSPACE
Type = System managed space
Contents = Any data
State = 0x0000
Detailed explanation:
Normal
Total pages = 4594
Useable pages = 4594
Used pages = 4594
Free pages = Not applicable
High water mark (pages) = Not applicable
Page size (bytes) = 4096
Extent size (pages) = 32
Prefetch size (pages) = 32
Number of containers = 1
Tablespace ID = 1
Name = TEMPSPACE1
Type = System managed space
Contents = System Temporary data
State = 0x0000
Detailed explanation:
Normal
Total pages = 1
Useable pages = 1
Used pages = 1
Free pages = Not applicable
High water mark (pages) = Not applicable
Page size (bytes) = 4096
Extent size (pages) = 32
Prefetch size (pages) = 32
Number of containers = 1
Tablespace ID = 2
Name = USERSPACE1
Type = Database managed space
Contents = Any data
State = 0x4000
Detailed explanation:
Offline
Tablespace ID = 3
Name = LSFGENDATA
Type = Database managed space
Contents = Any data
State = 0x0000
Detailed explanation:
Normal
Total pages = 1536000
Useable pages = 1535984
Used pages = 23616
Free pages = 1512368
High water mark (pages) = 23616
Page size (bytes) = 4096
Extent size (pages) = 16
Prefetch size (pages) = 16
Number of containers = 1
Tablespace ID = 4
Name = LSFGENINDEX
Type = Database managed space
Contents = Any data
State = 0x0000
Detailed explanation:
Normal
Total pages = 1536000
Useable pages = 1535984
Used pages = 32720
Free pages = 1503264
High water mark (pages) = 32720
Page size (bytes) = 4096
Extent size (pages) = 16
Prefetch size (pages) = 16
Number of containers = 1
I also noticed that the type is database managed rather than system managed. All the other databases that have been defined set this to system managed. Thank you.