Impact on Cache Groups When Modifying the Oracle Database Schema
When you need to issue DDL statements such as CREATE,
            DROP or ALTER on cached Oracle Database tables in
        order to make changes to the Oracle Database schema, drop the affected cache groups before
        you modify the Oracle Database schema. Otherwise operations such as autorefresh may fail. 
               
You do not need to drop cache groups if you are altering the Oracle Database table to add a column.
To issue other DDL statements for Oracle Database tables, first perform the following tasks:
- 
                        Use DROP CACHE GROUPstatements to drop all cache groups that cache the affected Oracle Database tables. If you are dropping an AWT cache group, use thettRepSubscriberWaitbuilt-in procedure to make sure that all committed changes on the cache tables have been propagated to the cached Oracle Database tables before the cache group is dropped.% ttIsql "DSN=cache1;UID=cacheadmin;PwdWallet=/wallets/cacheadminwallet" Command> CALL ttRepSubscriberWait('_AWTREPSCHEME','TTREP','_ORACLE','sys1',-1);
- 
                        Stop the cache agent. 
- 
                        Make the desired changes to the Oracle Database schema. 
- 
                        Use CREATE CACHE GROUPstatements to re-create the cache groups, if feasible.
If you want to truncate an Oracle Database table that is cached in a cache group with autorefresh, perform the following tasks:
- Use an ALTER CACHE GROUPstatement to set the cache group's autorefresh state toPAUSED.
- Truncate the Oracle Database table.
- Manually refresh the cache group using a REFRESH CACHE GROUPstatement without aWHEREorWITH IDclause.
Autorefresh operations resume after you refresh the cache group.