<?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>Oracle Error Codes Database &#187; All</title>
	<atom:link href="http://www.oracle-manual.com/oracle/category/oracle-news/feed" rel="self" type="application/rss+xml" />
	<link>http://www.oracle-manual.com</link>
	<description>Oracle error codes database: ORA, PLS</description>
	<lastBuildDate>Fri, 04 Nov 2011 23:16:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Oracle 10g Materialized View Enhancements, Part 2</title>
		<link>http://www.oracle-manual.com/oracle/oracle-10g-materialized-view-enhancements-part-2.html</link>
		<comments>http://www.oracle-manual.com/oracle/oracle-10g-materialized-view-enhancements-part-2.html#comments</comments>
		<pubDate>Fri, 01 Oct 2010 17:35:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[Oracle 10g]]></category>

		<guid isPermaLink="false">http://www.oracle-manual.com/?p=9516</guid>
		<description><![CDATA[By Jim Czuprynski


 Synopsis. Oracle 10g Release 2 (10gR2) has improved the effectiveness and speed of materialized view refreshes, something especially important as data warehouses and data mart environments become increasingly complex and mission-critical requirements for all enterprises. This article – the last in this series – demonstrates how to utilize the new Partition Change [...]]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;">By Jim Czuprynski</span></p>
<p><span style="text-decoration: underline;"><br />
</span></p>
<p><strong> Synopsis</strong>. Oracle 10g Release 2 (10gR2) has improved the effectiveness and speed of materialized view refreshes, something especially important as data warehouses and data mart environments become increasingly complex and mission-critical requirements for all enterprises. This article – the last in this series – demonstrates how to utilize the new Partition Change Tracking (PCT) features to speed the refresh of a partitioned materialized view and how Partition Maintenance Operations (PMOPs) help improve performance for partitioned materialized views.</p>
<p>In the prior article in this two-part series, I discussed several enhancements for materialized views in Oracle 10gR2, most notably:</p>
<p><strong>Join-only materialized views</strong> (MJVs)<br />
Improved methods for investigating why a materialized view hasn&#8217;t been “rewritten” as expected using <strong>EXPLAIN_REWRITE</strong> and <strong>TUNE_MVIEW</strong> procedures of <strong>DBMS_MVIEW</strong><br />
Using trusted constraints to enhance the performance of query rewrite operations<br />
As impressive as those enhancements are, I&#8217;ll next discuss some equally impressive and powerful features in this final article in the series. I&#8217;ll start off with showing how you can use Partition Change Tracking (PCT) to enable a materialized view to refresh its underlying data even more quickly by allowing it to refresh only those rows that are affected by changes in individual partitions of the underlying tables.</p>
<p><strong>Partition Change Tracking</strong></p>
<p>Prior to<strong> Oracle 10g</strong>, a table&#8217;s partition key(s) and special partition markers (aka <strong>PMARKERs</strong>) had to be identified so that a materialized view could take advantage of partitioned change tracking for quicker refreshes. Oracle 10g enhances <strong>PCT </strong>by allowing the ROWID pseudocolumn to take the place of the partition key or PMARKER columns.</p>
<p>This is especially good news for<strong> materialized view join</strong>s (<strong>MJVs</strong>), the new Oracle 10g MV concept introduced and explained in the previous article in this series. Since in many cases the ROWID column is already being used within the MVJ&#8217;s defining query, there is no need to modify the MVJ&#8217;s definition to take advantage of this feature. If the underlying partitioned tables for a materialized view can take advantage of PCT, this metadata is also recorded in Oracle 10g&#8217;s data dictionary so when a refresh for the underlying tables is requested, the refresh can easily take advantage of PCT.</p>
<p><strong>Partition Change Tracking and List Partitioning</strong></p>
<p>PCT works particularly well with list partitioned tables.<a href="http://www.databasejournal.com/img/2006/09/Materialized_View_Enhancements_Listing2.html#List0201" target="_blank"> Listing 2.1</a> shows the code that I used to create a new table, SH.LIST_SALES_TIME, that&#8217;s list-partitioned on its MONTH column into four quarterly partitions. I then created a new materialized view, SH.MV_PCT_SALES, that takes advantage of the new partitioned table.</p>
<p>What happens when data is manipulated directly in <strong>SH.LIST_SALES_TIME</strong> is illustrated in <a href="http://www.databasejournal.com/img/2006/09/Materialized_View_Enhancements_Listing2.html#List0202" target="_blank">Listing 2.2</a>. Because I created a materialized view log on that table, PCT fast refresh is enabled on the <strong>SH.MV_PCT_SALES</strong> materialized view. When I update data in that underlying table, Oracle 10g automatically detects this and immediately triggers the refresh of the materialized view, but it only needs to apply the changes to the data in the affected quarter&#8217;s partition. This means that a COMPLETE refresh of that materialized view is avoided.</p>
<p><a href="http://www.databasejournal.com/img/2006/09/Materialized_View_Enhancements_Listing2.html#List0203">Listing 2.3</a> also includes three queries and the resulting output after I&#8217;ve applied the updates to the <strong>SH.LIST_SALES_TIME</strong> table.</p>
<p><strong>Join Dependency and PCT Refreshes</strong></p>
<p>Of course, there are a few restrictions on using PCT. For starters, PCT-based refresh is available for a materialized view only if it contains a join-dependent expression on columns in at least one of its detail tables. A join-dependent expression is an expression consisting of columns from tables directly or indirectly joined through equijoins to the partitioned detail table on the partitioning key. The set of tables in the path to detail table are termed join-dependent tables. Join-dependent tables therefore allow users to create materialized views containing aggregates on some level higher than the partitioning key of the detail table.</p>
<p><strong>There are some other restrictions as well:</strong></p>
<ul>
<li>The COMPATIBILITY initialization parameter must be set to at least 9.0.0.0.0.</li>
<li>The materialized view must reference at least one partitioned table.</li>
<li>The underlying partitioned tables must be either list, range, or composite partitioned.</li>
<li>Only a single column can define the partition key of the “top level” of the partitioned table.</li>
<li>Either (a) the partition key column, (b) the partition marker, (c) the ROWID, or (d) the join dependent expression has to be present in the GROUP BY clause if one is used to define the materialized view.</li>
<li>Either (a) a ROWID, (b) the detail table&#8217;s join dependent expression, (c) partition key column, (d) the partition marker must be included in the materialized view.</li>
<li>Oracle doesn&#8217;t support PCT for any materialized view that refers to a view, a remote table, or contains outer joins.</li>
<li>Data can only be changed on the underlying partitioned table. If you want to insure that PCT refresh will occur for a table that has a join dependent expression in the materialized view, data modifications can&#8217;t occur in any of the join dependent tables.</li>
<li>If a materialized view contains a UNION ALL statement, then note that PCT-based refresh is not possible.</li>
<li>Finally, if either the MODEL clause or an analytic window function is used within the materialized view, then either (a) the partition key column, (b) the partition marker, (c), the ROWID, or (d) the join dependent expression has to be listed in each set of PARTITION BY statements.</li>
</ul>
<p><strong> Forcing a PCT-Based Refresh with DBMS_MVIEW.REFRESH()</strong></p>
<p>To specifically force the refresh of a PCT-enabled materialized view, Oracle 10g adds a new value, (P)artitioned, for the METHOD argument of the DBMS_MVIEW.REFRESH() procedure. Note that if I call this procedure and specify the question mark (?) value for this argument, Oracle 10g will attempt to figure out if a PCT-based refresh is possible and if so, it will automatically request the <strong>FAST_PCT </strong>refresh method rather than a COMPLETE refresh.</p>
<p>In <a href="http://www.databasejournal.com/img/2006/09/Materialized_View_Enhancements_Listing2.html#List0202" target="_blank">Listing 2.2</a>, I&#8217;ve demonstrated how to use this feature to refresh the <strong>SH.MV_PCT_SALES PCT</strong> refresh enabled materialized view that we&#8217;ve been using in our current set of examples.</p>
<p><strong>Partition Maintenance Operations (PMOPs)</strong></p>
<p>Since a materialized view is really nothing more than a view with an underlying table, there&#8217;s nothing that prohibits that underlying table from being partitioned. Oracle 10g takes advantage of this by allowing maintenance to be performed against the partitioned data subsets of a partitioned materialized view whenever that materialized view&#8217;s source tables are modified via the ALTER MATERIALIZED VIEW command.</p>
<p>For example, if I drop an entire partition from the underlying table with the ALTER TABLE<br />
DROP PARTITION; command, Oracle10g will immediately drop that corresponding partition from the materialized view during its next refresh. Likewise, if I issue an ALTER TABLE<br />
<strong> TRUNCATE PARTITION</strong>; operation to completely remove a partition in an underlying partitioned table, then the corresponding data in the materialized view will be removed completely as well.</p>
<p>There are some restrictions on when PCT will be triggered in concert with a <strong>TRUNCATE PARTITION</strong> operation, however:</p>
<p>Both the underlying partitioned table and its materialized view must be range-partitioned.<br />
A single partition key column must define the partitioned table&#8217;s partitioning scheme.<br />
The partitions in both the materialized view and its underlying partitioned table must relate one-to-one.<br />
Because <strong>TRUNCATE </strong>is a <strong>DDL </strong>command, the partition will be removed immediately from the source table, and the data will be removed immediately from the materialized view; its removal cannot be rolled back.<br />
<a href="http://www.databasejournal.com/img/2006/09/Materialized_View_Enhancements_Listing2.html#List0204"> Listing 2.4</a> shows how this feature works. I&#8217;ve created a second materialized view,<strong> SH.MV_PCT_PART_SALES</strong>, that&#8217;s partitioned on month number identically to the <strong>SH.LIST_SALES_TIME</strong> table. I&#8217;ve then shown what happens when I drop or truncate a partition of the <strong>SH.LIST_SALES_TIME</strong> table. Note that the data is immediately refreshed in both the <strong>SH.MV_PCT_PART_SALES</strong> and<strong> SH.MV_PCT_SALES</strong> materialized views to reflect the change in values in the source table.</p>
<p><span style="text-decoration: underline;">Conclusion</span></p>
<p>The addition of Partition Change Tracking (PCT) features in Oracle 10g significantly expands the ability to keep materialized views synchronized with the sources of their data, and Partition Maintenance Operations (PMOPs) offer even faster refreshes of materialized views when a materialized view is partitioned in the same fashion as its source table.</p>
<p><span style="text-decoration: underline;">References and Additional Reading</span></p>
<p>Even though I&#8217;ve hopefully provided enough technical information in this article to encourage you to explore with these features, I also strongly suggest that you first review the corresponding detailed Oracle documentation before proceeding with any experiments. Actual implementation of these features should commence only after a crystal-clear understanding exists. Please note that I&#8217;ve drawn upon the following Oracle 10gR2 documentation for the deeper technical details of this article:</p>
<p><strong>B14200-02 Oracle Database SQL Reference</strong></p>
<p><strong>B14214-01 Oracle Database New Features Guide</strong></p>
<p><strong>B14223-02 Oracle Database Data Warehousing Guide</strong></p>
<p><strong>B14231-01 Oracle Database Administrator&#8217;s Guide</strong></p>
<p><strong>B14237-02 Oracle Database Reference</strong></p>
<p><strong>B14258-01 PL/SQL Packages and Types Reference</strong></p>
<p>Source: <a href="http://www.databasejournal.com/features/oracle/article.php/3633971/Oracle-10g-Materialized-View-Enhancements-Part-2.htm">http://www.databasejournal.com/features/oracle/article.php/3633971/Oracle-10g-Materialized-View-Enhancements-Part-2.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oracle-manual.com/oracle/oracle-10g-materialized-view-enhancements-part-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Database 10g Express Editon</title>
		<link>http://www.oracle-manual.com/oracle/oracle-database-10g-express-edition.html</link>
		<comments>http://www.oracle-manual.com/oracle/oracle-database-10g-express-edition.html#comments</comments>
		<pubDate>Sun, 07 Feb 2010 12:12:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[Oracle 10g]]></category>
		<category><![CDATA[Databases descriptions]]></category>

		<guid isPermaLink="false">http://www.oracle-manual.com/?p=482</guid>
		<description><![CDATA[Oracle 11g solution for ]]></description>
			<content:encoded><![CDATA[<p><strong>Oracle Database 10g Express Editon </strong>description  from<a href="http://www.oracle.com/technology/products/database/xe/index.html" target="_blank"> oracle.com </a>portal:</p>
<blockquote><p><a rel="attachment wp-att-483" href="http://www.oracle-manual.com/oracle/oracle-database-10g-express-edition.html/oraclesw-300x300-4"><img class="alignnone size-full wp-image-483" title="Oracle Database 10g Express Edition" src="http://www.oracle-manual.com/wp-content/uploads/2010/02/oraclesw-300x3003.jpg" alt="Oracle Database 10g Express Edition" width="300" height="300" /></a>Free to develop, deploy, and distribute</p>
<p>Oracle Database 10<em>g</em> Express Edition (Oracle Database XE) is an entry-level, small-footprint  database based on the Oracle Database 10<em>g</em> Release 2 code base  that&#8217;s free to develop, deploy, and distribute; fast to download; and  simple to administer. Oracle Database XE is a great starter database  for:</p>
<ul type="square">
<li><strong>Developers</strong> working on  PHP, Java, .NET, XML, and Open Source applications</li>
<li><strong>DBAs</strong> who need a free,  starter database for training and deployment</li>
<li><strong>Independent Software Vendors  (ISVs) and hardware vendors</strong> who want a starter database to  distribute free of charge</li>
<li><strong>Educational institutions and  students</strong> who need a free database for their curriculum</li>
</ul>
<p>With Oracle Database XE,  you can now develop and deploy applications with a powerful, proven,  industry-leading infrastructure, and then upgrade when necessary without  costly and complex migrations. <a href="http://www.oracle.com/technology/products/database/xe/users.html">Read what users say about Oracle Database XE.</a></p>
<p>Oracle Database XE can be  installed on any size host machine with any number of CPUs (one database  per machine), but XE will store up to 4GB of user data, use up to 1GB  of memory, and use one CPU on the host machine.</p>
<p><img src="http://www.oracleimg.com/admin/images/otn/r_arrow.gif" alt="" width="10" height="10" /> <a href="http://www.oracle.com/technology/software/products/database/xe/index.html">Download Oracle Database 10<em>g</em> Express Edition</a></p>
<p>After installation, be sure to  register for an exclusive <a href="http://www.oracle.com/technology/products/database/xe/forum.html">Oracle Database 10<em>g</em> Express Edition Discussion  Forum</a> hosted by Oracle expert Tom Kyte—click on the &#8220;Registration&#8221;  link on XE&#8217;s Database homepage.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.oracle-manual.com/oracle/oracle-database-10g-express-edition.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Database 11g Standard Editon One</title>
		<link>http://www.oracle-manual.com/oracle/oracle-database-11g-standard-edition-one.html</link>
		<comments>http://www.oracle-manual.com/oracle/oracle-database-11g-standard-edition-one.html#comments</comments>
		<pubDate>Sun, 07 Feb 2010 12:08:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[Databases descriptions]]></category>
		<category><![CDATA[Oracle 11g Release 2]]></category>

		<guid isPermaLink="false">http://www.oracle-manual.com/?p=477</guid>
		<description><![CDATA[Oracle 11g solution for $180 per user (5 user minimum) Oracle Database 11g Standard Edition One is an affordable, full-featured database for servers with up to two sockets.]]></description>
			<content:encoded><![CDATA[<p><strong>Oracle Database 11g Standard Editon One</strong> description from <a href="http://www.oracle.com/database/std_one.html" target="_blank">oracle.com</a> portal:</p>
<blockquote><p><a href="http://www.oracle-manual.com/wp-content/uploads/2010/02/oraclesw-300x3002.jpg"><img class="alignnone size-full wp-image-478" title="Oracle Database 11g Standard Edition One" src="http://www.oracle-manual.com/wp-content/uploads/2010/02/oraclesw-300x3002.jpg" alt="Oracle Database 11g Standard Edition One" width="300" height="300" /></a></p>
<p><strong>$180 per user (5 user minimum)</strong><br />
Oracle Database 11<em>g</em> Standard Edition One is an  affordable, full-featured database for servers with up to two sockets.  It provides enterprise-class performance and security, is simple to  manage, and can easily scale as demand increases. It is also upwardly  compatible with other database editions and can easily grow with you,  protecting your initial investment.</p>
<p>In <a href="http://www.oracle.com/us/corporate/press/018676">a recent TPC-C  benchmark test</a>, Oracle Database Standard Edition One on HP Linux  delivered a world record price/performace of $.54USD/tpmC for TPC-C  Benchmarks. Now you can get the fastest performance at the lowest cost.</p>
<p>Benefits:</p>
<ul>
<li>Get started with low entry cost of $180 per user  (minimum 5 users)</li>
<li>Support all business applications with  enterprise-class performance, security, availability and scalability</li>
<li>Run on <a href="http://www.oracle.com/us/technologies/microsoft/index.htm">Windows</a>,  <a href="http://www.oracle.com/us/technologies/linux/index.htm">Linux</a>,  and Unix operating systems and easily manage with automated,  self-managing capabilities</li>
</ul>
<li>Streamline application development with Oracle  Application Express, Oracle  SQL Developer, and Oracle  Data Access Components for Windows</li>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.oracle-manual.com/oracle/oracle-database-11g-standard-edition-one.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Database 11g Standard Edition is an affordable, full-featured database for servers with up to four sockets.</title>
		<link>http://www.oracle-manual.com/oracle/oracle-database-11g-standard-edition.html</link>
		<comments>http://www.oracle-manual.com/oracle/oracle-database-11g-standard-edition.html#comments</comments>
		<pubDate>Sun, 07 Feb 2010 12:05:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[Databases descriptions]]></category>
		<category><![CDATA[Oracle 11g Release 2]]></category>

		<guid isPermaLink="false">http://www.oracle-manual.com/?p=473</guid>
		<description><![CDATA[Oracle 11g solution for Oracle Database 11g Standard Edition is an affordable, full-featured database for servers with up to four sockets.]]></description>
			<content:encoded><![CDATA[<p><strong>Oracle Database 11g Standard Editon</strong> description from <a href="http://www.oracle.com/database/standard_edition.html" target="_blank">oracle.com</a> portal:</p>
<blockquote><p><img class="alignnone size-full wp-image-474" title="Oracle Database Standard Edition" src="http://www.oracle-manual.com/wp-content/uploads/2010/02/oraclesw-300x3001.jpg" alt="" width="300" height="300" /><strong>Affordable, Full-Featured Database</strong><br />
Oracle Database 11<em>g</em> Standard Edition is an  affordable, full-featured database for servers with up to four 			  sockets. It includes Oracle Real Application Clusters for higher  availability, provides enterprise-class performance 			  and security, is simple to manage, and can easily scale as demand  increases. It is also upwardly compatible with 			  Enterprise edition and can easily grow with you, protecting your  initial investment.</p>
<ul>
<li>At $350 per user minimum 5 users), save money by  buying only what you need today, and scale out as your demand changes  with Real  Application Clusters</li>
<li>Improve Quality of Service with enterprise-class  performance, security and availability</li>
<li>Run on Windows,  Linux,  and Unix operating systems and easily manage with automated,  self-managing capabilities</li>
<li>Streamline application development with Oracle Application  Express, Oracle SQL Developer and Oracle  Data Access Components for Windows</li>
</ul>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.oracle-manual.com/oracle/oracle-database-11g-standard-edition.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Database 11g Release 2</title>
		<link>http://www.oracle-manual.com/oracle/oracle-database-11g-enterprise-edition.html</link>
		<comments>http://www.oracle-manual.com/oracle/oracle-database-11g-enterprise-edition.html#comments</comments>
		<pubDate>Sun, 07 Feb 2010 11:59:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[Databases descriptions]]></category>
		<category><![CDATA[Oracle 11g Release 2]]></category>

		<guid isPermaLink="false">http://www.oracle-manual.com/?p=464</guid>
		<description><![CDATA[Oracle 11g solution for Oracle Database 11g Release 2 Enterprise Edition delivers industry leading performance, scalability, security and reliability on a choice of clustered or single-servers running Windows, Linux, and UNIX]]></description>
			<content:encoded><![CDATA[<p>Oracle Database 11g description from <a href="http://www.oracle.com/database/enterprise_edition.html" target="_blank">oracle.com</a> portal:</p>
<blockquote><p><a rel="attachment wp-att-467" href="http://www.oracle-manual.com/oracle/oracle-database-11g-enterprise-edition.html/oraclesw-300x300"><img class="alignnone size-full wp-image-467" title="Oracle database 11g" src="http://www.oracle-manual.com/wp-content/uploads/2010/02/oraclesw-300x300.jpg" alt="Oracle database 11g" width="300" height="300" /></a>Oracle Database 11<em>g</em> Release 2 Enterprise Edition delivers  industry leading performance, scalability, security and reliability                 on a choice of clustered or single-servers running Windows,  Linux,  and UNIX. It provides comprehensive features to easily manage the                 most demanding transaction processing, business  intelligence, and content management applications.</p>
<p>Oracle Database 11<em>g</em> Release 2 Enterprise  Edition comes with a wide range of  options to extend the world&#8217;s #1 database to help grow your business  and meet your users&#8217; performance, security and                 availability service level expectations.</p>
<p>﻿Benefits:</p>
<ul>
<li>Protects from server failure, site failure, human  error, and reduces planned downtime</li>
<li>Secures data and enables compliance with unique  row-level security, fine-grained auditing, transparent data encryption  and total recall of data</li>
<li>High-performance data warehousing, online analytic  processing, and data mining</li>
<li>Easily manages entire lifecycle of information for  the largest of databases</li>
</ul>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.oracle-manual.com/oracle/oracle-database-11g-enterprise-edition.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

