﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>DB2</title>
    <description>Providing “Tips and Tricks” and other useful information for administration and development on DB2 whether you are running on Linux, Unix, Windows, or z/OS.</description>
    <link>http://www.toadworld.com/Community/Blogs/tabid/67/BlogId/19/Default.aspx</link>
    <language>en-US</language>
    <managingEditor>Jim Wankowski</managingEditor>
    <webMaster>webmaster@toadworld.com</webMaster>
    <pubDate>Tue, 02 Dec 2008 10:38:43 GMT</pubDate>
    <lastBuildDate>Tue, 02 Dec 2008 10:38:43 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 3.2.0.15477</generator>
    <item>
      <title>Automated Maintenance</title>
      <description>&lt;div&gt;
&lt;p&gt;Automated maintenance began with DB2 LUW 8.2. At this time the behavior of automated utilities had to be controlled manually either through the Control Center or the automation wizard. Now with DB2 9.5 automation of RUNSTATS and REORG commands can be controlled by an XML document referred to as an “automatic maintenance policy” These policies control which objects are considered for automated maintenance, and what options are to be used. &lt;/p&gt;
&lt;hr /&gt;
&lt;font size="3"&gt;&lt;strong&gt;Automated Statistics Collection&lt;/strong&gt;&lt;/font&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;The feature of automatic statistics collection allows you collect statistics on an as-needed basis. Automated statistics were introduced in DB2 8.2. This release allowed you to check statistics on a 2 hour interval. Statistics collection would then occur if needed based on the analysis. This may or may not be adequate depending on the volatility of the environment. Now with V9.5 we have real-time statistics collection through the DB2 optimizer. When a query runs through the compile/optimize process the statistics for the referenced tables are checked for accuracy, and statistics are collected synchronously as needed. The amount of time allowed for statistics collection is controlled through the optimization profile. The default is 5 seconds, which means that if the RUNSTATS is going to take more than 5 seconds it is automatically kicked off as a background asynchronous process. Automatic statistics collection is turned on by default when a database is created.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Configuration Parameters&lt;/strong&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;ul type="disc"&gt;
    &lt;li&gt;AUTO_RUNSTATS=ON&lt;/li&gt;
    &lt;li&gt;AUTO_STMT_STATS=ON&lt;/li&gt;
    &lt;li&gt;AUTO_REORG = ON&lt;/li&gt;
    &lt;li&gt;AUTO_TBL_MAINT = ON&lt;/li&gt;
    &lt;li&gt;AUTO_MAINT=ON&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;p&gt;Automated RUNSTATS activity is tracked in a new log file called DB2_OPTSTATS_LOG. The file can be viewed either manually or with the SYSPROC.PD_GET_DIAG_HIST table function.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Peformance Impact&lt;/strong&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;The real-time asynchronous process executes a “throttled” RUNSTATS, based on current database activity in order to minimize the performance impact.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Statistics Profiles&lt;/strong&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Statistics profiles control which statistics get collected when a RUNSTATS is executed.  Statistic profiles can either be set up manually by running a RUNSTATS with the SET PROFILE option, or by the automatic statistics profiling by turning the AUTO_STATS_PROF, and AUTO_PROF_UPD configuration parameters to ON.&lt;/p&gt;
&lt;hr /&gt;
&lt;font size="3"&gt;&lt;strong&gt;Automated Reorganization&lt;/strong&gt;&lt;/font&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;The new automated reorganization feature is essentially an automated version of REORGCHK. If the REORGCHK determines that an index or table reorg is required, it will internally schedule the task. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Configuration Parameters&lt;/strong&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;ul type="disc"&gt;
    &lt;li&gt;AUTO_REORG = ON&lt;/li&gt;
    &lt;li&gt;AUTO_TBL_MAINT = ON&lt;/li&gt;
    &lt;li&gt;AUTO_MAINT=ON&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;&lt;hr /&gt;
 &lt;/div&gt;
&lt;div&gt;The new automated maintenance features being introduced into DB2 LUW are not designed to replace the DBA, but to help alleviate these tedious tasks and let them focus on the more critical tasks at hand. See you next time …&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;</description>
      <link>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/270/Default.aspx</link>
      <author>Jim Wankowski</author>
      <comments>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/270/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.toadworld.com/Default.aspx?tabid=67&amp;EntryID=270</guid>
      <pubDate>Wed, 03 Sep 2008 14:31:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.toadworld.com/DesktopModules/Blog/Trackback.aspx?id=270</trackback:ping>
    </item>
    <item>
      <title>Automated Storage management</title>
      <description>&lt;div&gt;Continuing on with my discussions on &lt;a href="http://www.toadworld.com/Community/QuestExpertsBlogs/tabid/67/EntryID/243/Default.aspx"&gt;autonomic computing&lt;/a&gt; in DB2 is the concept of self managing space. Proper space allocations are another critical factor when it comes to optimizing the performance of your database. Inadequate space allocations can result in application failures and potential downtime which will cost your organization money.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Automated space management was introduced back in version 8.2 (fp9) with the &lt;em&gt;auto-resize&lt;/em&gt; feature. This feature would allow for DMS managed tablespaces to automatically increase the size of their containers automatically. The basic syntax was AUTORESIZE YES on your tablespace DDL to activate the feature. The other 2 parameters were INCREASESIZE which specified how much space to add to the container when it needed to be resized (this could either be a fixed value or a percentage) and MAXSIZE which allowed you to specify the maximum size that the tablespace could grow to.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;DB2 9.5 introduces the concept of automatic storage. Space management is now moved to the database level. A new storage pool is defined at the database as well as a tablespace storage path. The new syntax is MANAGED BY AUTOMATIC STORAGE on your tablespace definition. This again is only available for DMS type Tablespaces. No containers are specified. Containers will not only be extended but new containers may be created as needed. They will be automatically allocated as needed in the path defined in the database definition. This essentially gives you the simplicity of the SMS allocation method with the performance benefits of DMS.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The new automatic storage feature in 9.5 minimizes the burden of having to monitor space and worry about “unable to allocate new pages” errors in your production databases.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;See you next time, when I will be discussing the new automatic maintenance features in 9.5.&lt;/div&gt;</description>
      <link>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/256/Default.aspx</link>
      <author>Jim Wankowski</author>
      <comments>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/256/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.toadworld.com/Default.aspx?tabid=67&amp;EntryID=256</guid>
      <pubDate>Tue, 29 Jul 2008 19:30:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.toadworld.com/DesktopModules/Blog/Trackback.aspx?id=256</trackback:ping>
    </item>
    <item>
      <title>DB2 LUW Autonomics</title>
      <description>&lt;div&gt;Last week I did an IDUG sponsored webcast on the topic of autonomic computing. I wil be excerpting these features over the next few blogs. If you wish to view a recording of the webcast here is the link:  &lt;a href="http://www.quest.com/events/listdetails.aspx?contentid=7611&amp;technology=&amp;prod=&amp;prodfamily=&amp;loc="&gt;&lt;span&gt;http://www.quest.com/events/listdetails.aspx?contentid=7611&amp;technology=&amp;prod=&amp;prodfamily=&amp;loc&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;span&gt;The beginnings of autonomics&lt;br /&gt;
 &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;In early releases of DB2 LUW the database and instance configurations were more or less static. In order to make a change the instance or database had to be taken offline for any changes to be made. The move towards an automated tuning process began in V8 where you could start to dynamically change parameters without having to shut down the database. There were quite a few limitations at this stage however.&lt;br /&gt;
 &lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;span&gt;Self Tuning Memory Manager- STMM&lt;br /&gt;
 &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;With DB2 LUW V9.1, IBM introduced the concept of automated self tuning memory. The feature simplifies the task of managing package cache, sort heap, buffer pools, and locklists. The amount of memory allocated to these areas is constrained by the maximum memory allocated to the database shared memory. This parameter can be left on or once a typical workload has been set the values can be frozen by turning off the automatic parameter. Generally running the auto tune for a few hours under typical workloads will produce optimal tuning parameters.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;There are limitations to using self tuning memory. &lt;/div&gt;
&lt;ul&gt;
    &lt;li&gt;Good Candidates for STMM
    &lt;ul&gt;
        &lt;li&gt;Box has lots of free memory &lt;/li&gt;
        &lt;li&gt;Workload changes throughout the day &lt;/li&gt;
        &lt;li&gt;Inexperienced DBAs &lt;/li&gt;
        &lt;li&gt;Multiple bufferpools &lt;br /&gt;
          &lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Poor Candidates for STMM
    &lt;ul&gt;
        &lt;li&gt;Databases with constrained memory
        &lt;ul&gt;
            &lt;li&gt;Heavily used server &lt;/li&gt;
            &lt;li&gt;&lt;em&gt;Database_memory&lt;/em&gt; set low &lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;Volatile workloads
        &lt;ul&gt;
            &lt;li&gt;Constantly changing workloads cannot be tuned effectively &lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;Static workload throughout the day &lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;The level of automation is continuing to evolve. In v9.5 you can now automate at the instance level, database heap, and new application memory. By specifying the &lt;em&gt;database_memory&lt;/em&gt; parameter as AUTOMATIC, DB2 will also dynamically adjust the shared memory based on database workload. If you need to view what the current memory allocations are you can use a snapshot or the GET DATABASE CONFIGURATION command. All memory changes are recorded in memory tuning files which can be found in the STMMLOG directory:&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;
&lt;img height="388" alt="" width="750" src="http://www.toadworld.com/Portals/0/blogimages/JimWblog06302008-1.gif" /&gt; &lt;/div&gt;
&lt;div&gt;&lt;em&gt;STMM Log&lt;/em&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Next time, I will be covering the new automatic storage features introduced into DB2 LUW. &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;</description>
      <link>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/243/Default.aspx</link>
      <author>Jim Wankowski</author>
      <comments>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/243/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.toadworld.com/Default.aspx?tabid=67&amp;EntryID=243</guid>
      <pubDate>Mon, 30 Jun 2008 13:21:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.toadworld.com/DesktopModules/Blog/Trackback.aspx?id=243</trackback:ping>
    </item>
    <item>
      <title>DB2 Autonomics</title>
      <description>&lt;div&gt;Obtaining optimal performance from your DB2 LUW applications requires that you not only ensure your SQL is written efficiently and is properly tuned, but one must be sure that the DB2 instance itself is properly tuned. Too many people make the mistake of focusing all their efforts on tuning SQL and do not take a look at the big picture. Think of your DB2 installation as an ecosystem, where memory, physical design, and SQL transactions all work in conjunction with each other, and all can have a direct impact on performance. No doubt that proper SQL coding is probably the most critical factor when it comes to performance, but it is very important to understand that the best written SQL statement will not perform properly if there are inadequate memory allocations, or a poor physical database design. Monitoring and tuning a DB2 instance requires time and skill. Many LUW installations may not have the expertise to optimally tune their environments. &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;One of the unique differentiators between DB2 and other relational databases is IBM’s implementation of the concept of autonomic tuning and self tuning memory and automated maintenance. With these features the database is becoming much more hands off making the database much more reliable and freeing up DBAs time for other tasks.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;This automation is broken up into different categories:&lt;/div&gt;
&lt;ol type="1"&gt;
    &lt;li&gt;&lt;strong&gt;Self Tuning Memory (STMM)&lt;/strong&gt;
    &lt;ul type="circle"&gt;
        &lt;li&gt;Package Cache &lt;/li&gt;
        &lt;li&gt;Buffer Pool &lt;/li&gt;
        &lt;li&gt;Sort Heap &lt;/li&gt;
        &lt;li&gt;Locklist&lt;br /&gt;
          &lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;strong&gt;Storage Management&lt;/strong&gt;
    &lt;ul type="circle"&gt;
        &lt;li&gt;Automatic tablespace
        &lt;ul type="square"&gt;
            &lt;li&gt;Auto-resize&lt;br /&gt;
              &lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;strong&gt;Automate maintenance&lt;/strong&gt;
    &lt;ul type="circle"&gt;
        &lt;li&gt;Reorg &lt;/li&gt;
        &lt;li&gt;Runstats &lt;/li&gt;
        &lt;li&gt;Backup &lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;Over the course of the next few weeks, I will be discussing each of these different categories in more depth so stay tuned!&lt;/div&gt;</description>
      <link>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/226/Default.aspx</link>
      <author>Jim Wankowski</author>
      <comments>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/226/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.toadworld.com/Default.aspx?tabid=67&amp;EntryID=226</guid>
      <pubDate>Mon, 02 Jun 2008 15:16:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.toadworld.com/DesktopModules/Blog/Trackback.aspx?id=226</trackback:ping>
    </item>
    <item>
      <title>Custom Data Reporting with Toad for DB2</title>
      <description>&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;One of the nicer features within Toad&lt;sup&gt;®&lt;/sup&gt; for DB2 is the wide array of reporting capabilities. There is a constant requirement for managerial level reports that need to be run on a regular basis. Many of these reports are generating using reporting tools like QMF, Crystal Reporting, etc. Toad’s data reporting facility provides an easy method for generating professional report templates which can be saved and reused. I will take you through an example of building a custom data report.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;The first step is to build the desired query. You can do this through the query builder, or SQL editor. In my example I built a simple join of the sample department and employee tables through the query builder option.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;img height="243" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/CustomData01.png" /&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Once you are satisfied with your query, right click on the results grid and select:&lt;br /&gt;
&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;“SEND TO/Data Report Designer”.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;img height="254" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/CustomData02.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="left"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;This will open up the report design wizard.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;img height="315" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/CustomData03.png" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Select the desired columns for the report&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;o:p&gt;&lt;img height="313" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/CustomData04.png" /&gt;&lt;/o:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Select desired grouping&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;img height="312" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/CustomData05.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;img height="311" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/CustomData06.png" /&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Select the desired layout&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;o:p&gt;&lt;img height="315" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/CustomData07.png" /&gt;&lt;/o:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Once all the basic formatting questions have been answered the report designer will then be displayed. The designer allows you to make custom headings, page breaks, column headings, etc.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;img height="243" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/CustomData08.png" /&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Once you r formatting is complete, select the preview button to see the finished report:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;img height="243" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/CustomData09.png" /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;The report templates can then be saved and put into the project manager for later reference. Toad for DB2 provides a low cost easy to use alternative to other 3&lt;sup&gt;rd&lt;/sup&gt; party report generators.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</description>
      <link>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/163/Default.aspx</link>
      <author>Jim Wankowski</author>
      <comments>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/163/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.toadworld.com/Default.aspx?tabid=67&amp;EntryID=163</guid>
      <pubDate>Tue, 18 Dec 2007 17:57:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.toadworld.com/DesktopModules/Blog/Trackback.aspx?id=163</trackback:ping>
    </item>
    <item>
      <title>Multi-Location Script Executions</title>
      <description>&lt;p&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;In many cases there is a need to create an object or to execute an SQL statement in multiple locations.&lt;span style="mso-spacerun: yes"&gt; &lt;/span&gt;The group execute option in TOAD for DB2 allows you to execute a script against multiple environments with one easy step.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Let’s step through a few use cases.&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;strong style="mso-bidi-font-weight: normal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Example 1:&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;A new table needs to be added to multiple databases.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;The first step is to generate the necessary DDL and send it to the editor.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;img height="300" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/multilocation01.jpg" /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;The next step is to go to the toolbar and select VIEW/GROUP EXECUTE:&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;img height="292" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/multilocation02.jpg" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;The group execute window will open on the bottom of the editor, displaying all your cataloged connections.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Select the locations you wish to execute the DDL from and click the execute button.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p align="center"&gt;&lt;o:p&gt;&lt;img height="286" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/multilocation03.jpg" /&gt;&lt;/o:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Status messages will be displayed next to selected targets and script executions can be view on the right.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;img height="276" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/multilocation04.jpg" /&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;strong style="mso-bidi-font-weight: normal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Example 2&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;: Execute a query against multiple databases and validate that the same results set is being brought back.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Open the Query in the editor and select the VIEW/GROUP EXECTUE option.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;img height="272" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/multilocation05.jpg" /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Select the desired targets and execute the query.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Then right click on the results sets and send them to the Data Diff Viewer.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;img height="229" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/multilocation06.jpg" /&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;  &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;The Diff Viewer will then validate the results are the same.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;o:p&gt;&lt;img height="267" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/multilocation07.jpg" /&gt;&lt;/o:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;As you can see the “Group Execute” option can be a very useful tool.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;It is very easy to replicate script executions across multiple environments and even multiple platforms of DB2 concurrently.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</description>
      <link>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/153/Default.aspx</link>
      <author>Jim Wankowski</author>
      <comments>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/153/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.toadworld.com/Default.aspx?tabid=67&amp;EntryID=153</guid>
      <pubDate>Thu, 22 Nov 2007 03:24:00 GMT</pubDate>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://www.toadworld.com/DesktopModules/Blog/Trackback.aspx?id=153</trackback:ping>
    </item>
    <item>
      <title>TheThree Letter Word</title>
      <description>&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;I just got back from the IBM IOD conference in &lt;st1:city w:st="on"&gt;&lt;st1:place w:st="on"&gt;Las Vegas&lt;/st1:place&gt;&lt;/st1:city&gt;; it was a great show. Every year there is usually some buzz about what is “hot” with DB2. This year’s buzz was heard loud and clear – XML was being discussed just about everywhere. This is definitely the driving focus for the latest release of DB2 running on both LUW and z/OS. Toad&lt;sup&gt;®&lt;/sup&gt; for DB2 3.0 has many XML features already enabled. You can create tables with XML data types, create indexes on XML columns, import XML data into tables, and generate data reports including XML data. The following is a quick example showing how TOAD will allow you to create a table featuring XML data.&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Select the CREATE option from the tool bar and select TABLE:&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;img height="268" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/3letter01.jpg" /&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;From the general tab assign a name for the table. Then select the column option to begin adding your columns.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;o:p&gt;&lt;img height="270" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/3letter02.jpg" /&gt;&lt;/o:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;The column data types are release sensitive. When you create a table on V9 LUW the object types will include XML. Create a column with the XML datatype.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;img height="287" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/3letter03.jpg" /&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;  &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;The SQL script option will allow you to review the DDL then execute the DDL to generate the table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;o:p&gt;&lt;img height="269" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/3letter04.jpg" /&gt;&lt;/o:p&gt;&lt;o:p&gt;  &lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;To populate the table you can then use the SQL Editor to code inserts or use the IMPORT wizard to import data in a file. You can then also run your XQUERY statements through the SQL EDITOR to query your table as well. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Toad for DB2 is well enabled today to help you build your XML applications.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</description>
      <link>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/146/Default.aspx</link>
      <author>Jim Wankowski</author>
      <comments>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/146/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.toadworld.com/Default.aspx?tabid=67&amp;EntryID=146</guid>
      <pubDate>Mon, 29 Oct 2007 21:27:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.toadworld.com/DesktopModules/Blog/Trackback.aspx?id=146</trackback:ping>
    </item>
    <item>
      <title>DB2 Day to Day</title>
      <description>&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Hey DB2’ers,&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;I had a busy week last week speaking at the Central Canadian DB2 Users Group in &lt;st1:place w:st="on"&gt;&lt;st1:city w:st="on"&gt;Toronto&lt;/st1:city&gt;&lt;/st1:place&gt; and visiting with customers. The best part of this job is that I have the opportunity to speak to many people in the DB2 community and get to hear what they are doing with DB2 and what their needs are from a tool perspective.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;It’s interesting to hear that although companies are using DB2 for a variety of applications the work of the DBA stays pretty consistent. There is always a need to be able to quickly and accurately make changes to objects and put all dependencies back as they were. The other common thread is they need a solid SQL tuning tool. &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Developers like to throw SQL together and not really test. This was the &lt;a href="http://www.toadworld.com/Community/ExpertsBlog/tabid/67/EntryID/119/Default.aspx"&gt;subject of my blog&lt;/a&gt; a few weeks ago. I spent all day Friday onsite with one of our largest customers discussing what they do on a day-to-day basis and what they need their tools to do. They confirmed the need for a solid object management and SQL tuning product. We have some exciting new features planed for the upcoming release of Toad&lt;sup&gt;®&lt;/sup&gt; over the next few months. &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;What I would like is to hear from you on what your day to day job entails, and what type of functionality would be most useful to you. I am looking forward to your feedback.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</description>
      <link>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/141/Default.aspx</link>
      <author>Jim Wankowski</author>
      <comments>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/141/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.toadworld.com/Default.aspx?tabid=67&amp;EntryID=141</guid>
      <pubDate>Fri, 12 Oct 2007 18:13:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.toadworld.com/DesktopModules/Blog/Trackback.aspx?id=141</trackback:ping>
    </item>
    <item>
      <title>Roll with the Changes</title>
      <description>&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;One of the questions I get quite a bit from customers is; do we have the ability to compare data and/or have the ability to compare DDL files to what’s currently in the DB2 catalog?&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;As of V3.0 of TOAD for DB2 the answer is YES to both of these questions. A new feature called “Difference Viewer” allows you to compare table data, results sets, and various script files either file to file, or file to catalog. This feature is available for both LUW and z/OS environments. This is a very useful feature when you wish to verify the data in multiple copies of a table, or in many cases you may have DDL files saved and you want to be sure they match what’s actually in the catalog. Here are a couple of examples: &lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;
&lt;p class="MsoNormal"&gt;&lt;strong style="mso-bidi-font-weight: normal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Example &lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;1 – I have 2 copies of my employee table.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;I wish to verify the employee count is the same.&lt;br style="mso-special-character: line-break" /&gt;
&lt;br style="mso-special-character: line-break" /&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;
&lt;p align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;img height="246" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/Changes01.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p align="left"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Select the table and send the data to the Diff viewer. Repeat this step for the second employee table. The diff viewer report will display the data side by with a summary at the bottom left of the window. In this example we can see that an additional employee was added to my second employee table.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;img height="244" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/Changes02.jpg" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;This feature will also be useful when tuning queries.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;A queries result set can be sent to the Diff Viewer and when the query is modified and re-executed the new results set can be compared back to the original query to verify that the result set has not changed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Example 2 – I have a DDL file that I wish to compare to what’s actually in the catalog to validate that they are in sync.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;This time we select “Diff Viewer as Script”:&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;img height="253" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/Changes03.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" align="center"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;img height="241" alt="" width="400" src="http://www.toadworld.com/Portals/0/blogimages/Changes04.jpg" /&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;When the Diff Viewer window opens the existing tables structure will appear on the left.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;On the right I then select the browse button and select the DDL file from my directory.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;The compare then verifies that the DDL I have saved does not match what is currently in the catalog.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;As you can see there are many uses for this new feature.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;It can even be used to compare various TXT , HTML, XML, JAVA, .NET, PERL and many more types of documents.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Have fun with this one!&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;See you next week!&lt;/span&gt;&lt;/p&gt;</description>
      <link>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/133/Default.aspx</link>
      <author>Jim Wankowski</author>
      <comments>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/133/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.toadworld.com/Default.aspx?tabid=67&amp;EntryID=133</guid>
      <pubDate>Fri, 28 Sep 2007 22:16:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.toadworld.com/DesktopModules/Blog/Trackback.aspx?id=133</trackback:ping>
    </item>
    <item>
      <title>The Attack of the Clones!</title>
      <description>&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;This week I am going to switch gears over to the big iron and talk about DB2 z/OS. IBM has been making great strides in the area of schema management. As any mainframe DBA knows, the process of having to make a seemingly simple schema change can result in a very complex combination of DDL, Utilities and batch processes. These changes can result in applications having to be unavailable for significant amounts of time. Starting with V8 of DB2, IBM introduced the concept of “Online Schema Evolution.” This is the process of being able to make changes to your DB2 objects with very little or no down time by eliminating the need to unload data, drop/recreate objects with dependencies, reload the data and rebind any plans or packages associated with the objects. This is a significant feature when it comes to high availability applications. With the upcoming release of DB2 for z/OS V9 this area continues to evolve.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;The first one I want to talk about this week is table cloning. Table cloning is a unique feature that will benefit applications that require high availability such as web based applications. With table cloning you can make an exact copy of an existing table in the same tablespace and then switch back and forth between the tables with almost complete transparency. The cloned table can then be loaded with data just like the original table. This in effect provides a very simple data mirroring facility plus having the ability to have different versions of data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;The other significant schema management features are:&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;/span&gt;&lt;strong style="mso-bidi-font-weight: normal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Column renaming&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt; – This feature gives you to have the ability to rename table columns without having to drop/recreate the table. This will be a great time saver and potentially eliminate the need to add new columns to a table by allowing for the reuse of existing columns. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;strong style="mso-bidi-font-weight: normal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;Renaming Indexes&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt; -This feature can be helpful when maintaining ERP type applications. Many of these applications have the version coded into the name of the indexes. Not having to drop and recreate indexes when a version upgrade is applied will be a huge timesaver.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;DB2 has made great strides in improving availability by minimizing the downtime necessary to perform changes to the database structures. This is essential in today’s 24x7 web enabled world. These types of enhancements are ensuring that DB2 z/OS will remain the core data repository for large IT operations for a long time to come.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Tahoma"&gt;See you next week!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</description>
      <link>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/127/Default.aspx</link>
      <author>Jim Wankowski</author>
      <comments>http://www.toadworld.com/Community/Blogs/tabid/67/EntryID/127/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.toadworld.com/Default.aspx?tabid=67&amp;EntryID=127</guid>
      <pubDate>Mon, 17 Sep 2007 18:28:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.toadworld.com/DesktopModules/Blog/Trackback.aspx?id=127</trackback:ping>
    </item>
  </channel>
</rss>