If your database is still using BasicFiles LOB storage, you should move to SecureFiles LOB storage format.
Refer to "Solution #1" for Oracle Standard Edition (12c and newer).
Refer to "Solution #2" for Oracle Enterprise Edition (any version) and version 11g Standard.
Oracle Standard Edition 12c and newer does not support online table redefinition, which is used by the Symantec database space reclamation utility. The utility script is no longer valid for Oracle Standard Edition 12c and newer, but is valid for Oracle Enterprise Editions with the attached script.
This solution applies to all supported databases and requires that you shut down the system during the conversion process.
Unlike BasicFiles LOB storage, SecureFiles LOB storage tracks deleted LOBs and makes that space available after the retention period expires. After converting to SecureFiles LOB storage, you do not need to run a script to reclaim LOB space in your database. Space reclamation is handled automatically.
If you are using an Oracle 12c Standard database that still includes BasicFiles LOB storage tables, you should convert them as soon as possible to take advantage of the improved functionality of the SecureFiles LOB storage format. You should convert your tables to SecureFiles format before running the Upgrade Readiness Tool when upgrading to the next release of Symantec Data Loss Prevention.
You can manually convert your Oracle 12c LOB tables from BasicFiles to SecureFiles using the following procedure:
expdp protect/<protect password> NOLOGFILE=YES ESTIMATE_ONLY=YES TABLES='MESSAGELOB'
expdp protect/<protect password> NOLOGFILE=YES ESTIMATE_ONLY=YES TABLES='MESSAGECOMPONENTLOB'
expdp protect/<protect password> NOLOGFILE=YES ESTIMATE_ONLY=YES TABLES='CONDITIONVIOLATIONLOB'
Use these estimates to provide confirmation for whether there is sufficient space on the database hard drive. If there is enough space, proceed to step 5. If space is insufficient, you will need to work with your server team to add the additional required space.
expdp protect/<protect password> dumpfile=protect_messagelob.dmp logfile=protect_messagelob.log directory=DATA_PUMP_DIR tables='MESSAGELOB'
expdp protect/<protect password> dumpfile=protect_messagecom.dmp logfile=protect_messagecom.log directory=DATA_PUMP_DIR tables='MESSAGECOMPONENTLOB'
expdp protect/<protect password> dumpfile=protect_cvlob.dmp logfile=protect_cvlob.log directory=DATA_PUMP_DIR tables='CONDITIONVIOLATIONLOB'
Verify that the tables appear in the data pump directory:
select DIRECTORY_NAME, DIRECTORY_PATH from dba_directories where DIRECTORY_NAME = 'DATA_PUMP_DIR';
Import the tables from the data pump directory as follows:
impdp protect/<protect password> dumpfile=protect_messagelob.dmp logfile=protect_import_message.log directory=DATA_PUMP_DIR table_exists_action=REPLACE transform=LOB_STORAGE:SECUREFILE
impdp protect/<protect password> dumpfile=protect_messagecom.dmp logfile=protect_import_messagecom.log directory=DATA_PUMP_DIR table_exists_action=REPLACE transform=LOB_STORAGE:SECUREFILE
impdp protect/<protect password> dumpfile=protect_cvlob.dmp logfile=protect_import_cv.log directory=DATA_PUMP_DIR table_exists_action=REPLACE transform=LOB_STORAGE:SECUREFILE
Run the following query to verify that the tables are in SecureFiles LOB storage format:
select table_name, securefile from user_lobs where table_name like '%LOB%';
The query returns yes in the securefile column to indicate that the tables are in SecureFiles LOB storage format.
NOTE: Make sure you are logged in as "protect" user (or your equivalent) as this is expected when running the select query. The reason for this is the user_lobs view only reports lobs that are owned by the logged-in user.
Once completed:
Restart the Oracle Listener service on the Oracle server.
Restart all DLP services on your Enforce Server. The following links are to the Symantec Data Loss Prevention 15.5 help. Your service names may be slightly different. You can also refer to the topics "Starting and stopping services on Linux" and "About starting and stopping services on Windows" in the Symantec Data Loss Prevention Administration Guide appropriate to your version.
For Linux, see Starting an Enforce Server on Linux
For Windows, see Starting an Enforce Server on Windows
This solution applies to installations of Oracle Enterprise (Any version) and Oracle 11g Standard (11.2.0.4) databases and allows you to continue running your system during the conversion process.
Symantec provides a LOB space management script (DLP_lobspace_mgmt_b.pls) that converts BasicFiles Large Object (LOB) storage to SecureFiles LOB storage in your database when you run the database space reclamation utility (DLP_Lobspace_reclaim.sql).
Unlike BasicFiles LOB storage, SecureFiles LOB storage tracks deleted LOBs and makes that space available after the retention period expires. After converting to SecureFiles LOB storage, you do not need to run a script to reclaim LOB space in your database. Space reclamation is handled automatically.
Updating the LOB space management script requires that you update the DLP_lobspace_mgmt_b.pls and DLP_Lobspace_reclaim.sql files.
Incidents continue to be written to the Enforce Server during the SecureFiles format conversion process. The process does not affect Enforce Server functions and there is minimal performance impact.
NOTE: For large databases (.5 TB or more) and for environments that have continuous incidents being added every minute, it would be best practice to stop the Incident Persister service while running the LOB_lobspace_reclaim.sql. Otherwise the UNDO_RETENTION initialization parameter will need to be increased significantly as well as the size of the UNDO Tablespace
To update the files on Symantec Data Loss Prevention systems, follow these steps:
To use the database space reclamation utility to convert your Oracle BasicFiles LOB storage to SecureFiles LOB storage, follow this procedure:
If you run the DLP_Lobspace_reclaim.sql on Data Loss Prevention 14.x or above, and you are using Oracle Standard Edition (12.1.x or newer), the script will fail with this message: "ERROR at line 1: ORA-00439: feature not enabled: Online Redefinition." You can refer to lobspace_reclamation.log for error information. Refer to "Solution #1" for steps to complete the conversion.
Note the DLP_lobspace_mgmt_s.pls script can be found in the C:\Program Files\Symantec\DataLossPrevention\EnforceServer\15.X.00000\Protect\install\sql folder on your Enforce server.