Without the additional clause DB2 will try to reclaim space by truncating the table. (This is not a truncate as known with Oracle that deletes all data)
This last action will lock the table and this will prevent writing to the table.
So by adding the NOTRUNCATE clause the table will stay unlocked during the entire process and data can be written to it..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.