Just a quick post today to point you over to an article that ran in eWeek Magazine titled Big Iron Remains Career Option. Those of us who have worked with mainframes for decades know that mainframes still run the bulk of the mission-critical, high transaction workload for the biggest companies. And we know that you can make a good career out of mainframe development, administration, and management.But it is good news that others are starting to hear this messa...
Saturday, 29 December 2007
Tuesday, 18 December 2007
Indexing the DB2 Catalog [DB2 9 for z/OS]
Posted on 10:37 by Unknown
First of all, I want to apologize for the lack of new posts here the last couple of weeks. I've been busy traveling and preparing for the holidays -- as have most of you I guess, at least the holiday preparation part! Anyway, this will likely be my last post this year and it will be a short one at that. But be sure to check back again in the new year (2008) as I will begin posting a bit more regularly again (hopefully).In today's post I want to tout a small but helpful improvement in DB2 9 for z/OS that makes it easier to build all of the indexes...
Monday, 26 November 2007
UPDATE SCHEMA and CATMAINT [DB2 9 for z/OS]
Posted on 12:53 by Unknown
Welcome back to my blog as I continue our examination of the new features of DB2 9 for z/OS. Today we will look at the new UPDATE SCHEMA capability of the CATMAINT utility.Have you ever wanted to make a global change to a schema, owner, creator, or VCAT name for your DB2 objects? Well, you can do that with CATMAINT in DB2 9 for z/OS using new UPDATE SCHEMA options.There are three (3) new options added to CATMAINT, namely: SCHEMA: Owner, creator and schema names can be changed using this option.VCAT: Indexes, table spaces and storage groups can...
Monday, 19 November 2007
Free Database Archiving Webinar
Posted on 07:19 by Unknown
Attend a free webinar on database archiving on November 28, 2007 at 10:30 am CST.The webinar, which I will be co-hosting with Bill Baker, will tackle the issue of skyrocketing data volumes in conjunction with increasing governmental regulations that impact the duration of data retention. These dual trends (among several others) conspire to make it difficult to ensure that your organization is in compliance regarding its operational data. As required data retention periods increase it becomes imperative that organizations develop a solid practice...
Wednesday, 7 November 2007
BACKUP and RESTORE SYSTEM [DB2 9 for z/OS]
Posted on 08:11 by Unknown
I am posting today’s blog entry from Athens, Greece as I participate in the European IDUG conference. Good thing I know how to use the Blogger site because when I log in over here in Greece the text on their site is all converted into Greek - and as I'm sure comes as no surprise to anyone, I don't understand Greek!Anyway, today's post will be about the improvements IBM has made to the BACKUP SYSTEM and RESTORE SYSTEM utilities in DB2 9 for z/OS. And this will be the final entry in this series on Version 9 features discussing utility improvements…...
Monday, 29 October 2007
Improvements to the REORG Utility [DB2 9 for z/OS]
Posted on 12:27 by Unknown
As we continue to wind our way through the multiple improvements that DB2 V9 brings to the IBM utilities, it is time to address the enhancements made to the REORG utility.PerformanceFirst up, let’s talk about performance improvements. In DB2 9 for z/OS, the REORG utility can unload and reload partitions in parallel. This should result in a nice reduction in elapsed time when you are reorganizing partitioned table spaces. To enable this improvement you will need to code the NOSYSREC keyword or the UNLDDN keyword with a template. Note that NOSYSREC...
Wednesday, 24 October 2007
Miscellaneous Utility Enhancements [DB2 9 for z/OS]
Posted on 12:20 by Unknown
Today we will continue along with our coverage of new features and functionality oif DB2 9, specifically within the IBM DB2 utilities. Here we will discuss several miscellaneous changes introduced to the IBM DB2 utilities in version 9.One of these small changes comes to us with the DSN1LOGP utility. The utility will now detect possible erroneous recovery information. For example, consider a situation where you specify a range of log records to print but the entire range is no longer recorded in the BSDS. This can happen if your archive logs have...
Wednesday, 10 October 2007
RECOVER Improvements [DB2 9 for z/OS]
Posted on 10:54 by Unknown
Our examination of the new utility functionality in DB2 9 for z/OS continues today as we uncover what’s new with the IBM RECOVER utility.Point-In-Time ConsistencyThe most significant enhancement centers on recovering to a point-in-time (PIT) with consistency. As any DBA who has ever been charged with recovering an operational database to a prior PIT knows, it can be challenging to accomplish. Of course, if you have a usable QUIESCE point then point in time recovery is easy. But that means you’d have to have planned ahead of time and taken a QUIESCE,...
Monday, 8 October 2007
LOAD and UNLOAD Enhancements [DB2 9 for z/OS]
Posted on 13:08 by Unknown
This week we continue our exploration of the features and functionality of DB2 9 for z/OS with a look at what’s new in the IBM LOAD and UNLOAD utilities. The first question people seem to ask with regard to LOAD is “Has performance been improved?” And the answer is yes, due mostly to improvements in handling indexes. IBM reports that performance can improve up to 24 percent if a table has mostly variable keys.Handling DECFLOAT DataIn terms of functionality, the first change we’ll discuss is how to deal with DECFLOAT data type in LOAD (and UNLOAD)....
Tuesday, 2 October 2007
More Online Utilities [DB2 9 for z/OS]
Posted on 13:39 by Unknown
Today we continue our investigation into the new functionality in DB2 9 for z/OS... and specifically into the improvements made to IBM utilities for version 9. We will turn our attention to improved availability with IBM DB2 utilities. Under DB2 V9, three more utilities can run online – that is, with SHRLEVEL CHANGE.First up we have CHECK DATA. This utility is executed when you want to make sure that the data in your tables matches your integrity constraints. Prior to V9, access to tables (or table spaces) is read only when CHECK DATA is being...
Monday, 24 September 2007
Histogram Statistics [DB2 9 for z/OS]
Posted on 09:31 by Unknown
Another utility upgrade that has found its way into DB2 9 for z/OS is the ability to gather histogram statistics. This feature is already available in DB2 for Linux, Unix, and Windows… and after you migrate to DB2 V9 it will be available to you on z/OS.What is it? Well, let’s first define what a histogram is for those of you who are not statistics experts. A histogram is a way of summarizing data that is measured on an interval scale. A histogram is particularly helpful to quickly highlight how data is distributed; to determine if data is symmetrical...
Friday, 7 September 2007
COPY Improvements [DB2 9 for z/OS]
Posted on 11:53 by Unknown
Next up in this sub-series on IBM utility improvements in the larger series on DB2 V9 features and functions we will take a look at the new “stuff” in the IBM COPY utility.Copying Just the Pending Database ObjectsThe first nice new feature is a new parameter that can be used to make backup copies of only those database objects in a copy pending state. The new parameter is called SCOPE PENDING, and when you specify it the IBM COPY utility will only copy objects in copy pending or informational copy pending state.The default is SCOPE ALL, which makes...
Tuesday, 4 September 2007
MODIFY RECOVERY [DB2 9 for z/OS]
Posted on 13:28 by Unknown
Another IBM DB2 utility that has received some attention under Version 9 is MODIFY RECOVERY. For those not sure what this utility is, MODIFY RECOVERY is used to remove records from the SYSIBM.SYSCOPY table in the DB2 Catalog, along with related log records from the SYSIBM.SYSLGRNX directory table and related information from the DBD.Before the new V9 changed, when you ran MODIFY RECOVERY you had to specify the deletion criteria in one of two ways:Given a specific date, delete all recovery information before that dataOr given an age in days, delete...
Tuesday, 28 August 2007
TEMPLATE Switching [DB2 9 for z/OS]
Posted on 10:59 by Unknown
Next up in this on-going series covering the new features and functionality of DB2 9 for z/OS we will tackle the improvements that have been made to the IBM DB2 utilities.A nice new feature that impacts multiple utilities is TEMPLATE switching. For those not familiar with templating, TEMPLATE is a utility control statement that enables the allocation of data sets for a LISTDEF (LISTDEF is the way you control the list of database objects for a utility execution). With the TEMPLATE statement you essentially specify data set naming conventions and...
Wednesday, 22 August 2007
Optimistic Locking [DB2 9 for z/OS]
Posted on 11:17 by Unknown
DB2 Version 9 improves support for coding optimistic locking techniques. What is optimistic locking? Sometimes referred to as optimistic concurrency control, optimistic locking is basically just what it sounds like. We are optimists and think that usually we will be the only ones with interest in the data. In other words, when optimistic locking is implemented you are assuming that most of the time there will be no other programs that are interested in the page of data that you are planning to modify.Of course, even in the most optimistic world...
Tuesday, 14 August 2007
DB2-L Is Back Up & Running
Posted on 12:25 by Unknown
In case you haven't noticed yet, the DB2 mailing list (DB2-L) is back up and running as of Monday, August 13, 2007.However, the archives are not yet available, but it looks like they will be back up soon (with no data loss). So, welcome back DB2-L - - we all missed y...
Thursday, 9 August 2007
DB2-L Is Down
Posted on 12:39 by Unknown
Those of you who subscribe to the DB2 mailing list, also known as DB2-L, may have noticed that the usually steady stream of information, questions, and comments that used to pour into your in-box has dried up. Don't worry (well, you can worry a little bit, I s'pose), it is nothing you have done... DB2-L is not functional.The company that hosts the list for IDUG moved the server two weeks ago and when they did they destroyed the disk drive. IDUG has been struggling to get everything rebuilt and back up since then, but it is taking longer than expected.If...
Wednesday, 8 August 2007
Altering LONG VARCHAR [DB2 9 for z/OS]
Posted on 08:54 by Unknown
Just a short entry today to discuss a feature that will be useful for organizations having tables containing long text strings which are stored as VARCHARs. It involves altering the data type of a column from LONG VARCHAR to a compatible data type.In previous versions of DB2 before to V9 it is not possible to change the data type of a LONG VARCHAR or LONG VARGRAPHIC column using ALTER. Instead, you would have had to unload the data, drop the table, create the table using the new column definitions and reload the data back into the new table. Of...
Monday, 6 August 2007
Encryption [DB2 9 for z/OS]
Posted on 07:56 by Unknown
DB2 V9 offers some encryption news, but we need to go back a version to start the story. You see, DB2 supports encryption in Version 8 through encryption functions that need to be explicitly coded in order to encrypt and decrypt data.These functions (ENCRYPT and DECRYPT) allow you to encrypt and decrypt data at the column level. Because you can specify a different password for every row that you insert, you are encrypting data at the “cell” level in your tables. If you use these functions to encrypt your data, be sure to put some mechanism in place...
Tuesday, 24 July 2007
Index Compression [DB2 9 for z/OS]
Posted on 10:40 by Unknown
Another useful new feature debuting in V9 is the ability to compress indexes. We’ve been able to compress DB2 data in table spaces for a long time now, either through an exit routine or with the COMPRESS table space parameter (added in DB2 V3). But before V9 we’ve never been able to compress index data.Why would you want to compress index data? Well, some types of applications require very large indexes on very large tables - - data warehousing applications are one good example. Sometimes, the storage required for indexes to support your data warehouse...
Monday, 16 July 2007
CLONE Tables [DB2 9 for z/OS]
Posted on 12:53 by Unknown
This new feature in DB2 V9 might sound like an old monster movie (Invasion of the Clone Tables!!!), but it is actually a nifty new capability for managing DB2 data availability. Cloning is basically a method of entirely refreshing all of the rows of a table while maintaining availability to the table.OK, so how does it work? Basically, you will create a table with the exact same attributes as a table that already exists at the current server, except that it is empty of data. It is created using the ALTER TABLE SQL statement with the ADD CLONE parameter....
Thursday, 12 July 2007
New Data Types [DB2 9 for z/OS]
Posted on 11:36 by Unknown
As we continue our blog series on the new features and functionality of DB2 9 for z/OS, today we examine the four (OK, five) new data types introduced in this version of DB2.BIGINTFirst up, we have the BIGINT data type. A BIGINT is an exact numeric data type capable of representing 63-bit integers. This is the third integer data type now available to DB2 and it offers the ability to store the largest range of values:SMALLINT values can range from -32768 to 32767INTEGER values can range from -2147483648 to 2147483647BIGINT values can range from...
Monday, 9 July 2007
New Built-in Functions [DB2 9 for z/OS]
Posted on 13:19 by Unknown
DB2 9 for z/OS introduces a bevy of new built-in functions (BIFs) for programmers to use in their SQL statements. It is important to keep track of the BIFs available in DB2 because BIFs simplify your coding and development. Invoking a function is always easier than trying to write the equivalent functionality in your host language code. And the BIF will work properly, whereas you cannot always be so sure about your own (sometimes buggy) code.So, what new function functionality do we get with DB2 9 for z/OS? First of all, we get some new ASCII and...
Friday, 29 June 2007
Implicitly Created Database Objects [DB2 9 for z/OS]
Posted on 13:06 by Unknown
Today we continue our series on new features in DB2 V9 with a quick discussion of implicitly created database objects. To understand what this is, let’s first review the way DB2 works today (pre-V9). If you issue a CREATE TABLE statement and do not specify the database and table space into which the table is to be created, DB2 will automagically create a new table space in the default database (DSNDB04).Not being content with that, DB2 9 extends this capability with the ability to implicitly create additional types of database objects. By coding...
Monday, 18 June 2007
Skipping Locked Rows [DB2 9 for z/OS]
Posted on 08:29 by Unknown
In DB2 9 it is possible for a transaction to skip over rows that are locked. This can be accomplished by means of the SKIP LOCKED DATA option within your SQL statement(s). SKIP LOCKED DATA can be specified in SELECT, SELECT INTO, and PREPARE, as well as searched UPDATE and DELETE statements. You can also use the SKIP LOCKED DATA option with the UNLOAD utility.Of course, if a program skips over locked data then that data is not accessed and the program will not have it available. When this option is used DB2 will just skip over any locked data instead...
Wednesday, 13 June 2007
Do You Want to Ignore Clustering? [DB2 9 for z/OS]
Posted on 13:35 by Unknown
DB2 9 for z/OS offers a new DDL parameter for your tables: APPEND. If you specify APPEND NO, which is the default, DB2 will operate as you are accustomed to it operating. That is, when rows are inserted or loaded DB2 will attempt to sequence them based on the clustering index key.If you specify APPEND YES though, DB2 will ignore clustering during inserts and online LOAD processing. Instead of attempting to maintain clustering, DB2 will just append the rows at the end of the table or partition. If the table space is partition-by-growth (new DB2...
Monday, 4 June 2007
Reordered Row Format [DB2 9 for z/OS]
Posted on 07:44 by Unknown
If you’ve worked with DB2 for awhile, especially as a DBA, you’ve probably heard the advice to re-arrange the columns of your tables to optimize logging efficiency. Basically, the more data that DB2 has to log, the more overhead your programs will incur, and performance will degrade. DB2 will log data from the first byte changed to the last byte changed – unless the row is variable, in which case DB2 will log from the first byte changed to the end of the row – unless the change does not cause the length of the variable row to change, in which case...
Tuesday, 29 May 2007
INSTEAD OF Triggers [DB2 9 for z/OS]
Posted on 12:08 by Unknown
DB2 9 for z/OS introduces a new type of trigger: the INSTEAD OF trigger. The primary usage of INSTEAD OF triggers is to enable views that would not otherwise be updatable to support updates. Typically, a view that consists of multiple base tables cannot be updated. But with an INSTEAD OF trigger this problem can be surmounted. You can code an INSTEAD OF trigger to direct inserts, updates and deletes to the appropriate underlying tables of the view.With the INSTEAD OF trigger, your application code does not have to include complex algorithms to...
Thursday, 24 May 2007
LOB Enhancements [DB2 9 for z/OS]
Posted on 10:15 by Unknown
IBM focused their attention on improving DB2’s ability to store and manage LOB data in Version 9. As anyone who has tried to use LOBs in a previous version of DB2 knows, the usability limitations were troublesome. But with Version 9, IBM chips away at some of the more annoying LOB limitations. FETCHing LOBs Prior to Version 9, there were two methods you could deploy in your programs to fetch LOB data: Fetching data into a pre-allocated buffer Using a LOB locator to retrieve a handle on the data. Both methods have their issues. Fetching data into...
Monday, 21 May 2007
New OLAP Capabilities [DB2 9 for z/OS]
Posted on 12:56 by Unknown
DB2 9 for z/OS offers several new SQL improvements focused on improving OLAP functionality. The OLAP functions provide the ability to return ranking, row numbering, and existing aggregate function information as a scalar value in the result of a query. You can include OLAP specifications in an expression, in a select-list, or in the ORDER BY clause of a select-statement.The result to which the OLAP specification is applied is the result table of the innermost subselect that includes the OLAP specification. OK, at this point you might well be asking,...
Subscribe to:
Posts (Atom)