Preparation for dropping a storage space
Before you drop a dbspace, you must first drop all databases and tables that you previously created in that dbspace. You cannot drop the root dbspace.
Before you drop a blobspace, you must drop all tables that have a TEXT or BYTE column that references the blobspace.
Run oncheck -pe to verify that no tables or log files are located in the dbspace or blobspace.
Before
you drop an sbspace, you must drop all tables that have a CLOB or
BLOB column that reference objects that are stored in the sbspace.
For sbspaces, you are not required to delete columns that point to
an sbspace, but these columns must be null; that is, all smart large
objects must be deallocated from the sbspace.
Tip: If you
drop tables on dbspaces where light appends are occurring, the light
appends might be slower than you expect. The symptom of this problem
is physical logging activity. If light appends are slower than you
expect, make sure that no tables are dropped in the dbspace either
before or during the light appends. If you have dropped tables, force
a checkpoint with onmode -c before you perform
the light append.
Important: Dropping a chunk or
a dbspace triggers a blocking checkpoint, which forces all database
updates to wait while all the buffer pools are flushed to disk. This
update blocking can be significantly longer during a blocking checkpoint
than during a non-blocking checkpoint, especially if the buffer pool
is large.