Releasing LOB space in Microsoft SQL Server databases
You can release the large object (LOB) storage in the Microsoft SQL Server database.
Before you begin
Plan downtime for upgrading HCL™ Launch and releasing LOB space.
About this task
Procedure
- Set the experimental.vcUpgrade.enabled=true parameter in the conf/server/installed.properties file.
- Restart the HCL™ Launch server.
-
Check on the progress of the conversion:
select count(*) from vc_persistent_record where persistent_data is not null
The compression process is complete when the row count reported by the query is 0.
-
Check the database size:
EXEC sp_spaceused @updateusage = N'TRUE';
-
Compress the database table:
DBCC SHRINKDATABASE (dbname, 0); DBCC SHRINKDATABASE (dbname);
What to do next
- Verify that the space is
reduced:
EXEC sp_spaceused @updateusage = N'TRUE';
- Set the experimental.vcUpgrade.enabled parameter back to false in the conf/server/installed.properties file.