This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tsm:tsm_dedup_stats [2021/09/13 09:48] manu |
tsm:tsm_dedup_stats [2023/12/12 22:51] (current) manu [Container too big on replica, using node replication] |
||
---|---|---|---|
Line 7: | Line 7: | ||
Steps | Steps | ||
Use the following methods to query data deduplication statistics for all types of storage pools: | Use the following methods to query data deduplication statistics for all types of storage pools: | ||
- | 1. QUERY OCCUPANCY | + | * QUERY OCCUPANCY |
- | 2. SELECT * from OCCUPANCY | + | * SELECT * from OCCUPANCY |
- | 3. SELECT * from SUMMARY | + | * SELECT * from SUMMARY |
- | QUERY OCCUPANCY | + | === QUERY OCCUPANCY === |
Use the QUERY OCCUPANCY command to show how much space client file spaces occupy. Use this command when you want to issue a command from the command line. You can specify a storage pool to query for files from a specified file space. | Use the QUERY OCCUPANCY command to show how much space client file spaces occupy. Use this command when you want to issue a command from the command line. You can specify a storage pool to query for files from a specified file space. | ||
- | Restriction: For container storage pools, you cannot view statistics for the node and file space by using the QUERY OCCUPANCY command. You must use the following commands to display node and file space statistics for container storage pools: | ||
+ | Restriction: For container storage pools, you cannot view statistics for the node and file space by using the QUERY OCCUPANCY command. You must use the following commands to display node and file space statistics for container storage pools: | ||
+ | <cli prompt='>'> | ||
GENERATE DEDUPSTATS | GENERATE DEDUPSTATS | ||
QUERY DEDUPSTATS | QUERY DEDUPSTATS | ||
DELETE DEDUPSTATS | DELETE DEDUPSTATS | ||
- | | + | </cli> |
- | Example | + | |
+ | **Example** | ||
+ | <cli prompt='>'> | ||
SELECT * from OCCUPANCY | SELECT * from OCCUPANCY | ||
+ | </cli> | ||
Use the SELECT * from OCCUPANCY command as part of report generation and automation. | Use the SELECT * from OCCUPANCY command as part of report generation and automation. | ||
Line 91: | Line 95: | ||
To purge these caches, use the associated command. | To purge these caches, use the associated command. | ||
+ | **Also on source and target you can purge cache** | ||
+ | <cli prompt='>'> | ||
+ | Protect: TSM01>remove stgprotection localstgpool=container01 remoteserver=tsm02 remotestg=container01 | ||
+ | </cli> | ||