Most Db2 shops maintain their databases on a calendar: every object is reorganized, copied and given new statistics on a schedule, whether it needs it or not. That costs CPU, disk and elapsed time, and it still lets some objects slip through. TUC returns its cost by basing every REORG, COPY and RUNSTATS on how much an object has really changed and how well Db2 is really reading it, and by measuring the result, so the savings in CPU, storage and outages are numbers you can show.
Key Benefits
Better Performance — REORG, RUNSTATS and rebind triggered by real access-performance signals, and checked afterwards to prove the gain.
Lower Cost — Less CPU, storage and elapsed time, because maintenance runs only when it is needed.
Availability and Recoverability — Verified recovery points, and fast, flexible recovery when something goes wrong.
Central Control — One authorized, audited request queue, run by the scheduler you already use and placed in your existing job flow.
Maintenance That Scales — Policies that decide for themselves, keep pace with a changing environment and scale on their own, under the DBA team's supervision.
Investment Protection — Independence from utility vendors, fast implementation and a low cost of ownership over time.
Better Database Performance
Database performance comes down to how efficiently Db2 reaches the data it needs, and that depends on access paths staying well tuned as tables and indexes change. Structural measures such as disorganization and data growth are useful early warnings, but they do not always mean the applications are suffering. TUC goes a step further. It measures real access performance, acts only where it has degraded, and measures again to confirm the fix worked.
- Monitor. A low-cost Db2 statistics trace tracks getpage and synchronous I/O activity for every object.
- Detect. A real rise in synchronous I/O signals that access performance has degraded, not just that the structure has changed.
- Act. REORG, RUNSTATS and package rebind are triggered only for the objects that need them.
- Verify. Counters from before, right after and since the action confirm that access performance improved.
Measuring the Signal That Matters
Wear on a table is easy to see, but it does not always become a performance problem for the applications that use it. TUC measures what does: how efficiently Db2 reads each object. It collects the getpage and synchronous I/O counters from Db2's own statistics trace. The trace writes very few SMF records per interval, so the visibility costs almost nothing, and it can start automatically whenever Db2 comes up.
TUC turns the counters into one ratio for each object: getpages per synchronous I/O. A falling ratio means more reads go to disk, a sign of real degradation. Objects that look disorganized but show no rise in synchronous I/O are left alone. Only those really struggling are put forward for action.
Proving the Payoff
Running a REORG or refreshing statistics is half the job. Knowing whether it helped is the other half. TUC keeps a record of the access performance of every object: before the last maintenance action, right after it, and now. The effect of every REORG is visible, not assumed.
If an object was reorganized and its ratio did not improve, that is useful too. TUC uses it to keep the object out of future reorganizations that would not help, and spends the effort where reorganization has shown a payoff. Over time, performance tuning becomes a measured practice instead of an act of faith.
Putting Better Access Paths to Work at Once
A REORG or a statistics refresh pays off only once the Db2 optimizer uses the new information, and that needs every dependent package to be rebound. Left as a separate step, rebinds are easy to miss, and an application can keep running on a stale access path after the object has been fixed. TUC closes the gap. When a REORG completes, it generates rebind statements for every valid dependent package and trigger package, so applications benefit from the new statistics right away. Any bind error is captured for review instead of surfacing later as an unexplained slowdown.
Keeping the Optimizer's Information Current Between REORGs
Access performance depends as much on current statistics as on the physical state of the data. Besides running RUNSTATS only when the data has changed enough, TUC watches for signs that the statistics no longer serve the optimizer well. It picks up Db2's own autonomic statistics alerts, and it watches for changes to an object's statistics profile, so the collection stays in line with the optimizer's own feedback. The statistics stay aligned with how Db2 actually reads the data, instead of drifting between scheduled collections.
Every performance action TUC takes is measured before it runs and checked after it completes, so the return on every REORG, RUNSTATS and rebind is a number, not a guess.
Lower Resource and Infrastructure Cost
TUC bases every maintenance decision on how much an object has really changed, not on a calendar. For each table and index it decides one of four things: take a backup (an incremental copy, with a full copy only when a safe recovery needs it), refresh the statistics (only when the data has drifted enough to affect access paths), reorganize (only when the object is disorganized and its access performance has degraded), or do nothing (the object is stable and performing well, and the cost is avoided).
Smarter Backups with Incremental Copies
Backups must be recoverable to points in time that mean something to the business. The simplest approach, a full copy of everything every day, is also the most expensive in CPU, elapsed time and storage. Incremental copies capture only the data changed since the last backup, so they run much faster and take far less storage.
The catch is that incremental copies are hard to take safely. You have to judge all the time which objects have changed enough to need a full copy, and make sure every incremental a recovery needs is there. Because of that, many shops never adopted incremental copies and still pay for daily full copies year after year.
TUC runs the whole strategy for you. It tracks how much each object has changed, takes incremental copies when that is the right choice, falls back to a full copy automatically whenever a safe recovery needs one, and forces periodic full copies on a calendar for long-term retention. You get the savings of incremental backups without the risk and the effort that usually stop shops from using them.
Collecting Statistics Only When Needed
Db2 chooses how to reach your data from statistics that describe the size and shape of each table and index. The usual approach is to collect them again on a regular cycle, but collecting statistics for data that has barely changed wastes CPU time. TUC looks at how much each object has changed and refreshes statistics only when the change shows they are out of date. It also watches for signs that statistics have drifted and refreshes them when needed. Statistics stay accurate for every object, while the cost of collecting them falls sharply.
Running REORG Only When It Pays
Over time the rows of a table become scattered, and the table needs a REORG to restore performance and reclaim space. The hard part is deciding which objects need it. Reorganizing everything on a fixed schedule wastes CPU on objects that are fine. Reorganizing too rarely lets performance degrade quietly. TUC finds the objects that have become disorganized and reorganizes only those.
It goes a step further. Some objects look disorganized by the usual structural measures but still perform well, so reorganizing them spends processing time for nothing. TUC watches the real access performance of each object and recommends a REORG only when the object is both disorganized and showing degraded performance. An object that is fragmented but performing well is left alone. Every REORG avoided is a real, repeatable saving, and TUC keeps a running total of the processing time saved, so a judgment call becomes a number you can point to.
Because TUC finds the objects that need a REORG as soon as the need arises, the periodic large-scale effort becomes a small daily one. The backlog shrinks to the objects that came to need it that day, and performance improves across all the databases.
Reclaiming Space with Compression
A compressed table holds the same data in less space: less disk, smaller and faster backups, and less logging. The question is whether compressing a given table saves enough storage, logging, backup and recovery time to justify the CPU cost of compression. TUC answers it automatically. Before compressing, it estimates whether the gain is worth the cost, chooses the most effective compression approach, and compresses only the tables that will benefit.
Trimming Old Data
Smaller tables are cheaper to store, faster to read, faster to reorganize and cheaper to maintain, yet production tables often hold old data that is rarely touched. TUC purges or archives that data by rules you define for each table, and keeps a record of what was removed so it can be loaded again later, into the original tables or elsewhere. Keeping only the data you use in production improves performance and lowers CPU and storage costs.
Refreshing Test Environments for a Fraction of the Cost
Filling test and development environments with a fresh copy of production data is a routine but costly chore. The usual approach reads and writes every row, which takes a great deal of processing and elapsed time. TUC copies the data directly with DSN1COPY, which is typically about ten times faster and cheaper. You point TUC at the production data and the target Db2 subsystem. It works out which production data belongs to which target table or index, even when the names differ, and confirms that the two are compatible before copying anything. Anything that cannot be copied directly is reported, so it can be adjusted or handled separately, and nothing is copied incorrectly.
The largest saving comes from not repeating work. On a recurring refresh, many partitions have not changed since the last copy. TUC finds the partitions that changed and copies only those. That keeps every refresh cheap and makes it practical to refresh far more often, so developers and testers have current data on demand. A whole test environment can be refreshed in one run, largest objects first, spread across parallel jobs, with a summary of the extra space the refresh needs before it starts. The same mechanism can also restore a dropped object, or copy an older backup into side tables so the data can be examined as it was at an earlier point in time.
TUC hides the complexity of setting up DSN1COPY jobs, which makes routine use of DSN1COPY not only cheap but practical.
Availability and Recoverability
Downtime costs operations, revenue and reputation, and there are far too many failure scenarios to prepare a procedure for each one. The database team needs the right recovery quickly and, just as important, the certainty that what was backed up can be restored.
- Mark. Meaningful points in the processing cycle are recorded as recovery points.
- Verify. Every backup needed for a full recovery is confirmed present and usable.
- Fill the gap. If recovery would be impossible, TUC takes a fresh backup on the spot.
- Recover fast. Objects are recovered in parallel, with the log read once for the whole set.
Guaranteed Recovery Points
When a batch run goes wrong or an application error corrupts data, you want to roll the data back to a known good moment. The worst thing a database shop can find out in the middle of that crisis is that the backup it counts on is unusable or missing. If the data cannot be recovered, a manageable incident becomes an outage of hours or days.
TUC removes that risk. It lets you mark meaningful recovery points in your processing cycle and guarantees that they can be used for a full recovery. It checks that nothing has happened since the last backup that would make recovery impossible, and if it finds such a gap, it takes a fresh backup on the spot. It also confirms that every backup needed to recover up to the present is available. Your recovery points are verified, not assumed, before you need them.
Flexible, Fast Recovery
TUC generates recovery jobs for any group of objects through one dialog: a single table, a whole database or a whole disk volume, to the last backup or to a chosen point in time. When you recover to an earlier point, it restores the related indexes from their backups instead of rebuilding them, which is far faster, and it can add dependent objects automatically so the data stays consistent. It speeds recovery further by handling many objects in parallel and reading the log once for the whole set. For disaster recovery, jobs can be prepared in advance and run in priority order, so the most critical data comes back first.
Preventing Outages Before They Happen
Many outages can be avoided if you see them coming. TUC watches how fast each object is growing and warns you before one runs out of space, so you can act in advance instead of reacting to a failure in the middle of the night. It also watches for objects slipping into restricted or unusable states and prepares the corrective action automatically. Heading off these problems avoids downtime and keeps the whole system running with more headroom.
Central Control of Maintenance
One Framework for Every Utility Run
In many shops, utilities run from scattered jobs, with no central view of what runs when or who may run it. TUC channels every utility through one controlled request queue. Maintenance can be requested by the DBA team, by an application at the right point in its own processing, or by other authorized users, but it always runs under the DBA team's control, with full visibility of what was requested, by whom, and how the request was resolved. There is one place to decide who may run powerful or disruptive operations, and a complete audit trail of all maintenance.
The benefit goes beyond efficiency. Central control heads off the expensive mistakes that scattered utilities invite: a destructive utility aimed at the wrong objects, or a disruptive one started in the middle of peak processing. Such mistakes lead to outages, emergency recoveries and hours of firefighting. One authorized, audited queue removes that whole class of accident, along with the work of finding out who ran what. The DBA team gains control without becoming a bottleneck.
Bringing Existing Jobs Under Control Without Changing Them
Most shops have many utility jobs throughout their batch schedule, often defined by application teams over the years. Bringing them under an automation framework usually means rewriting job after job, a large and risky project most organizations will not take on. TUC removes that barrier. It can take control of an existing utility job without any change to the job. The job runs exactly as it always has, with no JCL change and no new step. When it calls the utility, TUC steps in and carries out the work in its own way, deciding what really needs doing and how best to do it. You can bring your existing workload under TUC gradually, one job at a time, with no rewrites and no disruption.
Protecting Performance When Access Paths Change
After an object is reorganized and its statistics are refreshed, Db2 may choose a new access path. Usually it is better, but now and then it is worse, and an unexpectedly poor access path can quietly cripple a critical query. TUC manages that risk. When it rebinds after maintenance, it can compare each new access path with the previous one and either keep the old one, which keeps routine maintenance stable, or hold the changes for review so that the administrator promotes only the good ones. It can also rebind only when every related object is in good shape, so access paths are recalculated from a position of strength. You get the optimization that regular maintenance makes possible without the risk of a surprise regression.
Running Maintenance Safely Alongside Everything Else
TUC places its maintenance requests in the job scheduler you already use. There is nothing new to learn and no change to how you schedule work. A maintenance request inherits the scheduling dependencies of the job that placed it, so it runs in the right place in the batch flow, after its predecessors and before its successors, instead of cutting in and colliding with application work. When maintenance is part of an application's overnight flow, the application can wait for it to finish and then carry on automatically.
Before releasing a request to the scheduler, TUC checks whether the objects it needs are in use. If they are held, it does not force its way in and fail. It postpones the work for a few minutes and checks again, and starts it as soon as the objects are free. The result is fewer utility failures and less contention: maintenance works around the business instead of disrupting it.
TUC also governs throughput. It can limit how many jobs run at once, so a burst of maintenance never overwhelms the system, and it gives urgent, explicitly requested work precedence over routine background work, so applications never wait behind a long queue. For operations that need a lot of space, it confirms that enough free disk exists before each job starts, sets that space aside, and holds back any job that will not fit until space frees up, so jobs complete instead of failing partway through and running again. When a job that was waiting for a dependency is running late and the risk of collision has passed, TUC releases it instead of leaving it stalled. Together these controls turn a chaotic set of maintenance requests into a smooth, predictable flow.
Maintenance That Scales With the Environment
Beyond machine resources, TUC lets maintenance grow with the environment. The policy the DBA team sets is applied to every object, every day, however many objects there are, and the team stays in control of every decision.
Set It Up Once, Then Let It Keep Itself Current
Databases are never static. New tables, indexes and whole databases appear all the time as applications change. With fixed job lists, every new object has to be added to the jobs, and anything overlooked goes unmaintained and unprotected.
TUC removes that burden. Once your maintenance approach is set up, TUC keeps up with the environment on its own: it creates maintenance coverage for every new database, refreshes the jobs so that they include new tables and indexes, and cleans up after objects that are dropped. New objects are considered for backups, statistics and reorganization from the moment they appear. Each maintenance job is prepared once and reused on every routine run, and is regenerated only when a change affects it, so staying current never means redoing work from scratch. The DBA team sets things up once and then monitors instead of managing. The environment can grow to tens of thousands of databases, and maintenance keeps pace, with nothing slipping through the cracks.
Maintenance That Decides for Itself
You have maintenance policies: how often to back up, how long to keep copies, when to refresh statistics. TUC turns them into automatic decisions. It checks every object against your rules and picks out exactly the ones that need attention, so maintenance reaches the objects that need it, when they need it, and skips the rest. If you choose, you can review what TUC selected before anything runs, set aside objects that need special handling, and let TUC schedule the rest. As your confidence grows, you can reduce the review and let TUC automate and optimize every utility run.
Doing Big Jobs Faster in Parallel
When a large amount of maintenance has to run, TUC spreads it across many jobs at once, dividing the objects into balanced groups so the jobs progress and finish evenly, instead of one job grinding on for hours. It coordinates the parts that must happen together and signals to your application flow when the whole set is done. Maintenance windows shrink, and more gets done in less time.
Running large REORGs in parallel needs careful space management. Each large REORG needs a sizeable block of work space while it runs. If too many large jobs run at once, they can exhaust the shared disk pool and fail, even though plenty of space would have been free as soon as some of them completed. TUC avoids this by mixing job sizes. It sorts the pending work into small, medium and large jobs and runs a blend of them in each stream, instead of starting all the large ones first. The small and medium jobs finish quickly and hand their space back for the next large one, so the disk pool keeps turning over and stays evenly used. Throughput stays high, without the out-of-space failures that would otherwise hit many large REORGs running together.
Getting the Payoff from IBM Db2 Analytics Accelerator
The accelerator can cut the cost of heavy analytical and reporting queries sharply. Instead of running on the mainframe, where they consume large amounts of the most expensive resources, processing power and disk I/O, the queries run on the accelerator, faster and at lower cost. The savings are real, but only if applications can trust the accelerated copy to be current. If the data might be stale, queries fall back to the mainframe and the savings disappear. Keeping the copy in step after every utility that changes the data is an ongoing chore, and the risk of getting it wrong stops many shops from relying on the accelerator for critical work.
TUC removes that burden. It keeps the accelerated copy in step automatically whenever a maintenance job, such as a REORG with DISCARD, changes the data. It refreshes only what changed, for example one partition of a table, and skips what did not. You get the accelerator's full processing and I/O savings, with data that is always current and no new maintenance headache.
Protecting Your Investment Over Time
Vendor Independence
Db2 utilities can be licensed from several vendors, and their prices and capabilities differ significantly. TUC sits above the utilities and works equally well with all of them, so you can mix vendors to use the best of each, or move between them for a better deal or better capabilities, without disturbing your automated maintenance.
Keeping Pace with New Db2 Versions
Each new Db2 release brings features that can force changes to home-grown maintenance procedures. TUC keeps pace with Db2 releases and adapts to new capabilities as they arrive, so you can use them right away without re-engineering your own automation.
Fast Implementation and a Low Cost of Ownership
Rolling out an automation framework can be a project in itself. TUC installs easily and comes with sensible defaults based on IBM best practice, which often fit as they are with minor adjustments. It can set itself up across very large environments and be extended gradually over time. It comes with a built-in trial setup that shows and tests its capabilities out of the box, and it can take over your existing utility jobs without rewriting them, so you start seeing benefits quickly with little effort up front.
Deploying Across Db2 Subsystems
Once TUC is configured the way you want on one subsystem, you can copy the configuration to your other Db2 subsystems, compare subsystems to find differences, and set up a new subsystem consistently in minutes instead of building everything again from the start. Running many subsystems the same way becomes simple and low-risk.
Measuring the Return
TUC's savings are not theoretical. They are visible. TUC tracks them itself, and its web dashboard brings them together in one place, with the live progress of maintenance at a glance. Any report or alert can be emailed automatically in the format you choose, so the value is easy to follow and to share with the DBA team and with management, without anyone having to sign in.
| What TUC Measures | What It Shows |
| Backup Volume Saved | How much backup volume incremental copies save compared with full copies. |
| Statistics Work Avoided | How much statistics collection is avoided because the data has not changed. |
| REORG Time Saved | How much processing time is saved by not running unnecessary REORGs. |
On top of these measurable savings come the gains that are harder to price: fewer outages, faster recovery, and maintenance that keeps pace as the environment grows.
Without and With TUC
| Task | Without TUC | With TUC |
| REORG | On a calendar, whether the object needs it or not. | Only when the object is disorganized and its access performance has degraded; the result is measured. |
| RUNSTATS | Collected again on a cycle, even for unchanged data. | Only when the data has changed enough or Db2 flags the statistics. |
| Rebind | A separate follow-up step that is easy to miss. | Generated after every REORG, with access path changes blocked or held for review. |
| Backups | Daily full copies, because incrementals are too risky to manage. | Incremental copies when right, full copies when needed, every recovery point verified. |
| Test refresh | Every row read and written again. | DSN1COPY, only the partitions that changed. |
| Control | Utilities run from scattered jobs, with no audit trail. | One authorized, audited request queue in your existing scheduler. |
| New objects | Added to the jobs one by one, or missed. | Covered automatically from the moment they appear. |
| The savings | Estimated, if at all. | Measured and shown on the dashboard. |
In short — TUC pays for itself by doing Db2 maintenance only when it is needed and proving the result. It cuts CPU, storage and elapsed time, protects recoverability and availability, and keeps pace as the environment grows, and it shows the savings as numbers you can share.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article