tips n-tricks to improve performance and reduce disk space
DESCRIPTION
COMMON Europe Congress 2012 - ViennaTRANSCRIPT
![Page 1: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/1.jpg)
Tips and Tricks to improve system
performance and save disk space.
Pete Massiello
iTech Solutions
203-744-7854
iTech Solutions because IBM i (AS/400s) don’t come with System Administrators
0
![Page 2: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/2.jpg)
Copyright iTech Solutions 1
In this session
In this presentation we will discuss the ways to clean up our disk
space, and what you can do to improve performance. While the
IBM i may manage itself in some areas, there are many
optimization and cleanup techniques that are part of IBM i, yet
most shops don’t spend the time and effort to implement them. We
will learn the “tricks” that can help you reduce your disk I/O,
reduce disk utilization, reduce memory faulting, and improve
system performance.
![Page 3: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/3.jpg)
Copyright iTech Solutions 2
What We’ll Cover …
• Performance Terms and Problems
• Physical Files
• Logical Files
• Programs
• Other Objects
• Performance and Expert Cache
• Basic Cleanup and Why
• Save Files, Reclaim Storage, and Spool Files
• DISKTASKs
• What to do Tomorrow
• Wrap-up
![Page 4: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/4.jpg)
Copyright iTech Solutions 3
What We’ll Cover …
• Performance Terms and Problems
• Physical Files
• Logical Files
• Programs
• Other Objects
• Performance and Expert Cache
• Basic Cleanup and Why
• Save Files, Reclaim Storage, and Spool Files
• DISKTASKs
• What to do Tomorrow
• Wrap-up
![Page 5: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/5.jpg)
Copyright iTech Solutions 4
Timeslice Optimization
Mirroring
Activity Levels
Batch Throughput
Management
Performance tools
Automatic Performance
Adjustment
Is This Where to Start Performance Tuning?
![Page 6: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/6.jpg)
Copyright iTech Solutions 5
Downforce
Turbo Pressure
Tire Selection
?!
Damper settings
720 IBM
Identifying the Problem
![Page 7: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/7.jpg)
Copyright iTech Solutions 6
Identifying the Problem (cont.)
720 IBM
What Performance can you expect?
![Page 8: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/8.jpg)
Copyright iTech Solutions 7
Why We Should Be Cleaning
Hidden costs. “Having a lot of storage is like having children. It can cost you almost nothing to have a child, but the upkeep costs a lot. In fact, Aberdeen’s research and other people’s research show that there can be an order of magnitude difference between the cost to acquire the storage and the cost to maintain it.” Dan Tanner Analyst with Aberdeen Group
![Page 9: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/9.jpg)
Copyright iTech Solutions 8
Removing Excess Baggage
Optimization
Tuning
What We Will Discuss
![Page 10: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/10.jpg)
Copyright iTech Solutions 9
What We’ll Cover …
• Performance Terms and Problems
• Physical Files
• Logical Files
• Programs
• Other Objects
• Performance and Expert Cache
• Basic Cleanup and Why
• Save Files, Reclaim Storage, and Spool Files
• DISKTASKs
• What to do Tomorrow
• Wrap-up
![Page 11: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/11.jpg)
Copyright iTech Solutions 10
Generate List of Files
![Page 12: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/12.jpg)
Copyright iTech Solutions 11
Create Query
• Select input file as yourlib/DSPFDPF
• Select these fields: MBLIB, MBFILE, MBNAME, MBNRCD, MBNDTR, MBDSZ2
• Sort by MBDSZ2 Descending
• Select records by: MBNDTR GT 0 and MBFILE NLIKE 'QADB%'
![Page 13: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/13.jpg)
Copyright iTech Solutions 12
List to Work On
![Page 14: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/14.jpg)
Copyright iTech Solutions 13
Physical Files
• Size
• Reorganize (normal and while active*)
• Blocking
• Resequence
• Purge & Archive
• 3rd Party Software
![Page 15: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/15.jpg)
Copyright iTech Solutions 14
All Records are stored in pages. Think of a page as a chess
board containing:
Deleted records
Active records
RGZPFM
![Page 16: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/16.jpg)
Copyright iTech Solutions 15
RGZPFM (cont.)
![Page 17: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/17.jpg)
Copyright iTech Solutions 16
The Old Way
![Page 18: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/18.jpg)
Copyright iTech Solutions 17
Reorganize While Active
Requires file to be journaled.
And, let’s discuss the LOCK
Parameter.
![Page 19: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/19.jpg)
Copyright iTech Solutions 18
Locked, Others Can Read
![Page 20: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/20.jpg)
Copyright iTech Solutions 19
Physical Files
• Size
• Reorganize
• Blocking
• Resequence
• Purge & Archive
• 3rd Party Software
![Page 21: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/21.jpg)
Copyright iTech Solutions 20
What We’ll Cover …
• Performance Terms and Problems
• Physical Files
• Logical Files
• Programs
• Other Objects
• Performance and Expert Cache
• Basic Cleanup and Why
• Save Files, Reclaim Storage, and Spool Files
• DISKTASKs
• What to do Tomorrow
• Wrap-up
![Page 22: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/22.jpg)
Copyright iTech Solutions 21
Logical Files
• Size
• Sharing
• Performance
• Maintenance Level
• Onetime Fixes
• 3rd Party Software
![Page 23: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/23.jpg)
Copyright iTech Solutions 22
Sharing Access Paths
![Page 24: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/24.jpg)
Copyright iTech Solutions 23
Sharing Example
• Sales Physical File
• Logical File A
Keyed by Country
• Logical File B
Key by Country, State
![Page 25: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/25.jpg)
Copyright iTech Solutions 24
Logical Files
• Size
• Sharing
• Performance
• Maintenance Level
• Onetime Fixes
• 3rd Party Software
![Page 26: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/26.jpg)
Copyright iTech Solutions 25
What We’ll Cover …
• Performance Terms and Problems
• Physical Files
• Logical Files
• Programs
• Other Objects
• Performance and Expert Cache
• Basic Cleanup and Why
• Save Files, Reclaim Storage, and Spool Files
• DISKTASKs
• What to do Tomorrow
• Wrap-up
![Page 27: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/27.jpg)
Copyright iTech Solutions 26
Programs
• Symbol Table
• V5R1 Observability & Creation Data
• V6R1 Migrations
Analyze Object Convert - ANZOBJCVN
• Types of Compression
• Optimization
• Usage
![Page 28: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/28.jpg)
Copyright iTech Solutions 27
What We’ll Cover …
• Performance Terms and Problems
• Physical Files
• Logical Files
• Programs
• Other Objects
• Performance and Expert Cache
• Basic Cleanup and Why
• Save Files, Reclaim Storage, and Spool Files
• DISKTASKs
• What to do Tomorrow
• Wrap-up
![Page 29: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/29.jpg)
Copyright iTech Solutions 28
Removing Excess Baggage — Other Objects
• Device Files
• Menus
• Panel Groups
• Source Files
• Spool Files
![Page 30: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/30.jpg)
Copyright iTech Solutions 29
Removing Excess Baggage — Other Ways
• Temporary & Spool Storage – RCLTMPSTG & RCLSPLSTG
• IFS
• Reclaim Storage – RCLSTG *ALL | *DBXREF | *DIR
• Resizing of Objects
• History Logs, Spool Files, Journal Rcvrs
![Page 31: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/31.jpg)
Copyright iTech Solutions 30
What We’ll Cover …
• Performance Terms and Problems
• Physical Files
• Logical Files
• Programs
• Other Objects
• Performance and Expert Cache
• Basic Cleanup and Why
• Save Files, Reclaim Storage, and Spool Files
• DISKTASKs
• What to do Tomorrow
• Wrap-up
![Page 32: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/32.jpg)
Copyright iTech Solutions 31
Performance — Expert Cache
• Part of IBM i
• Look ahead cache
• Used only with Shared Pools
• *CALC Paging Option
• CHGSBSD to use Shared Pools
• WRKSHRPOOL
![Page 33: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/33.jpg)
Copyright iTech Solutions 32
WRKSHRPOOL
How to Activate
![Page 34: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/34.jpg)
Copyright iTech Solutions 33
WRKSHRPOOL (cont.) Minimum Sizes are
not correct for your
machine
![Page 35: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/35.jpg)
Copyright iTech Solutions 34
Performance
• QPFRADJ
0 No Adjustment
1 Adjustment at IPL
2 Adjustment at IPL & Automatically
3 Automatically
![Page 36: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/36.jpg)
Copyright iTech Solutions 35
General Performance
• Queries
• Indexes
• Backups
• Balanced Disks – STRASPBAL
![Page 37: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/37.jpg)
Copyright iTech Solutions 36
What We’ll Cover …
• Performance Terms and Problems
• Physical Files
• Logical Files
• Programs
• Other Objects
• Performance and Expert Cache
• Basic Cleanup and Why
• Save Files, Reclaim Storage, and Spool Files
• DISKTASKs
• What to do Tomorrow
• Wrap-up
![Page 38: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/38.jpg)
Copyright iTech Solutions 37
Why We Should Be Cleaning
• Backups
• Performance
• Recovery
![Page 39: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/39.jpg)
Copyright iTech Solutions 38
Automation
![Page 40: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/40.jpg)
Copyright iTech Solutions 39
Automation (cont.)
![Page 41: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/41.jpg)
Copyright iTech Solutions 40
Cleanup
• User MSGQs when not signed on
• QSYSOPR under System & WS
• Only QEZDEBUG & QEZJOBLOG
• System Journals (See next slide for names)
• History Log, Problem Logs, some temporary PTF objects, and
Alert DB
![Page 42: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/42.jpg)
Copyright iTech Solutions 41
System Journals Cleaned
• QAOSDIAJRN Journal for DIA files.
• QDSNX Journal for DSNX logs.
• QSNADS Journal for SNADS files.
• QSNMP Journal for SNMP.
• QSXJRN Journal for problem databases.
• QLYJRN Journal for Application Development Manager transactions.
• QPFRADJ Journal for performance adjustment data.
• QX400 Journal for OSI Message Services.
• QCQJMJRN Journal for Managed System Services.
• QO1JRN Journal for Application Enabler OFC files.
• ADJRNLO Journal for application program driver files.
• QLYPRJLOG Journal for project logs.
• QMAJRN Journal for order assistance requests.
• QZMF Journal for mail server framework log.
• QVPN Journal for Virtual Private Networking.
• QZCAJRN Journal for the SNMP database.
• QACGJRN Journal for job accounting data.
![Page 43: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/43.jpg)
Copyright iTech Solutions 42
Verify Cleanup Is Cleaning
![Page 44: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/44.jpg)
Copyright iTech Solutions 43
PTFs
![Page 45: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/45.jpg)
Copyright iTech Solutions 44
Permanently Apply PTFs
When a PTF is applied, it completely replaces the affected objects in
the product. PTFs can be applied temporarily or permanently. If
they are applied temporarily, the replaced objects are saved by the
system and can later be restored to the product by the Remove
Program Temporary Fix (RMVPTF) command. If PTFs are applied
permanently, the replaced objects are deleted from the system.
![Page 46: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/46.jpg)
45
PTFs You Have Downloaded
• Have cover letters stored as members in QGPL/QAPZCOVER
• Save Files in QGPL
QMF*
QSI*
QSF*
• Use DLTPTF
![Page 47: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/47.jpg)
Copyright iTech Solutions 46
DLTPTF
![Page 48: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/48.jpg)
Licensed Programs You Are NOT Using
• Careful
• Never delete the library,
always use DLTLICPGM
![Page 49: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/49.jpg)
48
Remove Old Main Storage Dumps
• STRSST & signon
• Select option 1. Start a Service Tool
• Select option 6. Main Storage Dump Manager
• Select option 2. Work with copies of MSD
![Page 50: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/50.jpg)
Copyright iTech Solutions 49
Old Performance Data
![Page 51: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/51.jpg)
Copyright iTech Solutions 50
What We’ll Cover …
• Performance Terms and Problems
• Physical Files
• Logical Files
• Programs
• Other Objects
• Performance and Expert Cache
• Basic Cleanup and Why
• Save Files, Reclaim Storage, and Spool Files
• DISKTASKs
• What to do Tomorrow
• Wrap-up
![Page 52: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/52.jpg)
Copyright iTech Solutions 51
Save Files
• Can be a big payoff, BUT …
• You need to decide which ones to keep and which ones to delete.
• Find out Date last used, Date when created, and by what UserID.
• Don’t delete any of them in Q libraries.
• DSPSAVF to help you decide.
• Backup to Special Tape before delete.
![Page 53: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/53.jpg)
Copyright iTech Solutions 52
Generate List of Files on the System
![Page 54: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/54.jpg)
Copyright iTech Solutions 53
Create Query
• Select input file as yourlib/DSPSAVFS
• Select these fields: ODLBNM, ODOBNM, ODOBSZ, ODOBOW,
ODLDAT , ODUDAT
• Sort by ODOBSZ Descending
• Select records by:
ODOBAT EQ 'SAVF'
![Page 55: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/55.jpg)
Copyright iTech Solutions 54
List of Save Files
![Page 56: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/56.jpg)
Copyright iTech Solutions 2007 55
Libraries
• Programmers who have left
• Old Libraries
• Backup Libraries
• WRKLIB *ALL
![Page 57: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/57.jpg)
56
Old Journal Receivers
• DSPOBJD OBJ(*ALL/*ALL) OBJTYPE(*JRNRCV)
• Ones people forgot about and they just grow.
• Sequence number jump.
![Page 58: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/58.jpg)
Reclaim Storage
![Page 59: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/59.jpg)
Copyright iTech Solutions 58
More on Reclaims
• After RCLSTG look in library QRCL and directory QReclaim
• Subcomponents of RCLSTG
RCLLNK OBJ(/)
RCLDBXREF (*CHECK or *FIX)
RCLOBJOWN USRPRF( )
RCLDLO DLO(*ALL)
RCLLIB LIB( )
RCLSPLSTG DAYS(1)
• RCLTMPSTG LIB(*ALL) DAYS(1)
![Page 60: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/60.jpg)
Copyright iTech Solutions 59
Delete Expired Spool Files
Since V5R4
![Page 61: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/61.jpg)
Copyright iTech Solutions 60
Set Spool Files to Expire
![Page 62: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/62.jpg)
Copyright iTech Solutions 61
What We’ll Cover …
• Performance Terms and Problems
• Physical Files
• Logical Files
• Programs
• Other Objects
• Performance and Expert Cache
• Basic Cleanup and Why
• Save Files, Reclaim Storage, and Spool Files
• DISKTASKs
• What to do Tomorrow
• Wrap-up
![Page 63: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/63.jpg)
Copyright iTech Solutions 62
Collect Disk Information
• You can run RTVDSKINF to Collect Disk Information, or you can
use the DISKTASKs Menu.
• You will want to run the RTVDSKINF command in Batch.
• Using the DISKTASKs menu, you can select option 1 to automate
the collection of the RTVDSKINF information on a selected
interval (Daily, Weekly, or monthly).
![Page 64: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/64.jpg)
Copyright iTech Solutions 63
GO DISKTASKS
![Page 65: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/65.jpg)
Copyright iTech Solutions 64
Collect Disk Information
![Page 66: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/66.jpg)
Copyright iTech Solutions 65
Print Disk Information
![Page 67: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/67.jpg)
Copyright iTech Solutions 66
System Level
![Page 68: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/68.jpg)
Copyright iTech Solutions 67
Library Level
![Page 69: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/69.jpg)
Copyright iTech Solutions 68
Objects in QSYS Larger Than 1 MB
![Page 70: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/70.jpg)
Copyright iTech Solutions 69
Report on QSYS
![Page 71: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/71.jpg)
Copyright iTech Solutions 70
All Files Over 100 MB
![Page 72: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/72.jpg)
Copyright iTech Solutions 71
All Files Over 100 MB (cont.)
![Page 73: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/73.jpg)
Copyright iTech Solutions 72
Folders Not the IFS
![Page 74: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/74.jpg)
Copyright iTech Solutions 73
Get the Directory Information
• The Retrieve Directory Information (RTVDIRINF) command is used
to collect attributes for directories and files in the Integrated File
System. The collected information is stored in database files that
are named using the information file prefix specified by the
INFFILEPFX parameter. The files are created in the library
specified by the INFLIB parameter, defaults to QUSRSYS.
• You will want to run this in batch.
• You can run the Print Directory Information (PRTDIRINF)
command to print reports using the retrieved directory
information.
![Page 75: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/75.jpg)
Copyright iTech Solutions 74
Get the Directory Information (cont.)
![Page 76: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/76.jpg)
Copyright iTech Solutions 75
Print Directory Information
![Page 77: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/77.jpg)
Copyright iTech Solutions 76
Directory: Size, Number, Subdirectories
![Page 78: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/78.jpg)
Copyright iTech Solutions 77
What We’ll Cover …
• Performance Terms and Problems
• Physical Files
• Logical Files
• Programs
• Other Objects
• Performance and Expert Cache
• Basic Cleanup and Why
• Save Files, Reclaim Storage, and Spool Files
• DISKTASKs
• What to do Tomorrow
• Wrap-up
![Page 79: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/79.jpg)
Copyright iTech Solutions 78
Don’t Let Fear, Uncertainty, and Doubt (FUD) Stop You!
You can't do it safely?
What does IBM think?
What will my BP think?
Recovery implications? What are the alternatives?
It can't be true!
![Page 80: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/80.jpg)
Copyright iTech Solutions 79
Programs
Physical Files
Logical Files
Optimization – CHGPGM
Symbol Tables - CPROBJ Compression *ALL | *OBJ
Reorganize - RGZPFM Resequence - keyfile(name) Purge, Purge, Purge
Access Path Sharing Access Path Maintenance -
CHGLF
Where to Start
![Page 81: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/81.jpg)
Copyright iTech Solutions 80
Objects
Object
Types
Compress - CPROBJ
Delete
Clear ARCHIVE!!!
Logs Journals Queues Oversized Objects
Spool Members Reclaim Storage Online Education
Where to Start (cont.)
![Page 82: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/82.jpg)
Copyright iTech Solutions 81
What We’ll Cover …
• Performance Terms and Problems
• Physical Files
• Logical Files
• Programs
• Other Objects
• Performance and Expert Cache
• Basic Cleanup and Why
• Save Files, Reclaim Storage, and Spool Files
• DISKTASKs
• What to do Tomorrow
• Wrap-up
![Page 83: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/83.jpg)
Copyright iTech Solutions 82
7 Key Points to Take Home
• Generate a list of files on your system using the DSPFD on slide
10, and then select the largest files with deleted records as the
SQL/Query criteria on slide 11. You have your files with the most
deleted records, now we know which files need to be reorganized.
• When reorganizing files, don’t forget that the ALWCANCEL(*YES)
provides the reorganize while active function.
• Figure out which logical files can be shared by examining the
keys of the logical files and creating the superset keys first and
the subset keys last.
![Page 84: Tips n-tricks to improve performance and reduce disk space](https://reader030.vdocuments.mx/reader030/viewer/2022020217/554a09d4b4c9055b7a8b5936/html5/thumbnails/84.jpg)
7 Key Points to Take Home (cont.)
• Use Expert Cache to have the next records in memory before you
use them, by changing the paging option of the memory pool to
*CALC.
• Save files are always big disk hogs; use the procedures on slides
52 and 53 to identify your culprits.
• Automate the collection of object information by setting up weekly
disk collections.
• Run Reclaim Storage every 6 months to find damaged objects,
identify offend objects, and reorganize the QADB* files in QSYS.