Job Management Partner 1/Software Distribution Setup Guide
If there is no disk available for a new partition, unneeded history must be deleted and an existing data partition must be reassigned. This subsection describes how to delete history up to March 2011 and reassign the data partitions to store history from January through March 2012.
In this subsection, we prepare query scripts for reassigning data partitions.
Table 7-13 Query scripts (for reassigning data partitions)
No. | Query script name | Description | Sample |
---|---|---|---|
1 | CreateArchTable.sql | Creates a netmdm_monitoring_security_arch table for transferring deleted data. To create your own query script based on this sample, change the following item:
|
F.10 |
2 | SwitchPartition.sql | Switches history up to March 2011 from the netmdm_monitoring_security table to the netmdm_monitoring_security_arch table. To create your own query script based on this sample, change the following item:
|
F.11 |
3 | DropArchTable.sql | Deletes the netmdm_monitoring_security_arch table. To create your own query script based on this sample, change the following item:
|
F.12 |
4 | MergeRange.sql | Alters the partition function so that history up to March 2011 will be stored in netmdm_moni_seg. To create your own query script based on this sample, change the following items:
|
F.13 |
5 | AlterPartition2nd.sql | Alters the partition function and partition scheme so that history from January through March 2012 will be stored in the existing filegroup from which history was just deleted. To create your own query script based on this sample, change the following items:
|
F.14 |
Operation monitoring history can be stored as shown in the following table by executing the query scripts of Table 7-13, deleting old history, and altering the partition scheme and partition function.
Table 7-14 Operation monitoring history that is stored (for reassigning data partitions)
No. | Filegroup name | Partition number | Operation monitoring history that is stored |
---|---|---|---|
1 | netmdm_moni_seg | 1 | event-start-time < 04/01/2011 |
2 | netmdm_moni_dp_0004 | 2 | 04/01/2011 |
3 | netmdm_moni_dp_0005 | 3 | 05/01/2011 |
4 | netmdm_moni_dp_0006 | 4 | 06/01/2011 |
5 | netmdm_moni_dp_0007 | 5 | 07/01/2011 |
6 | netmdm_moni_dp_0008 | 6 | 08/01/2011 |
7 | netmdm_moni_dp_0009 | 7 | 09/01/2011 |
8 | netmdm_moni_dp_0010 | 8 | 10/01/2011 |
9 | netmdm_moni_dp_0011 | 9 | 11/01/2011 |
10 | netmdm_moni_dp_0012 | 10 | 12/01/2011 |
11 | netmdm_moni_dp_0001 | 11 | 01/01/2012 |
12 | netmdm_moni_dp_0002 | 12 | 02/01/2012 |
13 | netmdm_moni_dp_0003 | 13 | 03/01/2012 |
You can add data partitions by executing the query scripts from Table 7-13 using SQL Server Management Studio.
To re-assign a data partition:
All Rights Reserved. Copyright (C) 2009, 2013, Hitachi, Ltd.
Copyright, patent, trademark, and other intellectual property rights related to the "TMEng.dll" file are owned exclusively by Trend Micro Incorporated.