رونوشت 🔗
WEBVTT
00:00:08.000 --> 00:00:15.519
Hi everyone! Thanks for joining us for this series of iDug Podcasts, where we speak to some great people in the DB2 community.
00:00:15.679 --> 00:00:16.879
I'm Marcus Gavage.
00:00:17.199 --> 00:00:20.640
And I'm Julia Carter, and we represent the iDug Content Committee.
00:00:20.800 --> 00:00:22.879
We hope you enjoy today's edition.
00:00:33.439 --> 00:00:39.920
Thank you for tuning in to this edition of iDug's DB2 Table Talk, our regular podcast.
00:00:40.079 --> 00:00:41.439
Today we have a special episode.
00:00:41.600 --> 00:00:47.600
I'd like to welcome Mark Falconer, who's an expert DB2 user from NatWest Bank in the UK.
00:00:47.840 --> 00:00:48.880
Hi, Mark.
00:00:49.359 --> 00:00:56.640
And Michael Biwetsky, who's a world-renowned DB2 expert from Poland, who's currently working for Broadcom in Czechia.
00:00:58.159 --> 00:01:03.840
And uh a colleague of mine, Chad Rebe, who's a DB2 utilities expert, uh, works for BMC in the UK.
00:01:04.159 --> 00:01:06.879
USA, not UK, but that's okay.
00:01:07.040 --> 00:01:08.400
Maybe I'll be moving.
00:01:08.719 --> 00:01:10.640
Oh, great to be here, Marcus.
00:01:10.799 --> 00:01:13.120
Thanks for having me in the USA.
00:01:15.359 --> 00:01:16.879
Great, let's get started then.
00:01:17.120 --> 00:01:23.760
So when we are talking about DB2 housekeeping, Chad, what exactly does that cover?
00:01:23.920 --> 00:01:25.040
Because it feels like a big topic.
00:01:25.359 --> 00:01:32.239
It is a big topic, and it really uh depends on where you are in the DB2 uh infrastructure, right?
00:01:32.319 --> 00:01:37.840
If you're a system programmer, you might have different housekeeping than you know a DBA.
00:01:38.000 --> 00:01:44.799
But if we want to look at DBAs, you know, we got I'm gonna say three different responsibilities.
00:01:45.040 --> 00:01:52.159
One is recovery, one is administration, and um the last one is performance.
00:01:52.400 --> 00:02:01.200
So when we think about our DB2 databases and our housekeeping, uh it can fall into those three different categories.
00:02:01.359 --> 00:02:02.719
So recovery, right?
00:02:03.599 --> 00:02:07.120
How do we make sure that we're uh recoverable?
00:02:07.439 --> 00:02:09.599
Well, we need to take image copies.
00:02:09.759 --> 00:02:15.199
So if we didn't have to take image copies, just think how many MIPS we would save on our machine.
00:02:15.520 --> 00:02:19.280
Um but we do have to take image copies.
00:02:19.439 --> 00:02:30.639
And you know, depending on availability of the applications and you know how we plan on doing recovery, uh, that is a big ticket item for recovery.
00:02:30.719 --> 00:02:32.319
Uh so those copies.
00:02:32.560 --> 00:02:38.159
And then for performance, you know, why do we uh rely on performance, right?
00:02:38.319 --> 00:02:41.039
The optimizer uses statistics.
00:02:41.199 --> 00:02:52.719
So housekeeping is making sure those statistics are uh up to snuff and um more current than
Load full transcript
um maybe we want to run run stats.
00:02:53.039 --> 00:02:57.520
And then the other thing is reorganization of our table spaces, right?
00:02:57.759 --> 00:03:06.479
Um a lot a lot of times, and I'm sure Mark will bring up hey, we want to design our databases that we don't have to run re-orgs, right?
00:03:06.560 --> 00:03:14.400
Because reorgs can be it could be an outage, uh, it could take a lot of CPU, a lot of zip processing.
00:03:14.479 --> 00:03:18.560
Um, but eventually sometimes we need to do reorganizations.
00:03:18.800 --> 00:03:26.400
So from a DBA perspective, I I would think those are our highlights as far as DB2 housekeeping.
00:03:26.639 --> 00:03:29.680
On the system side, they're responsible for the catalog.
00:03:29.840 --> 00:03:36.960
So they have reorgs, they have backups, and they have the same things that we have to worry about as DBAs.
00:03:37.280 --> 00:03:38.400
Yeah, good point.
00:03:38.879 --> 00:03:49.120
So, Mark, do you think that there are activities that you would do as a DBA that you would consider to be housekeeping that Chad hasn't covered already?
00:03:49.759 --> 00:03:55.759
Of course you've got you got mod modify in there as well as as well as copy reorg.
00:03:55.919 --> 00:04:02.879
So modify, be part of your uh housekeeping schedule to keep your catalogue in a decent state.
00:04:03.120 --> 00:04:22.959
Uh NatWest, how we have implemented housekeeping generally has has gone on an application by application basis, and over the many, many years, so we have a lot of application-specific housekeeping, although they are generally all standardized to follow the same processes.
00:04:23.040 --> 00:04:31.759
Um we do have quite strict housekeeping standards that we would implement all new housekeeping to be the same as.
00:04:32.000 --> 00:04:41.839
So we would tend to always, you know, we'd take at least daily image copies, we would occasionally some objects we would re-org on a daily basis as well.
00:04:42.319 --> 00:04:47.839
Most of the time, our re-orgs we would drive through RTS statistics.
00:04:48.079 --> 00:04:59.680
So we have some fairly complicated unload syntax that we basically unload objects that meet certain criteria for re-org, and only if they meet that criteria do they get re-orged.
00:04:59.839 --> 00:05:10.879
So we would put in a re-org typically at the database level, and underneath that we would only then re-org the objects that would meet the criteria within that database.
00:05:10.959 --> 00:05:12.399
Um, so not every object.
00:05:12.560 --> 00:05:18.720
So, like for example, reference tables, they would not they wouldn't get re-orged at all, generally speaking.
00:05:18.959 --> 00:05:30.240
However, we do also have a separate sort of suite of catch-all housekeeping that makes sure that every object in our estate will get a re-org at least once a year.
00:05:30.480 --> 00:05:36.879
Now, the reason the reason we did that is because you know, underlying disk volumes change.
00:05:37.040 --> 00:05:45.439
So sometimes, for example, our storage, our storage teams they want to migrate underlying vSAM datasets off one volume and onto another volume.
00:05:45.600 --> 00:06:04.720
So instead of us having to constantly have to do that on demand, we have this catch-all reorg schedule that runs that just chung chums through all our objects, and over the course of a year, they will generally always then get moved to the new underlying disk structure.
00:06:05.279 --> 00:06:08.240
That's just like that's just something we've we've we've put in place.
00:06:08.639 --> 00:06:09.120
That's interesting.
00:06:09.439 --> 00:06:15.600
That's one of the kind of operational things that we might not consider, uh, but it's something that you have to deal with.
00:06:15.759 --> 00:06:24.720
And I guess your storage team would say, We're making this change, and you say, Great, we'll have those moved within a year, and they have to accept that.
00:06:25.120 --> 00:06:29.759
Yeah, and generally speaking, that is uh that's that's acceptable to them.
00:06:30.079 --> 00:06:32.879
So that's actually happening at the moment.
00:06:32.959 --> 00:06:45.199
They've might they've they've got a whole new set of disk subsystem in, they want to move old volumes from one set of disks gradually over to another, and we said, Oh, we've already got move that's already in place, and that'll happen within a year.
00:06:45.360 --> 00:06:51.600
So we don't have to go through the whole process of raising changes and all the um and all the governance that goes along with that.
00:06:51.839 --> 00:06:55.279
So it's it's one of the things that's there in place for us.
00:06:55.439 --> 00:07:02.560
Um we do something similar um with rebinds, so we have a rebind schedule that runs as well.
00:07:02.720 --> 00:07:10.879
So basically all our production estate will get a rebind at least at the current function level of DB2.
00:07:11.279 --> 00:07:14.240
We haven't moved on our Apple Compact levels for one reason or another.
00:07:14.319 --> 00:07:26.399
They're still most of our estate is still sitting back at V10R1 for Apple Compact, but every package in our estate will get a bind at the latest function level of DB2.
00:07:26.560 --> 00:07:33.759
Now we don't um do anything with access paths, we don't allow it to um change access paths for these.
00:07:33.920 --> 00:07:41.759
These are purely in place just so we pick up the latest control structures to the latest function level on an in our package estate.
00:07:42.000 --> 00:07:53.680
I actually did a quick check before came on the the before it came on the chat, and um yeah, we don't have any packages that were bound pre-v12, so I think we're all we're all set to go for v next.
00:07:54.000 --> 00:07:55.199
I like it, well done.
00:07:55.519 --> 00:07:56.000
Yeah.
00:07:56.399 --> 00:07:58.720
Also a relief, I should, I should imagine.
00:07:59.040 --> 00:08:15.279
Oh absolutely, because the I mean when when when we
went to V11 and everything had to have been bound at V10 to go to V11, that was uh that was a massive undertaking for us because that was before that's before APV use was available.
00:08:15.600 --> 00:08:25.759
So we had to we raised hundreds of changes where we pre-checked access paths before, then checked access paths afterwards.
00:08:26.000 --> 00:08:36.240
We had multiple what we'd call Cat1 change records that we had to go to various boards to get sign off on for them, and it and it was a it was two, three years worth of work.
00:08:36.480 --> 00:08:45.840
Whereas now we don't even have to don't even think about it anymore because because of of AP reuse, which means you don't access paths stay the same, so we don't have to do that.
00:08:46.000 --> 00:08:49.200
But yeah, we it saved hundreds and hundreds of hours of work.
00:08:49.360 --> 00:08:54.879
So do you set you set your parameters to not rebound if the access path will change?
00:08:55.519 --> 00:08:56.639
Yeah, so correct.
00:08:56.720 --> 00:08:59.200
So it's AP AP reuse error we set to.
00:08:59.519 --> 00:09:00.559
Okay, and then what do you do?
00:09:00.879 --> 00:09:03.360
Manually figure out what to do with those afterwards?
00:09:03.919 --> 00:09:04.320
Yeah.
00:09:04.559 --> 00:09:04.879
Yes.
00:09:05.120 --> 00:09:05.279
Yeah.
00:09:05.440 --> 00:09:07.759
To be honest, though, we don't we don't really get many.
00:09:07.840 --> 00:09:08.799
Um that's good.
00:09:09.039 --> 00:09:12.960
In fact, I d I don't remember one actually failing.
00:09:13.120 --> 00:09:17.039
We've all it's just managed to run over time.
00:09:17.279 --> 00:09:17.919
That's really good.
00:09:18.159 --> 00:09:22.000
And what about your your object space analysis?
00:09:22.159 --> 00:09:29.120
Because with a a big bank like Nat West, you must have some massive objects, and I guess some particular tables grow quite rapidly.
00:09:29.200 --> 00:09:33.360
Uh, and maybe they weren't designed to grow rapidly when they were first put in.
00:09:33.759 --> 00:09:52.080
Yeah, so one of we've got us, we've got what we call daily checks, but they're really a set of automated checks that run every morning at eight o'clock, and we've we check for the size uh of of all objects, and basically we alert if it gets to 85% of its maximum size.
00:09:52.240 --> 00:10:06.720
So there's some fairly complicated chain checking in there because you know you have to work out is it a is it a partition by growth table space, how many puts how many partitions can it grow to, how many are you in for range partition table spaces?
00:10:06.799 --> 00:10:10.639
You obviously you check for the DS size, and then you check how close you have to that.
00:10:11.039 --> 00:10:17.279
We alert on any table space that partition by growth that would be that would have just gone into its final partition.
00:10:17.840 --> 00:10:25.919
And for individual partitions, we would check for when it gets to be 85%, and then we know we we know we need
to do something.
00:10:26.159 --> 00:10:26.720
Right.
00:10:27.200 --> 00:10:34.159
I think I I think only once have we ever been caught out where the it's alerted at 85% and then it's broken the same day.
00:10:34.240 --> 00:10:35.759
That's only ever happened once, I think.
00:10:36.080 --> 00:10:39.120
And that was a very and up and that was quite a small table.
00:10:39.279 --> 00:10:43.360
Um but fortunately uh yeah, it didn't cause too much of a problem.
00:10:43.440 --> 00:10:54.000
But um generally speaking, 85% we've found that's the kind of sweet spot for us to give us enough time to then plan for any mediation work we need to do.
00:10:54.799 --> 00:10:55.360
Yeah.
00:10:55.679 --> 00:10:56.720
So we do that.
00:10:56.960 --> 00:11:02.480
We also have automated checks for any objects that have somehow lost their image copy.
00:11:02.639 --> 00:11:04.639
So there's no current image copy for it.
00:11:04.720 --> 00:11:18.720
So if our checks would go around, go around the holy state, and if it finds one, it will automatically take an image copy and then it will raise an incident so we're aware that this has happened, and then we can investigate why it doesn't have an image copy.
00:11:18.879 --> 00:11:30.080
That usually happens where we have had some decommissioning uh activity happening where they have where a set of housekeeping's been decommissioned, but the table hasn't been decommissioned and it's just sat there.
00:11:30.320 --> 00:11:30.480
Right.
00:11:30.720 --> 00:11:39.039
Generally speaking, these are not um you know operational tables by that point, but we that's that's by and large the most time we see that happening.
00:11:39.279 --> 00:11:44.159
Oh, but it will it will automatically create the the incident record when you get that alert.
00:11:44.399 --> 00:11:50.240
Yeah, it will take the copy first and then it will raise an incident so we can then investigate why it's why it's got into that state to begin with.
00:11:50.559 --> 00:11:53.200
That's that's good intelligence and automation.
00:11:54.000 --> 00:12:02.480
Yeah, other things we do is so we've got we've part of those daily checks as well, we'd regularly check that uh where we have enabled uh pervasive encryption.
00:12:02.639 --> 00:12:07.919
We would do checks to make sure that the keys are still valid.
00:12:08.080 --> 00:12:21.519
Well, obviously we'd know if they weren't valid, uh we'd think we'd um have all sorts of things going on, but the alert is to when the keys are about to come up for renewal, um, so we can then plan that and schedule that for in a timely manner.
00:12:21.679 --> 00:12:29.360
Also for our DB2 certificates, and also we got checks for um Apple Compat incompatibilities as well.
00:12:29.519 --> 00:12:33.519
So we're highlighting those and gathering all that information and highlighting them as well.
00:12:34.159 --> 00:12:40.879
It sounds like something you'll have built over years though, with probably many things going wrong along the way.
00:12:41.360 --> 00:12:44.240
Yeah, usually when that that partition has blown.
00:12:44.320 --> 00:12:47.440
Um but that hasn't happened for that hasn't happened for a while now.
00:12:48.159 --> 00:12:59.519
I'm currently working with a customer that had um a similar issue where they ran out of space on uh an object and it took them hours to actually bring it back.
00:12:59.759 --> 00:13:14.960
So working with them to implement something like Mark, where you know if it gets to 80 or 85 percent of that, you know, hitting the limit, you know, that you have that time to go in there and and actually fix it, whatever it means, right?
00:13:15.039 --> 00:13:18.960
Whether it's delete records, whether it's rebalance or whatever.
00:13:19.200 --> 00:13:34.799
Um, but you know, you know, Mark's automated that, but there are customers out there and probably listening to this, uh, that you know, if you put in a process, you know, when you hit the limit, you know, DV2 just can't add anything else.
00:13:34.960 --> 00:13:36.480
So it's it's very important.
00:13:37.360 --> 00:13:47.039
I've always found it quite surprising that IBM have never supplied such a metric to say your table is as approaching its maximum size, so you need to take action.
00:13:47.279 --> 00:13:49.600
I've always been surprised that's never been a feature.
00:13:49.919 --> 00:13:51.679
It seems a bit it seems a fairly basic one.
00:13:52.000 --> 00:13:53.679
That's where vendors come in.
00:13:54.639 --> 00:13:55.279
Yeah.
00:13:55.840 --> 00:14:01.759
So Michal, uh you used to work in the SWOT team for IBM in DB2.
00:14:02.080 --> 00:14:08.720
Have you seen any scary housekeeping implementations or problems in the wild?
00:14:09.120 --> 00:14:18.159
Uh yes, I think I was exposed to every spectrum of the customer scenarios that you can imagine or you cannot imagine that exist.
00:14:18.399 --> 00:14:22.480
Starting from the guys who don't have the rebind strategy.
00:14:22.639 --> 00:14:27.679
If the rebind option never would exist, they would use it, for example, right?
00:14:28.399 --> 00:14:31.919
Just as Mark was saying, you know, access path protection, right?
00:14:32.000 --> 00:14:34.000
They don't want access path to be changed.
00:14:34.240 --> 00:14:39.919
So every forced access path change was with you know with a fear, for example.
00:14:40.159 --> 00:14:43.519
If we consider, of course, rewind as a part of the housekeeping.
00:14:43.840 --> 00:14:46.639
And same about re-org, right?
00:14:46.799 --> 00:14:54.960
I mean, I know the customers who are reorganizing everything on the weekend, every table, regardless, does it need reorganization or not?
00:14:55.759 --> 00:15:12.879
Or some of the customers who are not reorganizing enough, meaning that the table is so degraded that they will get bad access path because the index cluster ratio is less than 80, and then you don't take this index into consideration.
00:15:13.360 --> 00:15:22.639
So I would say Mark has
the intelligent way to select the candidates, and I think this is the the way that housekeeping should be done.
00:15:22.879 --> 00:15:35.120
So we have some rules, you have the triggering points when you select the candidates, when you run your reorgs to fit into your maintenance windows if you have maintenance windows, or you run through the through the week.
00:15:35.279 --> 00:15:36.639
So this is the crucial part.
00:15:36.799 --> 00:15:39.919
Another crucial part is to big objects, right?
00:15:40.000 --> 00:15:41.759
How do you reorganize the big objects?
00:15:41.840 --> 00:15:46.480
How do you manage to, for example, move to the UTS?
00:15:46.960 --> 00:15:52.480
There are some customers who are having millions of objects to migrate to UTS.
00:15:52.799 --> 00:16:02.960
And based on the what Akon says in the some webcast, version 14 will be the one that will enforce you to use only UTS.
00:16:03.600 --> 00:16:16.480
And you if you have two million tables to migrate, that basically means that till version 14 is out, every day you need to reorganize about 1000 tables.
00:16:17.200 --> 00:16:20.480
1000 every day, including weekends.
00:16:20.639 --> 00:16:22.879
So those are the challenges that customers have.
00:16:23.039 --> 00:16:34.320
I mean, either they overrun the housekeeping or they don't have the no maintenance windows, or they have too many, or they basically have too few housekeeping tests.
00:16:47.440 --> 00:16:48.320
What can you say about that?
00:16:48.559 --> 00:16:55.519
Well, I think that's for the reason that you know people don't want to think they want to what to do with the mass rebrands, right?
00:16:56.159 --> 00:17:00.799
I was one is a DBA where I was told every week we do the rebut.
00:17:01.600 --> 00:17:02.639
Every weekend, right?
00:17:02.879 --> 00:17:05.359
Every maintenance apply we do the rebutly.
00:17:06.240 --> 00:17:11.680
Because we didn't have time to analyze every package if this reband is really needed.
00:17:12.480 --> 00:17:18.240
So I would say this is done on purpose to save time, to save the thinking time.
00:17:19.200 --> 00:17:24.240
Maybe it's better to overdo something than you know spend time thinking, right?
00:17:24.799 --> 00:17:29.680
I think there's a legacy of you know DBAs, right?
00:17:29.839 --> 00:17:37.359
So whether it's you know what we pick to re-org, you know, they go back to whatever, version four, version five.
00:17:37.519 --> 00:17:41.680
This is how we did it back then, and no one wants to touch that, right?
00:17:41.920 --> 00:17:56.160
Especially uh what I see with my customers, you know, maybe they're outsourced, or maybe you know, new, new in career DBAs, you know, they're still getting their feet wet or they don't want to make any changes.
00:17:56.400 --> 00:18:02.240
So uh, like Mikhail's saying, you know, what's in place, they just leave it, right?
00:18:02.319 --> 00:18:07.680
Because the fear of changing it could be, you know, that much, like, what if it breaks?
00:18:07.759 --> 00:18:08.640
What am I gonna do?
00:18:08.799 --> 00:18:10.480
You know, I made that change.
00:18:10.720 --> 00:18:12.960
But, you know, DB2 has changed, right?
00:18:13.119 --> 00:18:17.839
I mean, you know, do we care about extents like we used to care about extents?
00:18:18.000 --> 00:18:22.799
Probably not, but that might be something that triggers a re-org today, right?
00:18:23.039 --> 00:18:28.640
Versus, you know, maybe being a little bit smarter and saying, well, are these queries really getting worse?
00:18:28.799 --> 00:18:30.640
Is the performance getting worse?
00:18:30.799 --> 00:18:31.200
Right.
00:18:31.359 --> 00:18:42.720
So I I think I think DB2 has grown up and you know, uh a lot of what we did back, you know, 10, 15 years ago has changed.
00:18:42.880 --> 00:18:45.680
So um I think we need to change too.
00:18:45.920 --> 00:18:52.559
So it it doesn't hurt you to go back and look at what's in place and maybe make some changes.
00:18:54.400 --> 00:18:56.799
Yeah, that's a very valid point.
00:18:57.039 --> 00:19:08.079
The fear of change and the I guess the headache of it, because every change that customers need to make or users need to make has to go through a long process.
00:19:08.640 --> 00:19:12.880
And if it's not broken, it's hard to justify.
00:19:13.200 --> 00:19:26.880
But I guess the the real thing is that you're you're potentially wasting CPU by running unnecessary jobs, but the the risk of changing it is maybe something that they'll they're willing to just keep going as they are.
00:19:27.119 --> 00:19:28.880
But yeah, maybe not forever.
00:19:29.039 --> 00:19:30.960
Things should change at some point.
00:19:31.680 --> 00:19:36.640
Yeah, I think that also some of the things are coming out of misunderstanding as well.
00:19:36.960 --> 00:19:42.720
So I recall one customer who was not running image copies at all on the rear re-read-only tables.
00:19:42.960 --> 00:19:46.640
Because they thought it's a read-only table, so why should I take image copy?
00:19:46.880 --> 00:19:47.599
Oh dear.
00:19:48.319 --> 00:19:51.759
And what do you do when you know when the dust is broken and what?
00:19:52.000 --> 00:19:54.559
It was read-only, you have no way to recover.
00:19:54.720 --> 00:19:55.920
Yeah, it was read-only.
00:19:56.000 --> 00:19:57.039
I don't need image copies.
00:19:57.440 --> 00:19:57.759
Okay.
00:19:58.160 --> 00:19:58.640
Good luck.
00:19:58.960 --> 00:20:02.720
I'm surprised uh an auditor hasn't objected to that one.
00:20:02.880 --> 00:20:05.759
Yeah, yeah, I think they pick up on it now, wouldn't they?
00:20:05.920 --> 00:20:06.880
You know, that there's no updates.
00:20:06.960 --> 00:20:08.079
We don't need image copies.
00:20:08.319 --> 00:20:08.640
Okay.
00:20:09.359 --> 00:20:09.759
Great.
00:20:10.000 --> 00:20:12.799
Yeah, there's a lot of misconceptions, I suppose.
00:20:12.880 --> 00:20:18.240
That hopefully with more education we can we can fix.
00:20:19.119 -->
00:20:21.119
Now let's talk about the the best practices.
00:20:21.359 --> 00:20:26.640
Michal, can you can you talk to us about re-org and run stats and potentially rebind briefly?
00:20:26.799 --> 00:20:29.359
Like what should people be doing and how should they be doing it?
00:20:29.839 --> 00:20:46.000
And the most important one is the re-org, because it organizes the data the way that it should be by the clustering index, and it gives you the possibility to get the best access path combined with the run stats.
00:20:46.400 --> 00:20:51.440
So what is important is that whenever you run the re-org, run the inline statistics.
00:20:51.599 --> 00:20:59.359
Whenever you run the re-org of the table space or the table, run the inline statistics or run it after, but then you are wasting CPU time.
00:21:00.079 --> 00:21:15.440
Uh so and I'm very opponent for the customers or the users who are running their run stats between the re-orgs, for the reason that you are losing the island of stability that you get when you're on the re-org.
00:21:15.599 --> 00:21:17.519
Your data is perfectly organized.
00:21:17.680 --> 00:21:24.799
And then if you run the run stats like a few days later, when the updates are already done, then you may not be getting the best access path.
00:21:24.960 --> 00:21:31.759
But is what is more dangerous is that you may be getting the good access path by accident.
00:21:31.920 --> 00:21:38.960
And then you know, a week later, your manager will ask you, can we go back to this access path that you had last Wednesday?
00:21:39.119 --> 00:21:42.880
And you say, Oh, well, the data has changed, I really cannot get back to it.
00:21:43.119 --> 00:21:51.359
So re-org plus Ranstat at the same time gives you this island of stability that you can always go back to, or basically try to get back to, right?
00:21:51.839 --> 00:21:53.839
Another point is about the rebinds.
00:21:53.920 --> 00:21:58.799
There is no point in Rastats when you don't rebind.
00:22:00.000 --> 00:22:09.119
So if you if your rule is not rebinded at all, or rebind every, I don't know, D B2 release, then maybe there is no point to the Rustart, except for the dynamics QLs, of course.
00:22:09.359 --> 00:22:12.960
So I'd say this all things together needs to be combined.
00:22:13.599 --> 00:22:15.599
In the in this the smart way.
00:22:15.839 --> 00:22:26.079
And the way to do it, as Mark said, they are using RTS, some queries on RTS, or maybe some vendor tools, or maybe DSNA COX provided store procedure.
00:22:26.240 --> 00:22:29.680
To get the candidates for the reorg for the run stats for the copy.
00:22:29.839 --> 00:22:30.000
Yeah.
00:22:30.160 --> 00:22:31.440
So this is the proper way.
00:22:33.359 --> 00:22:41.359
Another m good point is whenever you run the re-org on index, don't run it with the run stats.
00:22:42.000 --> 00:22:46.240
Because it may cause conflicting statistics between the table and the index.
00:22:46.799 --> 00:22:48.079
The statistics for the index.
00:22:48.720 --> 00:22:53.279
So the John Scample rule is run on the table with inline statistics.
00:22:54.559 --> 00:22:57.359
Re-org on the index without statistics.
00:22:57.920 --> 00:22:58.960
So that's my take.
00:23:01.279 --> 00:23:01.519
Thanks.
00:23:02.079 --> 00:23:07.599
You mentioned earlier, Michau, about some customers having a rebind never policy.
00:23:10.160 --> 00:23:24.480
Since version eleven, there have been uh changes to rebind with uh you know, you can rebind to a previous copy or you can run um you can test your access path without uh actually changing anything.
00:23:24.799 --> 00:23:31.599
So what's available to uh DBAs now when it comes to rebinding to protect their um precious access paths?
00:23:33.519 --> 00:23:45.920
Yeah, Mark already mentioned the AP reuse, AP compare, AP reuse warning, AP reuse error when you don't allow any access path changes, or AP compare, the same warning and error.
00:23:46.400 --> 00:23:52.880
So whenever there is access path regression, you will be get the warning or well access path change, right?
00:23:53.200 --> 00:24:00.880
From the other side we also also have plan management, which preserves the original and previous copy.
00:24:01.119 --> 00:24:05.119
So whenever you will get access path regression, you can do the switch, rewind switch.
00:24:05.359 --> 00:24:09.519
So you you will get some good protection nowadays, I would say.
00:24:10.000 --> 00:24:16.480
Except for the fact for the dynamic SQL, which we which we don't, unless we count plan stability as well.
00:24:16.799 --> 00:24:20.400
But in plan stability, you can go back to the previous access path.
00:24:20.480 --> 00:24:24.319
Unfortunately, you can just lock the one that you have but don't go back.
00:24:24.720 --> 00:24:33.279
So nowadays definitely we have more possibilities to lock or execute with the same good access path that we did.
00:24:34.480 --> 00:24:46.640
But from the other side, if you are locking the access path, we may not be also benefiting from the new functions or new access paths that are brought through the release or maintenance PDFs.
00:24:46.960 --> 00:24:53.759
Because we are using AP reuse, tell the optimizer can you reuse this statement, access path that he it has before?
00:24:54.160 --> 00:25:01.440
But at the same time, we are not allowing those new benefits that are coming through maintenance stream to be exploited.
00:25:02.160 --> 00:25:07.440
So I would say if you want to be safe, sure, run with AP reuse.
00:25:07.920 --> 00:25:15.279
But if you want to be up to the edge of the of the newest access path, you should maybe test it somewhere on clone system.
00:25:15.680 --> 00:25:18.079
See maybe the access path has dramatically changed.
00:25:18.880 --> 00:25:24.640
So now in version 13, there is no many access path changes coming from the from the version 12.
00:25:24.799 --> 00:25:38.799
But I think that in the previous releases there were many, many enhancements that you
just do the rebind, you get the new better access path, and your CPU drops by, I don't know, 20%, 10% of the execution of this particular SQL.
00:25:38.960 --> 00:25:45.759
So you can be safe and you can use more CPU, or you can test and maybe be more efficient.
00:25:46.240 --> 00:26:03.359
Could you do AP compare with explain only so that you just find out whether if you were to rebind now it would be better or worse, and then use that to actually decide whether you rebind to make an improvement or stick with the existing access path?
00:26:03.759 --> 00:26:04.160
Yes.
00:26:07.359 --> 00:26:10.960
You can do the explain only with any option.
00:26:12.000 --> 00:26:17.599
I guess the problem there becomes for complex queries, what is better?
00:26:18.079 --> 00:26:21.279
How do you know how do you know a certain access path is better?
00:26:22.640 --> 00:26:33.680
And that's that's the problem because with all you know we can be very skilled at analysing access paths, but who's to say that who's to say that one type of join is better than the other until you actually see it run?
00:26:33.839 --> 00:26:41.519
And most times we just don't have representative volumes in a test environment to be absolutely certain of that.
00:26:41.759 --> 00:26:48.000
So at NAT West we tend to be risk averse, as you've no doubt um gathered by what I said earlier.
00:26:48.160 --> 00:27:01.839
So it just it just becomes a case of unless you actually unless you have a good reason to want a different access path, then we we just avoid the risk and leave things as they are, unfortunately.
00:27:02.000 --> 00:27:03.200
That's just the way it is.
00:27:03.440 --> 00:27:05.759
In terms of our in terms of our risk appetite.
00:27:06.240 --> 00:27:06.880
Yeah.
00:27:07.200 --> 00:27:08.000
Yeah, that's true.
00:27:08.160 --> 00:27:11.279
Mark and and you also only can prove it by by the runtime.
00:27:11.440 --> 00:27:12.880
I mean that's that's absolutely correct.
00:27:13.039 --> 00:27:14.880
And with the representative set of data.
00:27:15.519 --> 00:27:26.160
I think the rebind is also important from the maintenance perspective of applying PTFs, because there are some PDFs that are you know fixing something, for example, incorrect output.
00:27:26.400 --> 00:27:30.000
And if you don't rebind, then you have the problem still, right?
00:27:30.079 --> 00:27:33.440
So we apply it, we have that fixing something, but still you need to rebind.
00:27:33.599 --> 00:27:35.759
So rebind is also important from this perspective.
00:27:35.839 --> 00:27:39.119
So rebind never strategy is never good, I would say.
00:27:39.440 --> 00:27:39.839
Amen.
00:27:40.960 --> 00:27:46.960
So Chad, we've heard that backups are important if you have a recovery scenario.
00:27:47.200 --> 00:27:55.039
Uh because if you don't take a backup for, for example, read-only tables and your dusty gets a hit, then you've got nothing to recover from.
00:27:55.599 --> 00:28:01.440
So what kind of best practices do you know of uh with regard to backup and recovery?
00:28:01.599 --> 00:28:06.880
For example, redirected recovery for for testing image copies, that kind of thing.
00:28:07.039 --> 00:28:12.720
Uh full image copies versus incremental merge copy, um, stuff like that.
00:28:13.599 --> 00:28:19.920
Yeah, I I guess to that point, Marcus, I would say you know, one size doesn't fit all.
00:28:20.079 --> 00:28:31.440
So you know, even within you know, uh a company, you know, or DB2, you know, each application might have its own requirements around recovery, right?
00:28:31.599 --> 00:28:39.200
Whatever that recovery point objective or recovery time, you know, how long it's gonna take to do that recovery.
00:28:39.359 --> 00:28:51.279
Um I I always say working with a customer, but um just recently working with a customer on you know, like a cyber attack or a ransomware attack, how how am I gonna recover to that?
00:28:51.440 --> 00:28:53.039
And you know, they had a plan.
00:28:53.119 --> 00:28:58.559
We're we're gonna take these 15-minute backups of every space that we have out there.
00:28:58.799 --> 00:29:03.279
Okay, that's great, but then you know, you're as old as 15 minutes.
00:29:03.440 --> 00:29:10.240
What if you know a transaction happened uh five minutes ago and you can't recover that because you don't have the log?
00:29:10.480 --> 00:29:24.799
So um you do have to plan you know what type of recovery and what your requirements are for that recovery, and then back into your image copies and how you're gonna do that.
00:29:25.039 --> 00:29:29.680
Um, you know, pointing out some image copy capabilities that you just talked about.
00:29:29.839 --> 00:29:30.880
Do we take full copies?
00:29:31.039 --> 00:29:32.720
Do we take incremental copies?
00:29:32.960 --> 00:29:44.720
I go back uh a ways in DB2, and you know, there was a point, you know, no one took incremental copies, you know, it became very religious whether you liked incrementals or not liked incrementals.
00:29:44.880 --> 00:29:47.279
And that there are places for them, right?
00:29:47.440 --> 00:29:52.880
Um, you know, especially if you want uh fast recovery, right?
00:29:53.119 --> 00:30:00.319
Having more recovery resources and apply less log will get your your objects back that much quicker.
00:30:00.559 --> 00:30:09.119
So um I'm not anti-incremental copies, uh, but I go to people today and they just take full copies.
00:30:09.359 --> 00:30:19.680
And and even in our development environment, I mean our development teams, they might push full copies because you know Dazzy is very fast these days, right?
00:30:19.759 --> 00:30:23.279
And you can get a lot of IO done very quickly.
00:30:23.519 --> 00:30:27.759
So why the headache of incremental copies when you could just take a full?
00:30:28.079 --> 00:30:30.319
So um it all depends.
00:30:30.559 --> 00:30:35.839
And you know, to your point, how fast do we need to do that recovery?
00:30:36.160 --> 00:30:49.599
And
instead of say in the past where we would just guess, well, you know, you know, it's got a million you know, data pages, you know, we can do that recovery in an hour or 30 minutes.
00:30:49.759 --> 00:30:59.279
You know, we have tools, whether from Broadcom or Rocket or BMC, that can do estimation or simulation of recovery.
00:30:59.440 --> 00:31:03.519
You know, IBM recently gave us the redirected recovery.
00:31:03.599 --> 00:31:19.200
So we can actually take that most critical table space, you know, the client uh table space, and we can actually do a recovery to a different object and see how long that would take.
00:31:19.359 --> 00:31:24.000
And if it takes two hours and two hours is too long, how do we speed that up?
00:31:24.160 --> 00:31:26.079
Do we take more image copies?
00:31:26.319 --> 00:31:33.759
Um do we take incremental copies to limit the amount of log if that's the issue, right?
00:31:34.079 --> 00:31:36.240
The log apply is taking too long.
00:31:36.559 --> 00:31:41.519
So um back to where I started, I don't think one size fits all.
00:31:41.920 --> 00:32:00.640
Um, but I think what you're trying to accomplish with your recovery SLA, um, whether it's recovery point or recovery time, can back you into what is your best um image copy uh strategy going forward.
00:32:01.599 --> 00:32:10.640
That's such a good point that you have to go from that point backwards to to figure out how you're gonna copy it is based on how you would need to recover it in the world.
00:32:10.799 --> 00:32:19.359
And something Mark brought up in the beginning was you know his eight o'clock health check or making sure you have image copies out there.
00:32:19.519 --> 00:32:24.559
Um and you know, you think, oh, no, we got that covered.
00:32:24.720 --> 00:32:30.559
But whether it's a new table space that just came in, you know, because you know, we hit that 85%.
00:32:31.119 --> 00:32:36.640
We said, oh, let's split this table out, and oh, we forgot to put an image copy in there.
00:32:36.799 --> 00:32:39.440
You know, making that, making you aware of that.
00:32:39.599 --> 00:32:45.200
So that preparation, that health check, I think is really important, you know, going forward.
00:32:45.680 --> 00:32:56.000
So I found that um finding someone to make the decision about what your recovery point is will take a lot longer than your recovery time.
00:32:58.000 --> 00:33:01.599
And that might not just be one point for the subsystem, right?
00:33:01.920 --> 00:33:19.680
I I mean, you know, the same customer that was taking 15-minute image copies, they're like, yeah, but we might want to bring this application back to current, but this one, you know, to one o'clock or you know, an hour ago because it has to sync up with some you know off-the-frame application, right?
00:33:19.839 --> 00:33:23.119
So to your point, Mark, it it could change, right?
00:33:23.200 --> 00:33:26.079
You you it all depends on where you are, right?
00:33:26.160 --> 00:33:28.079
And who's
gonna make that decision?
00:33:28.240 --> 00:33:36.079
We could, as technicians, we could do the blocking and tackling, but who's gonna say, yeah, that's where we want to go back to, right?
00:33:36.640 --> 00:33:50.079
Yeah, and also, I mean, this uh thankfully I've never had to face this, but it's like for a financial institution like ourselves, you can't go back an hour because billions have got out the door in an hour.
00:33:50.240 --> 00:33:52.400
So what point do you go back do you go back to?
00:33:52.640 --> 00:33:56.640
It's it's a real it's a real quandary that I hope we never have to face.
00:33:56.799 --> 00:34:05.839
But um yeah, because generally speaking, recoveries are un unless it's under very specific circumstances, it's recovered to current every time.
00:34:06.079 --> 00:34:06.559
Yeah.
00:34:06.960 --> 00:34:12.800
Well sometimes it's not the recovery that's the problem, it's the rebuild rebuild index afterwards.
00:34:13.679 --> 00:34:15.199
Yeah, I was gonna ask about that.
00:34:15.840 --> 00:34:16.880
For large objects, yeah.
00:34:17.119 --> 00:34:27.599
Yeah, and im index image copies, which have been around since version six, which must be about 25 years, because I think version six was just going out as I was coming in.
00:34:27.760 --> 00:34:31.119
Um, but I haven't seen a massive uptake of of those.
00:34:31.360 --> 00:34:32.480
What about the rest of you?
00:34:32.639 --> 00:34:33.599
Are people using them?
00:34:33.760 --> 00:34:35.920
And if not, then what's what's stopping them?
00:34:36.000 --> 00:34:40.320
Is it surely it's not capacity, it must just be changing the process or something?
00:34:40.639 --> 00:34:48.960
Yeah, well, recent in the last year, we have been gradually phasing in index copies to our critical applications.
00:34:49.280 --> 00:34:56.960
We've initially just taken a finger on the air stab, it's saying any object bigger than 10 gig will get its indexes copied.
00:34:57.199 --> 00:35:02.960
For small indexes, it's not really going to save you a huge, a huge amount of time.
00:35:03.199 --> 00:35:09.440
But for some of our large objects, um with numerous indexes, we are now indexed taking index copies.
00:35:09.519 --> 00:35:12.079
That's now part of our um housekeeping strategy.
00:35:12.159 --> 00:35:12.239
Yeah.
00:35:13.039 --> 00:35:21.440
Because I've seen, you know, I've been in DR tests where we backed up indexes and then we go, you know, post-mortem.
00:35:21.599 --> 00:35:24.800
Okay, let's look at what was the longest running job.
00:35:24.960 --> 00:35:33.920
And sometimes it's the index recovery, um, where then we switched to a rebuild index and it it actually ran faster.
00:35:34.159 --> 00:35:46.960
So um I am a proponent of backing up indexes, don't get me wrong, but um testing I think is is key in that as well, because um, you know, how much log that we actually have to apply.
00:35:47.199 --> 00:35:50.000
Sometimes there's no log for an index, right?
00:35:50.079 --> 00:35:58.000
Because you know, even though we're you know we're updating the rows, you know, those columns aren't in that index, so there's really no log for that.
00:35:58.159 --> 00:36:04.639
So it it really depends on how the um the application is actually utilizing those indexes as well.
00:36:05.119 --> 00:36:07.039
Was that was that a very specific scenario?
00:36:07.840 --> 00:36:10.159
It was a very specific scenario for us.
00:36:10.320 --> 00:36:10.639
Okay.
00:36:10.960 --> 00:36:27.519
Um and and you know, there's a couple things with indexes, and you know, I was doing a log-only recovery with an index, and you know, db2 keeps the in the header page when this index was actually last updated.
00:36:27.760 --> 00:36:34.639
And again, it was a scenario where that index, there was no inserts into this table space.
00:36:34.719 --> 00:36:57.519
The indexes were only being updated, and because the table was being updated a lot, but the index was never being updated because it never updated the keys, so that um last used RBA in the header page went back a lot and brought back more log to be read than really needed to be read.
00:36:57.760 --> 00:36:59.440
So it was very specific.
00:36:59.519 --> 00:37:05.920
And you're like, why am I spinning through all these logs that are you know days old when it shouldn't?
00:37:06.159 --> 00:37:16.159
Well, because the way the recovery works, it looks at that that um header page and says, Oh, I need all these logs when it didn't need all those logs.
00:37:16.400 --> 00:37:21.440
So yeah, and the recovery of the index used to be also kind of slow.
00:37:21.519 --> 00:37:36.400
I agree with chat, because uh DB2 is using this fast log apply for tables in the recovery, but a few years ago, I think maybe seven years ago or ten, it was not using this fast log apply processing for indexes.
00:37:36.559 --> 00:37:38.639
And that was just because of the overlook.
00:37:39.199 --> 00:37:45.039
So it was re-enabled when we discovered this for one customer that you know recovery of the index is so slow.
00:37:45.199 --> 00:37:48.639
It shouldn't be, because it should be using the fast log apply.
00:37:49.280 --> 00:37:51.199
So nowadays it's much, much quicker.
00:37:51.440 --> 00:38:01.920
And I like the mark approach for copying indexes, the big indexes, because their build can take ages and recovery can be can be quick for the large objects.
00:38:02.239 --> 00:38:12.480
Plus, you can recover table and the index in the same time, so you don't need to wait for table availability to the rebuild, which basically duplicate your time of the recovery, more or less.
00:38:12.960 --> 00:38:15.760
That's much better for the for the larger objects, isn't it?
00:38:16.559 --> 00:38:31.440
And uh can we quickly talk about utility history, which is newish in db2 itself, um, and in principle it seems like a good idea and something that can provide some insights into what's happened in the past with with all the types of
utilities.
00:38:31.760 --> 00:38:38.639
Chad, I know that the BMC have had utility history for the BMC utilities for a long time.
00:38:38.880 --> 00:38:41.920
How are people using that history data?
00:38:42.400 --> 00:38:44.719
So um, good question.
00:38:44.960 --> 00:39:00.480
So, you know, occasionally for custom BMC customers, I'll go in and I'll do a you know BMC health check, quote unquote, where we'll look at you know how you're running our utilities, um, and I'll utilize that history, right?
00:39:00.719 --> 00:39:08.480
Because in that history for BMC, we not only know how what you're running, but how you're actually running it.
00:39:08.639 --> 00:39:15.039
So I could say, hey, you're using uh uh uh an inefficient way of a BMC utility.
00:39:15.360 --> 00:39:20.320
If you change it to this, you're gonna save a lapse time, CPU time, or whatever.
00:39:20.480 --> 00:39:40.719
Uh internally in our own code, we're also utilizing those utility histories uh for things like if you say, hey, I need these series of reorgs to run in two hours, well, I can look ahead and say, oh, you're gonna get to this table space and it takes an hour to reorg.
00:39:40.880 --> 00:39:45.039
So if you want to finish this in the two-hour window, it's not gonna finish.
00:39:45.119 --> 00:39:48.000
So we're gonna skip that one and do the other ones.
00:39:48.239 --> 00:39:56.480
So with IBM adding uh utility history in version 13, I could see more and more use for that.
00:39:56.639 --> 00:40:02.400
One, you could just easily see just how long your utilities are taking.
00:40:02.559 --> 00:40:12.719
Um, so if you want to do some performance on your utilities, so say you're doing an IBM load and you're like, well, could we do better with loads, right?
00:40:12.880 --> 00:40:17.920
A lot of times it's not in a DBA because a load is in an application.
00:40:18.079 --> 00:40:26.559
But as a DBA, you can say, you know, this load is taking you an hour and it's a share level non-load or something like that.
00:40:26.800 --> 00:40:37.360
Hey, you can change it to share level change, get higher availability back, or maybe you can look at the attributes that you're running with that load and make it run faster, right?
00:40:37.679 --> 00:40:40.639
So um I think it opens up a lot.
00:40:40.880 --> 00:40:48.320
So, like you said, um BMC had the history tables back 25 years ago, right?
00:40:48.559 --> 00:40:54.400
And you know, uh we can leverage a lot of that information, you know, in our code.
00:40:54.559 --> 00:41:04.800
And you know, we talked about figuring out what objects need to be reorged either through DSN ACOX or you know, Mark might have his own C list that he utilizes.
00:41:05.039 --> 00:41:07.679
Now you have another resource to look at.
00:41:07.840 --> 00:41:13.280
Like, okay, well, how long did this object take to re-org last time it did?
00:41:13.360 --> 00:41:18.480
Right, you got all that information, CPU, elapsed time, all that good data.
00:41:18.719
--> 00:41:31.119
So I think more and more, whether it's IBM or vendors like ours, will uh utilize some of this utility history to uh make the products that much better.
00:41:31.519 --> 00:41:32.400
That sounds great.
00:41:32.480 --> 00:41:34.800
Some some excellent ideas there, thank you.
00:41:35.280 --> 00:41:45.519
Yeah, and the the the point that Chad has mentioned about tuning into the options that you run, this is missing from uh from utility history now, IBM utility history.
00:41:45.679 --> 00:41:47.199
Because there is no syntax stored.
00:41:47.360 --> 00:41:52.239
You just know if it was re-org copy and that's it.
00:41:52.320 --> 00:41:54.400
But you don't get the syntax.
00:41:54.800 --> 00:41:57.599
So I would say there is room for enhancement.
00:41:57.840 --> 00:41:59.199
Yeah, there is room for enhancement.
00:41:59.360 --> 00:42:05.920
It took us a while to add that in there, but um at first we BMC, not me, I didn't do anything.
00:42:06.000 --> 00:42:10.960
Um at first we we hid it from everyone, and then well, why are we hiding this?
00:42:11.119 --> 00:42:12.079
This is your data.
00:42:12.239 --> 00:42:19.679
So now we externalize it so you know customers can actually see and say, because it's helpful, right?
00:42:19.840 --> 00:42:32.000
If if you know IBM comes out with a great new parameter for copy, and you want to know what other copies you're running without that parameter, right?
00:42:32.159 --> 00:42:42.239
And so you could say, hey, let's address all these jobs that are using you know attribute A when we should change it to aperture dupe B, right?
00:42:42.400 --> 00:42:48.880
And and you know, you're just gonna save resources or time or whatever it is.
00:42:49.199 --> 00:42:55.039
So um, yeah, to your point, yeah, we need we need to see what the attributes are that you run.
00:42:56.159 --> 00:43:00.000
Broadcom actually does does do that for you a little bit.
00:43:00.079 --> 00:43:11.519
Um it's not perfect, but the audit utility table in the insight history database, that does capture some of the parameters that you've used and some of your utilities.
00:43:11.760 --> 00:43:15.360
Doesn't capture them all, but it um it definitely does capture some of them.
00:43:16.000 --> 00:43:16.559
Yeah.
00:43:16.880 --> 00:43:19.440
Insight now known as history for DBT.
00:43:21.119 --> 00:43:21.840
Yes, yes, yes.
00:43:22.239 --> 00:43:24.880
Insight for many people for forever, probably.
00:43:25.760 --> 00:43:27.039
Yeah, thank you.
00:43:27.840 --> 00:43:30.079
So this has been a really interesting conversation.
00:43:30.159 --> 00:43:31.920
We hope our listeners find it useful.
00:43:32.079 --> 00:43:43.199
Let me just go around the table before we close and ask each one of you if people could do one thing to improve their housekeeping posture.
00:43:43.599 --> 00:43:45.039
What would you recommend?
00:43:45.679 --> 00:43:49.440
I fully support what Mark says about AP reuse, AP compare.
00:43:49.760 --> 00:43:53.679
So this would be the one thing that I would change for the safety.
00:43:54.239 --> 00:43:54.800
Let's say.
00:43:55.440 --> 00:43:59.840
Some customers are not using it still, some customers not using plant management at all.
00:44:00.559 --> 00:44:02.000
And this is your safety net.
00:44:02.320 --> 00:44:06.159
If you get into troubles, get back to the good access pod that you have been to.
00:44:06.719 --> 00:44:07.599
Good one.
00:44:07.920 --> 00:44:08.480
Excellent.
00:44:08.639 --> 00:44:09.119
Thank you.
00:44:09.360 --> 00:44:09.920
Chad.
00:44:10.400 --> 00:44:15.360
Now we have a real life DBA here, and you know, that's what I do for a living, right?
00:44:15.440 --> 00:44:18.239
I talk to DBAs um all the time.
00:44:19.119 --> 00:44:28.239
I do believe there's a lot of information in the DB2 catalog, and the IBM keeps on adding more and more like the utility history out there.
00:44:28.480 --> 00:45:15.840
So you know, something that's I think important, and I I actually talk to our development people uh to put this in our products uh continuously, is some sort of uh health check that you can run every day, that you can come in in the morning, look at what that health check produced, and that can set you what you need to do this week, today, you know, whether it's something hit an 85%, you know, something's not being backed up, or we had utilities that failed and was restarted or terminated, you know, because stuff like that might not have a problem today, but it can develop into a problem.
00:45:16.079 --> 00:45:36.559
So I think there's a lot of information, especially if you use third-party vendor products, say like BMC or Broadcom, there are internal tables there uh that can actually show you what ran last night and then you know what ran well, what ran poorly, or what didn't run at all.
00:45:36.800 --> 00:45:44.079
So I would say it behooves you to do some sort of health check that can run periodically.
00:45:44.159 --> 00:45:47.840
Um that would be my my suggestion to people.
00:45:48.159 --> 00:45:49.760
And finally, Mark.
00:45:50.639 --> 00:45:54.800
I think my main suggestion would be automate as much as you can.
00:45:55.360 --> 00:46:07.440
It'll save you a lot of a lot of trouble further down the line if you have automated procedure, if you have ways of automating all these things we've talked about, beyond any part of a batch schedule.
00:46:07.519 --> 00:46:12.800
If you can actually automate it, it will save you a lot of pain further down the line.
00:46:13.199 --> 00:46:14.480
Absolutely.
00:46:15.119 --> 00:46:18.239
I would have to agree with Mark, because I'm lazy.
00:46:18.400 --> 00:46:31.760
And if there's anything that I could automate and bake in that's doable, that it works once if you can do it again and again and again and automate it, uh, that is worth its weight in gold.
00:46:32.000 --> 00:46:39.360
So reports, um moving DevOps, yeah, your database changes using established DevOps principles, stuff like that.
00:46:39.599 --> 00:46:42.400
But automation, it would be but my buzzword.
00:46:42.960 --> 00:46:48.400
Yeah, and for me, I think I would just say refresh yourself on what the utilities can do.
00:46:48.559 --> 00:46:52.559
Things may have changed since you last really looked at your housekeeping setup.
00:46:53.039 --> 00:47:04.400
So check out what's changed in the last couple of releases and what you might be able to do that will save you time, stress, energy, uh, and maybe some sleepless nights.
00:47:05.039 --> 00:47:12.000
And on that note, I'd like to thank our guests, Chad, Mark, Michal, uh, for a very interesting discussion.
00:47:12.239 --> 00:47:14.000
And thank you all for listening.
00:47:14.159 --> 00:47:17.840
And tune in next time for iDug DB2 Table Talk.
00:47:20.400 --> 00:47:27.119
Visit iDug.org for the latest DB Two community news, information about events, and all of our technical content.
00:47:27.519 --> 00:47:32.159
Tune in again soon for the next podcast at iDog.org forward slash podcast.