 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Enterprise IT Consultant Views on Technologies and Trends &#187; DB2</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/tag/db2/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends</link>
	<description>Everything from Mainframes to Cloud</description>
	<lastBuildDate>Fri, 10 May 2013 20:03:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>DB2 version 10 &#8211; Extended Indicator Variables allows insert and update of subset of columns</title>
		<link>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/db2-version-10-extended-indicator-variables-allows-insert-and-update-of-subset-of-columns/</link>
		<comments>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/db2-version-10-extended-indicator-variables-allows-insert-and-update-of-subset-of-columns/#comments</comments>
		<pubDate>Sat, 21 May 2011 08:46:21 +0000</pubDate>
		<dc:creator>Sasirekha R</dc:creator>
				<category><![CDATA[DB2]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[reuse]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/?p=318</guid>
		<description><![CDATA[DB2 version 10 enables insert and update of subset of data enhancing reusability of DB2 functions With the increase in the Web 2.0 applications, there are frequent situations where the application needs to insert or update data only for a subset of columns for a given table. And it becomes all the more difficult when [...]]]></description>
				<content:encoded><![CDATA[<p><strong><span style="text-decoration: underline">DB2 version 10 enables insert and update of subset of data enhancing reusability of DB2 functions</span></strong></p>
<p>With the increase in the Web 2.0 applications, there are frequent situations where the application needs to insert or update data only for a subset of columns for a given table. And it becomes all the more difficult when it is not known which columns are being inserted to or updated until application execution time. For example, the customer address change request could mean changing the entire address or just the apartment number or any combination of columns (street name, city, zip code, apartment number and others).</p>
<p>Prior to DB2 version 10, the options for handling different combination of insert and updates included:</p>
<ul>
<li>Using a dynamic SQL statement constructed at execution time for each request. Obviously this has overhead and impacts performance.</li>
<li>Coding SQL statements for all expected combinations of columns &#8211; and if we assume that every single combination is possible, the number of SQL statements to be coded grows exponentially. This indeed is a tedious process and has negative impact on application maintenance.</li>
<li>Have one SQL statement that included all the expected columns. While the customer request comes with data corresponding to only a subset of columns, it becomes the application&#8217;s responsibility to figure out the correct values for the other columns &#8211; say the old values in case of update, default values in case of insert and NULL values for nullable columns etc. Again, this makes application program complex &#8211; and testing difficult.</li>
</ul>
<p>DB2 10 for z/OS addresses this difficulty of supporting changes to only a subset of columns in a table by introducing the extended indicator variable support. Preparing separate INSERT or UPDATE statements for every combination of columns that are being inserted is no longer required.<span id="more-318"></span></p>
<p>Using these extended indicator variables we can indicate to DB2 that the value for the associated host variable is not supplied and also specify how DB2 should handle the missing value. By specifying the extended indicator variable value of -5 (implying default), we can indicate that the target column of the host variable is to be set to its defined DEFAULT value. By specifying the extended indicator variable value of -7 (implying unassigned) we can indicate that the target value of the host variable is UNASSIGNED and the target column is to be treated as if it is not included in the statement.</p>
<p>By enabling the extended indicator variables, you do not need to resubmit the current value for a column, or know the default value for a column. Extended indicator variables can be enabled at a package level, by using the EXTENDEDINDICATOR option on the BIND PACKAGE (or REBIND PACKAGE) command. Extended indicator variables can be enabled on a statement level for dynamic SQL by using the WITH EXTENDED INDICATORS attribute on the PREPARE statement.</p>
<p>When the extended indicator variable is used as an input variable:</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="162" valign="top">value of -5 (default)</td>
<td width="450" valign="top">Specifies that the default value is to be used (extended indicator variable enabled)Specifies a null value if the extended indicator variable is not enabled</td>
</tr>
<tr>
<td width="162" valign="top">value of -7</td>
<td width="450" valign="top">Specifies that UNASSIGNED value is to be used (extended indicator variable enabled).Specifies a null value if the extended indicator variable is not enabled</td>
</tr>
<tr>
<td width="162" valign="top">value of -1, -2, -3, -4, or -6</td>
<td width="450" valign="top">Specifies a null value</td>
</tr>
<tr>
<td width="162" valign="top">value of 0 or a positive integer</td>
<td width="450" valign="top">Specifies that the first host identifier provides the value of this host variable reference.</td>
</tr>
</tbody>
</table>
<p>When the extended indicator variable is used as an output variable, the values have the same meanings as for an indicator variable (negative value indicates NULL and 0 or positive indicates specified value). As this new variable is meant is intended for allowing applications to skip sending data for any of the host variables specified on the statement, in case of output, DB2 does not set indicator variables to any of the special values.</p>
<p>The following restrictions apply in specifying the special extended indicator variable values. It can be specified only for host variables that appear in:</p>
<ul>
<li>The set assignment list of an UPDATE operation in UPDATE or MERGE statements</li>
<li>The values list of an INSERT operation in INSERT or MERGE statements</li>
<li>The select list of an INSERT statement in the FROM clause of the SELECT statement</li>
<li>The source-table parameter of a MERGE statement</li>
</ul>
<p>For the INSERT statement, setting the extended indicator variable to -5 or -7 is the same, as the result is to insert a default value for any column that is missing an input value (that is, unassigned). With multi-row insert, the extended indicator variable values of default or unassigned can be used inside the indicator array.</p>
<p>For UPDATE or MERGE UPDATE, setting the extended indicator variable to -5 leads to the column being updated to the default value and setting the extended indicator variable to -7 leads to the update of the column not being applied.</p>
<p>It is important to understand the impact of these extended variables on UPDATE statement quite thoroughly, as it could result in behaviors other than intended by the developer. IBM provides the following example to get through the point.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top">memset(&amp;hv_indicators, 0, sizeof(hv_indicators));</td>
</tr>
<tr>
<td width="638" valign="top">strcpy(hv_name, &#8220;Michael&#8221;);</td>
</tr>
<tr>
<td width="638" valign="top">strcpy(hv_country, &#8220;Australia&#8221;);</td>
</tr>
<tr>
<td width="638" valign="top">hv_indicators.hvi_name = -7; /* skip update */</td>
</tr>
<tr>
<td width="638" valign="top">hv_indicators.hvi_country = -5; /* use DEFAULT */</td>
</tr>
<tr>
<td width="638" valign="top">hv_indicators.hvi_city = -7; /* skip update */</td>
</tr>
<tr>
<td width="638" valign="top">hv_indicators.hvi_zip = -7; /* skip update */</td>
</tr>
<tr>
<td width="638" valign="top"> </td>
</tr>
<tr>
<td width="638" valign="top">EXEC SQL</td>
</tr>
<tr>
<td width="638" valign="top">UPDATE TRYINDVAR SET</td>
</tr>
<tr>
<td width="638" valign="top">NAME = :hv_name:hvi_name</td>
</tr>
<tr>
<td width="638" valign="top">,COUNTRY = :hv_country:hvi_country</td>
</tr>
<tr>
<td width="638" valign="top">,CITY = :hv_city:hvi_city</td>
</tr>
<tr>
<td width="638" valign="top">,ZIP = :hv_zip:hvi_zip;</td>
</tr>
<tr>
<td width="638" valign="top">}</td>
</tr>
</tbody>
</table>
<p>While bind the DBRM to a package, it is required to the EXTENDEDINDICATOR(YES) option to enable the extended indicator variables.</p>
<p>After executing the above code, if we query the table the result is: (‘Josef&#8217;, ‘Earth&#8217;, ‘Unknown&#8217;, ‘00000&#8242;). As the value of -7 is specified in the extended indicator variable, the columns NAME, CITY and ZIP are not at all updated (i.e., the value Michael doesn&#8217;t have an impact at all). As the value of -5 is specified in the extended indicator variable, the COUNTRY column was set to the DEFAULT value (‘Earth&#8217;), rather than the given value (‘Australia&#8217;).</p>
<p>If the extended indicator variable for this package is disabled by rebinding with EXTENDEDINDICATOR(NO) option and tested, the results would be different. Re-running the UPDATE and querying will show that all the columns were set to the value of NULL. The reason being that the disabling of extended indicator variables results in these values being treated as the &#8220;indicator variable&#8221; and hence the negative value (-5 or -7) implies a NULL value.</p>
<p>As can be seen in the example, the simple enabling or disabling of Extended indicator variable and setting the values of -5 or -7, the application developer can control the actual columns that would be updated &#8211; irrespective of where the function is called from and what value it gets.</p>
<p>Thus these extended indicator variable enable applications to use a single SQL statement &#8211; for handling different combinations of INSERTS and UPDATES &#8211; without burdening the application with the need to fill the missing columns data explicitly with the current value or default value. Thus DB2 functions exploiting these extended indicator variables can be reused across different channels accessing them and form the core services in an SOA environment.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/db2-version-10-extended-indicator-variables-allows-insert-and-update-of-subset-of-columns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DB2 version 10 improvements aimed at making DB2 more appropriate in a SOA environment</title>
		<link>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/db2-version-10-improvements-aimed-at-making-db2-more-appropriate-in-a-soa-environment/</link>
		<comments>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/db2-version-10-improvements-aimed-at-making-db2-more-appropriate-in-a-soa-environment/#comments</comments>
		<pubDate>Fri, 20 May 2011 06:39:21 +0000</pubDate>
		<dc:creator>Sasirekha R</dc:creator>
				<category><![CDATA[Application]]></category>
		<category><![CDATA[DB2]]></category>
		<category><![CDATA[distributed data storage]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[SOA]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/db2-version-10-improvements-aimed-at-making-db2-more-appropriate-in-a-soa-environment/</guid>
		<description><![CDATA[DB2 version 10 &#8211; Improvements related to Application Integration Service Oriented Architecture (SOA) that facilitates code reuse, interoperability, service management and system integrity is becoming a norm in today&#8217;s IT development. In latest version of DB2 (version 10), IBM has introduced quite a Application Integration features in DB2 version 10 aimed at further simplifying and [...]]]></description>
				<content:encoded><![CDATA[<p><strong><span style="text-decoration: underline">DB2 version 10 &#8211; Improvements related to Application Integration</span></strong></p>
<p>Service Oriented Architecture (SOA) that facilitates code reuse, interoperability, service management and system integrity is becoming a norm in today&#8217;s IT development. In latest version of DB2 (version 10), IBM has introduced quite a Application Integration features in DB2 version 10 aimed at further simplifying and improving the usage of distributed function of DB2 through SOA.<span id="more-316"></span></p>
<p><strong><span style="text-decoration: underline">Single Load module across environments using DSNULI</span></strong></p>
<p>Prior to version 10, the DB2 applications must be link-edited with the appropriate Language Interface modules &#8211; DSNRLI for RRSAF and Stored Procedures, DSNALI for Call Attachment Facility (CAF), DSNELI for TSO Attachment Facility, DSNCLI for CICS Attachment and DFSLI00 for IMS Attachment. Even if the same program logic is to run in different environments, multiple link-editing has to be done and this obviously resulted in usability issues.</p>
<p>DB2 version 10 provides the <em>new Universal Language Interface module (DSNULI)</em> to address this issue. Now you can produce a single module (link-edited with DSNULI) that is executable in any of the following runtime environments: CAF, CICS, TSO and RRS (Resource Recovery Services) and MVS Batch. DSNULI does not support dynamic loading or IMS applications.</p>
<p>DSNULI has nine entry points &#8211; associated with different attachment scenarios.  It dynamically loads and branches to the appropriate language interface module based on the entry point used by the application (say when a attachment facility entry point was used explicitly), or based on the current environment. Naturally, this kind of execution time detection hinders performance, so there is a trade-off between ease of application deployment and the application speed.</p>
<p><strong><span style="text-decoration: underline">Enhanced performance and diagnostic monitoring support</span></strong></p>
<p>DB2 10 for z/OS enhances performance monitoring support and monitoring support for problem determination- especially so for distributed workloads. Using Instrumentation Facility Interface (IFI), it captures and externalizes monitoring information for consumption by tooling.</p>
<p>It introduces a unique statement execution identifier (STMTID), defined at the DB2 for z/OS server, returned to the DRDA application requester and captured in IFCID records for both static and dynamic SQL. To support problem determination, the statement type (dynamic or static) and new statement execution identifier (STMT_ID) are externalized in several existing messages (including those related to deadlock, timeout, and lock escalation). In these messages, the STMTID associated with thread information that can be used to correlate the statement execution on the server with the client application on whose behalf the server is executing the statement.</p>
<p>DB2 version 10 also includes new trace records that provide access to performance monitoring statistics in real time, and allow retrieval monitoring data without requiring disk access. Some existing trace records that deal with statement-level information are modified to capture the new statement ID and new statement-level performance metrics.</p>
<p><strong><span style="text-decoration: underline">Java query performance improvements</span></strong></p>
<p>With version 10, IBM Data Server Driver for JDBC and SQLJ type 2 connectivity to local DB2 for z/OS data servers uses more efficient methods for processing forward only, read-only queries:</p>
<ul>
<li>Limited block fetch protocol</li>
<li>True progressive streaming for retrieval of LOB and XML data</li>
<li>Query buffers that reside in 64-bit addressable storage for applications that run in a 64-bit JVM</li>
</ul>
<p><strong><span style="text-decoration: underline">Elimination of DDF private protocol</span></strong></p>
<p>With DB2 version 10 onwards, DDF private protocol is not supported. A REXX tool (DSNTP2DP) is provided to prepare a DB2 subsystem to convert from the private to DRDA protocol.</p>
<p><strong><span style="text-decoration: underline">DRDA support of Unicode encoding for system code pages</span></strong></p>
<p>DB2 version 10 includes DRDA support of Unicode encoding providing improved response time and less processor usage for remote CLI and JDBC applications as it removes the need for converting DRDA instance variables between EBCDIC and Unicode.</p>
<p><strong><span style="text-decoration: underline">Support for 64-bit ODBC driver</span></strong></p>
<p>In addition to the 31-bit ODBC driver, DB2 Version 10 provides a new 64-bit ODBC driver (XPLINK only) that allows 64-bit ODBC applications to take advantage of the expanded 16 million TB address space. The 64-bit ODBC driver runs in 64-bit addressing mode and reduces the virtual storage constraint, as it can access the user data above the 2 GB bar in the application address space.</p>
<p>One of the most important change is the introduction of Extended indicator variable that allows inserts and updates of different combinations of subset of columns &#8211; improving reusability. I shall elaborate on Extended Indicated variable in a later blog.</p>
<p>Clearly these enhancements are aimed at making DB2 - especially the DB2 in zOS &#8211; as the database of choice in an SOA environment. More such changes are expected to follow in the later versions &#8211; adapting DB2 to the needs of the today.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/db2-version-10-improvements-aimed-at-making-db2-more-appropriate-in-a-soa-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using DB2 Hash organized tables for improved performance</title>
		<link>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/using-db2-hash-organized-tables-for-improved-performance/</link>
		<comments>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/using-db2-hash-organized-tables-for-improved-performance/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 08:56:23 +0000</pubDate>
		<dc:creator>Sasirekha R</dc:creator>
				<category><![CDATA[DB2]]></category>
		<category><![CDATA[Hash]]></category>
		<category><![CDATA[Hash table]]></category>
		<category><![CDATA[IBM]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/?p=115</guid>
		<description><![CDATA[Using DB2 Hash organized tables for improved performance In DB2 version 10 for z/OS, IBM introduces a new access type called Hash Access and access method called Hash space. This new option of organizing tables using hash improves performance of queries that access individual rows using equal to predicate (say getting data using customer number or [...]]]></description>
				<content:encoded><![CDATA[<p><strong>Using DB2 Hash organized tables for improved performance</strong></p>
<p>In DB2 version 10 for z/OS, IBM introduces a new access type called Hash Access and access method called Hash space. This new option of organizing tables using hash improves performance of queries that access individual rows using equal to predicate (say getting data using customer number or product number).</p>
<p>DB2 uses an internal hash algorithm with the Hash space to reference the location of the data rows. Thus using hash provides the advantage of selecting a hash access path which (in most cases) means only one I/O to retrieve a row from the table in turn reducing the CPU usage and improved response time makes it a very compelling proposition.</p>
<p>Using Hash access also means no need for maintaining the data sequence or clustering the index (for that matter, index clustering is not allowed if the table is hash organized). This results in efficient insert processing and avoids data sharing contention in maintaining a clustering sequence or clustering index.<span id="more-115"></span></p>
<p>While creating a table, the hash access can be enabled by adding the organization-clause in the CREATE TABLE statement.</p>
<ul>
<li>o ORGANIZE BY HASH UNIQUE (column-names) HASH SPACE (hash-space-value)</li>
</ul>
<p>&#8220;Organize by Hash&#8221; specifies that a hash is to be used for organizing the data of the table.  The list of column names defines the hash key based on which the placement of a row is determined. Mentioning UNIQUE prevents the table from containing more than one row with the same value of the hash key (this applies even for the NULL value).</p>
<p>The amount of fixed hash space to be pre-allocated (default value is 64M) for the table can be specified. For tables partitioned by range, this space is for each partition. The value specified can be in KB, MB or even GB.</p>
<p>Hash organization is optimal when a table is of a stable or predictable size. When a table is organized by hash, DB2 automatically creates an overflow index. If the table exceeds the specified hash space, the extra rows are placed in the overflow index. The rows in the index are not hash access enabled and DB2 scans through the index to retrieve them.</p>
<p>An existing table can be altered to use hash access organization by specifying the &#8220;ADD ORGANIZE BY HASH&#8221; in the ALTER TABLE command. The table has to be reorganized and incompatible functions like index clustering would be disabled in the process. In case of existing tables by specifying AUTOESTSPACE(YES), we can let DB2 automatically estimate the best size for the hash space using the real-time statistics.</p>
<p>Using hash, obviously requires additional disk storage. Hash access can be monitored and the storage space used can be tuned for improved performance. The ACCESSTYPE column in the plan table has a value of &#8216;H&#8217;, &#8216;HN&#8217;, or &#8216;MH&#8217;, hash access is used to access the data. HASHACCESS (in SYSTABLESPACESTATS) indicates the number of times that hash access paths have been used to access the table.  Using HASHLASTUSED, we can find out if DB2 has used the hash access path recently.  </p>
<p>If HASHACCESS value is very low (even after several queries having accessed the table) or if DB2 has not used the hash access path recently &#8211; hash organization from the table can probably be removed thereby saving storage space.</p>
<p>The size of the hash space can be altered, if required, using the ALTER TABLE statement. Hash space must be increased:</p>
<ul>
<li>If the TOTALENTRIES (in SYSINDEXSPACESTATS) value is greater than 10% of TOTALROWS (in SYSTABLESPACESTATS).</li>
<li>If the DATASIZE (in SYSTABLESPACESTATS) is greater than HASHSPACE (in SYSTABLESPACE). The HASHSPACE must at least be 20% larger than DATASIZE.</li>
</ul>
<p>Hash organization is only available on Universal Table Spaces (UTS) that are both segmented and partitioned. Hash access cannot be used in the following cases:</p>
<p>o LOB and XML table spaces</p>
<p>o Tables defined with APPEND YES.</p>
<p>o Materialized Query tables</p>
<p>o Tables in basic row format (for hash, using reordered row format &#8211; RRF &#8211; is required)</p>
<p>Some of the restrictions in using hash organized tables include:</p>
<p>o Parallelism is not used for parallel groups when hash access is used</p>
<p>o Hash access is not used to access fact or dimension tables in a qualified star join</p>
<p>o For queries that use multi-row fetch, hash access is chosen only if the query contains an IN clause that returns multiple rows.</p>
<p>Hash table organization would be most useful where unique keys are accessed using equal predicates &#8211; customer id, product id, document id &#8211; and the order of the data is immaterial.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/using-db2-hash-organized-tables-for-improved-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DB2 version 10 provides row versioning and time travelling</title>
		<link>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/db2-version-10-provides-row-versioning-and-time-travelling/</link>
		<comments>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/db2-version-10-provides-row-versioning-and-time-travelling/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 12:28:29 +0000</pubDate>
		<dc:creator>Sasirekha R</dc:creator>
				<category><![CDATA[DB2]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[row versioning]]></category>
		<category><![CDATA[temporal]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[zOS]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/?p=102</guid>
		<description><![CDATA[DB2 version 10 provides row versioning and time travelling DB2 version 10 for z/OS, recently released, provides features for row versioning and time travel querying. With audit and compliance requirements demanding that the multiple versions of the data pertaining to a long period is stored and the changes made track able, we can almost say [...]]]></description>
				<content:encoded><![CDATA[<p><strong><span style="color: #800000">DB2 version 10 provides row versioning and time travelling</span></strong></p>
<p>DB2 version 10 for z/OS, recently released, provides features for row versioning and time travel querying. With audit and compliance requirements demanding that the multiple versions of the data pertaining to a long period is stored and the changes made track able, we can almost say that it was high time DB2 came up with these features.</p>
<p>What we used to achieve using triggers, stored procedures and complex querying is now achievable using simple SQLs. I believe that it is not overstated when one of the insurance customers &#8211; who was involved in the Beta version &#8211; has said that over 80% of the applications requiring temporal features can exploit this and can save time and also make applications easier for business users to understand.<span id="more-102"></span></p>
<p>DB2 is providing support for both system time period as well as business time (or application time) periods. System time simply is based on the time when the transaction changes are made in the system, where application time is more logically tied to the application. When the application requires temporal support based on both, then IBM lets the usage of bitemporal tables.</p>
<p>The following points are worth noting as the system managed temporal features can be exploited without impacting the existing applications:</p>
<p>1. The historic data (or versions) is maintained in a separate history table. This also means less impact on performance of applications when they operate in normal mode (accessing only current data)</p>
<p>2. The temporal columns (begin time, end time, transaction time) etc. can be automatically generated and marked as hidden. So the existing applications can work as is &#8211; absolutely no changes required even in case of SELECT * or INSERT.</p>
<p>3. The temporal table and the history table can be associated and disassociated easily (just by using the ALTER TABLE command).</p>
<p>4. The historical data is accessed ONLY if the SELECT statement includes the period specifications.</p>
<p>The three key types of period specifications supported are:</p>
<ul>
<li>AS OF certain time</li>
<li>FROM time1 TO time2</li>
<li>BETWEEN time1 AND time2</li>
</ul>
<p>DB2 handles these versioning and time travel querying, automatically and transparently &#8211; especially so in case of system-managed temporal tables. Business Time based is a bit more sophisticated, as the users have to handle the setting of timestamps and past, present and future effective dates and their associated business data are all maintained in a single table. But then it gives better control to the users and enables the applications to effectively manage and track transactions.</p>
<p>Applications that handle Insurance policies, credit cards, loans etc. are the ones that can directly start using these features. In addition to compliance, business analytics is an area which can make best use of these temporal features. More enhancements and performance improvements on the temporal features can be expected in the next releases.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/db2-version-10-provides-row-versioning-and-time-travelling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DB2 in Cloud is worth exploring</title>
		<link>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/db2-in-cloud-is-worth-exploring/</link>
		<comments>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/db2-in-cloud-is-worth-exploring/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 08:51:20 +0000</pubDate>
		<dc:creator>Sasirekha R</dc:creator>
				<category><![CDATA[Agility]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Cloud computing]]></category>
		<category><![CDATA[DB2]]></category>
		<category><![CDATA[DB2 in cloud]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[reduce costs]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtual Appliance]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/?p=33</guid>
		<description><![CDATA[Explore DB2 in Cloud IBM has been driving to improve DB2 utilization in the cloud and a series of announcements including the DB2 virtual appliance shows a trend where we can expect more. To quote IBM, its DB2 view of the Cloud Computing is &#8220;what technologies and business models can we bring to market to [...]]]></description>
				<content:encoded><![CDATA[<p><strong><span style="color: #800000">Explore DB2 in Cloud</span></strong></p>
<p>IBM has been driving to improve DB2 utilization in the cloud and a series of announcements including the DB2 virtual appliance shows a trend where we can expect more. To quote IBM, its DB2 view of the Cloud Computing is &#8220;what technologies and business models can we bring to market to help our customers realize the promise of the Cloud Computing&#8221;. The promise of cloud computing is its potential to reduce costs and improve agility.</p>
<p>IBM&#8217;s target users for DB2 on cloud includes everyone &#8211; Developers, Startups, SMB, Enterprise, Service Providers, SaaS Vendors. Availability of no-charge DB2 options in cloud makes it worthwhile to start exploring DB2 in cloud.<span id="more-33"></span></p>
<p>IBM&#8217;s DB2 Strategy around cloud computing falls into four key points:</p>
<ul>
<li>Deliver key technologies to support its customers private cloud initiatives</li>
<li>Partner with key public providers to fully integrate DB2 into the ecosystem</li>
<li>Provide robust DBMS for SaaS vendors</li>
<li>Offer terms and conditions and pricing to make DB2 the best DBMS for the Cloud.</li>
</ul>
<p>Technically its threaded-engine Architecture that minimizes memory requirements and enables efficient use of multi-core processors used in virtualized systems, Autonomic features like Self Tuning Memory Manager that reduce administrative costs, Support for various development platforms like Java, .Net, PHP, Ruby on Rails etc. makes DB2 an excellent choice for cloud environments.</p>
<p>In cloud context being technically good is only one part of the solution. Cloud computing is expected to reduce costs, improve flexibility and enhance agility and unless these benefits are provided for success would remain elusive. IBM seems to be accepting this reality and showing its willingness to adapt and coming up with various licensing and pricing strategies.</p>
<p>DB2 support for Private cloud is centered on availability of optimized DB2 in Virtualized environments including DB2 virtual appliances, standardizing and enhancing DB2 server provisioning and automation features. The sub-capacity pricing (now available on all DB2 Editions) where the charges are based on the system usage and not the full-capacity of the hardware coupled with the option of licensing on a per-day basis provides the basis for cost-effective virtualization.</p>
<p>DB2 public cloud presence involves mainly partnership with leaders in the cloud space and includes:</p>
<ul>
<li>Amazon &#8211; public cloud infrastructure</li>
<li>RightScale &#8211; Platform for cloud management</li>
<li>Morph labs &#8211; Web application Hosting Infrastructure</li>
<li>Corent &#8211; Rapid SaaS development</li>
<li>Canonical &#8211; DB2 Virtual appliance running on Ubuntu cloud computing platform</li>
</ul>
<p>Additionally, DB2 Enterprise Developer Edition is available in IBM Smart Business Development and Test Cloud.</p>
<p>DB2 in Cloud is available under a variety of pricing option. The free edition, DB2 Express-C is available at no cost but no IBM support. IBM points out that there is no limit on the database size or number of users making it an ideal choice for SME as well as developers. DB2 Express-C is easy-to-setup, easy-to-manage, and includes self-managing capability and also comes with the pureXML technology suited for Web 2.0 applications. For more scalable DB2 required to run large business database loads, customers would have to pay DB2 licenses.</p>
<p>Customers who already have a DB2 license can use it in the cloud with no additional cost and IBM would continue to support it. In between this free and perpetual license, various pricing options like pay-as-you-go, hourly usage fee, purchase optional DB2 support etc. are available.</p>
<p>IBM wants to position DB2 as the DBMS of choice for the SaaS vendors who aim at exploiting Cloud computing trend. The advanced autonomic features, technologies like Deep compression and pureXML coupled with attractive pricing is what IBM is betting on to achieve this.</p>
<p>DB2 in cloud &#8211; or for that matter any other Database &#8211; is not yet ready to handle mission-critical or I/O intensive applications. But there is a whole suite of areas that could right away start exploiting cloud &#8211; Prototyping, development and testing, periodically run applications (end-of-month processing or day end batch jobs), handling variable workloads without dedicating resources, database backups, databases for disaster recovery, Web 2.0 Applications.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/enterprise-IT-tech-trends/db2-in-cloud-is-worth-exploring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
