I am just trying to figure some ways to do manage archiving of some/most of our Application data within the database and wondering if something like this would be possible:
- Archive anything with a status of resolved, and a data updated over 3 years
- Move MOST, but not all that data to the archive database, and replace the values within the current production database with a “SymLink” that points to the archived database?
Here is a simplified example:
#######################################################################################################
### Active_Prod ###
#######################################################################################################
# ALIASAPPTYPE ALIASAPPREASON PZINSKEY PZPVSTREAM #
# App_Type_1234 New Enrollee 132387Something6357997 <SYMLINKED to Archive_Prod.pzpvstream> #
# #
# #
#######################################################################################################
### Archive_Prod ###
#######################################################################################################
# ALIASAPPTYPE ALIASAPPREASON PZINSKEY PZPVSTREAM #
# App_Type_1234 New Enrollee 132387Something6357997 [BLOB Data] #
#######################################################################################################
So the query for select * from Active_Prod would return the following results:
ALIASAPPTYPE ALIASAPPREASON PZINSKEY PZPVSTREAM
App_Type_1234 New Enrollee 132387Something6357997 [BLOB Data]
We would not be concerned with updating or inserting data as the Archive_Prod database would be set to read only anyway.
My thinking here is we could drastically reduce the Active DB2 instance by archiving most of the date (The bulk of the data resides in the BLOB anyway), but keep the “Key” fields in the “Active” database for speedier lookups.
But by creating a symlink of the data, we can improve the performance of PEGA, and improve the backup/restore times by dramatically reducing the overall size of the database.