For one of my issue, I am trying to understand the functionalities of below DB2 entities,
- System Temporary table space.
- Page Size.
- Table Space.
- Buffer Pool.
And below is my observation,
- There is a TableSpace linked to a table in the DB2 table syscat.tables
- The TableSpaces are linked to BufferPool with the relation defined in syscat.tablespaces
- System Temporary table space is the table space that the DB might use while executing the query.
- Page Size is an unit that defines the limit of a TableSpace and says how much data can a TableSpace can hold.
Is there something wrong in my above understandings? And when I excute a query how does the DB chooses which TableSpace to choose?