<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Cheng's Oracle notes</title>
	<atom:link href="http://chengoracle.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://chengoracle.wordpress.com</link>
	<description>Oracle 10g DBA notes</description>
	<lastBuildDate>Thu, 03 Jul 2008 21:38:55 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='chengoracle.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/b4750522e94b3d10d82ea61f1f0e88eb?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Cheng's Oracle notes</title>
		<link>http://chengoracle.wordpress.com</link>
	</image>
			<item>
		<title>Oracle&#8217;s equivalent for MySQL SHOW CREATE TABLE</title>
		<link>http://chengoracle.wordpress.com/2008/07/03/oracles-equivalent-for-mysql-show-create-table/</link>
		<comments>http://chengoracle.wordpress.com/2008/07/03/oracles-equivalent-for-mysql-show-create-table/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 21:38:55 +0000</pubDate>
		<dc:creator>chenglee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[DDL]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://chengoracle.wordpress.com/?p=125</guid>
		<description><![CDATA[SQL&#62; set pages 0
SQL&#62; set long 999999
SQL&#62; select dbms_metadata.get_ddl('TABLE', 'EMPLOYEES', 'EMP') from dual;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=125&subd=chengoracle&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><code>SQL&gt; set pages 0<br />
SQL&gt; set long 999999<br />
SQL&gt; select dbms_metadata.get_ddl('TABLE', 'EMPLOYEES', 'EMP') from dual;</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chengoracle.wordpress.com/125/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chengoracle.wordpress.com/125/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chengoracle.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chengoracle.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chengoracle.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chengoracle.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chengoracle.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chengoracle.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chengoracle.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chengoracle.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chengoracle.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chengoracle.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=125&subd=chengoracle&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chengoracle.wordpress.com/2008/07/03/oracles-equivalent-for-mysql-show-create-table/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a98deb99bcab965bf587b91659db57d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chenglee</media:title>
		</media:content>
	</item>
		<item>
		<title>Administration Workshop II 12-34. Migrating your database to ASM Storage</title>
		<link>http://chengoracle.wordpress.com/2008/06/08/administration-workshop-ii-12-34-migrating-your-database-to-asm-storage/</link>
		<comments>http://chengoracle.wordpress.com/2008/06/08/administration-workshop-ii-12-34-migrating-your-database-to-asm-storage/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 23:04:59 +0000</pubDate>
		<dc:creator>chenglee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[PENDING]]></category>

		<guid isPermaLink="false">http://chengoracle.wordpress.com/?p=123</guid>
		<description><![CDATA[
Obtain the file names of the current control files and online redo logs by using V$CONTROLFILE and V$LOGFILE.
Shut down the database consistently. Modify the server parameter file of your database as follows:

Set the necessary OMF destination parameters to the desired ASM disk group.
Remove the CONTROL_FILE parameter.


Run the following RMAN script:
STARTUP NOMOUNT;
# replace '/u1/c1.ctl' for the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=123&subd=chengoracle&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><ol>
<li>Obtain the file names of the current control files and online redo logs by using <code>V$CONTROLFILE</code> and <code>V$LOGFILE</code>.</li>
<li>Shut down the database consistently. Modify the server parameter file of your database as follows:
<ul>
<li>Set the necessary OMF destination parameters to the desired ASM disk group.</li>
<li>Remove the <code>CONTROL_FILE</code> parameter.</li>
</ul>
</li>
<li>Run the following RMAN script:
<pre>STARTUP NOMOUNT;
# replace '/u1/c1.ctl' for the location of the control file
RESTORE CONTROLFILE FROM '/u1/c1.ctl';
ALTER DATABASE MOUNT;
# replace the disk group '+dgroup1' for your disk group name
BACKUP AS COPY DATABASE FORMAT '+dgroup1';
SWITCH DATABASE TO COPY;
# replace '/u1/log1' for your online redo log name and '+dgroup1' for your disk group name
SQL "ALTER DATABASE RENAME '/u1/log1' TO '+dgroup1' ";
# Repeat RENAME command for all online redo log members
...
ALTER DATABASE OPEN RESETLOGS;
SQL "ALTER DATABASE TEMPFILE '/u1/temp1' DROP";</pre>
</li>
<li>Delete the old database files.</li>
</ol>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chengoracle.wordpress.com/123/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chengoracle.wordpress.com/123/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chengoracle.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chengoracle.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chengoracle.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chengoracle.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chengoracle.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chengoracle.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chengoracle.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chengoracle.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chengoracle.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chengoracle.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=123&subd=chengoracle&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chengoracle.wordpress.com/2008/06/08/administration-workshop-ii-12-34-migrating-your-database-to-asm-storage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a98deb99bcab965bf587b91659db57d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chenglee</media:title>
		</media:content>
	</item>
		<item>
		<title>Administration Workshop II 12-34. Obtaining file names of the current control files and online redo logs</title>
		<link>http://chengoracle.wordpress.com/2008/06/08/administration-workshop-ii-12-34-obtaining-file-names-of-the-current-control-files-and-online-redo-logs/</link>
		<comments>http://chengoracle.wordpress.com/2008/06/08/administration-workshop-ii-12-34-obtaining-file-names-of-the-current-control-files-and-online-redo-logs/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 22:50:49 +0000</pubDate>
		<dc:creator>chenglee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://chengoracle.wordpress.com/?p=122</guid>
		<description><![CDATA[Obtain them by querying V$CONTROLFILE and V$LOGFILE
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=122&subd=chengoracle&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Obtain them by querying <code>V$CONTROLFILE</code> and <code>V$LOGFILE</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chengoracle.wordpress.com/122/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chengoracle.wordpress.com/122/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chengoracle.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chengoracle.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chengoracle.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chengoracle.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chengoracle.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chengoracle.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chengoracle.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chengoracle.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chengoracle.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chengoracle.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=122&subd=chengoracle&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chengoracle.wordpress.com/2008/06/08/administration-workshop-ii-12-34-obtaining-file-names-of-the-current-control-files-and-online-redo-logs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a98deb99bcab965bf587b91659db57d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chenglee</media:title>
		</media:content>
	</item>
		<item>
		<title>Administration Workshop II 11-20. Shrinking Segments by Using SQL</title>
		<link>http://chengoracle.wordpress.com/2008/06/07/administration-workshop-ii-11-20-shrinking-segments-by-using-sql/</link>
		<comments>http://chengoracle.wordpress.com/2008/06/07/administration-workshop-ii-11-20-shrinking-segments-by-using-sql/#comments</comments>
		<pubDate>Sat, 07 Jun 2008 23:07:06 +0000</pubDate>
		<dc:creator>chenglee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://chengoracle.wordpress.com/?p=121</guid>
		<description><![CDATA[To shrink an object
ALTER TABLE employees SHRINK SPACE [CASCADE]
To shrink a LOB (must be issued separately since SHRINK SPACE CASCADE does not cascade to LOB)
ALTER TABLE employees MODIFY LOB(resume) (SHRINK SPACE)
Shrink the overflow segment of an Index Organized Table (IOT)
ALTER TABLE employees OVERFLOW SHRINK SPACE
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=121&subd=chengoracle&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To shrink an object</p>
<pre>ALTER TABLE employees SHRINK SPACE [CASCADE]</pre>
<p>To shrink a LOB (must be issued separately since SHRINK SPACE CASCADE does not cascade to LOB)</p>
<pre>ALTER TABLE employees MODIFY LOB(resume) (SHRINK SPACE)</pre>
<p>Shrink the overflow segment of an Index Organized Table (IOT)</p>
<pre>ALTER TABLE employees OVERFLOW SHRINK SPACE</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chengoracle.wordpress.com/121/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chengoracle.wordpress.com/121/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chengoracle.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chengoracle.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chengoracle.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chengoracle.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chengoracle.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chengoracle.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chengoracle.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chengoracle.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chengoracle.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chengoracle.wordpress.com/121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=121&subd=chengoracle&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chengoracle.wordpress.com/2008/06/07/administration-workshop-ii-11-20-shrinking-segments-by-using-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a98deb99bcab965bf587b91659db57d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chenglee</media:title>
		</media:content>
	</item>
		<item>
		<title>Administration Workshop II 9-32. SQL Tuning Advisor Workload Source</title>
		<link>http://chengoracle.wordpress.com/2008/06/05/administration-workshop-ii-9-32-sql-tuning-advisor-workload-source/</link>
		<comments>http://chengoracle.wordpress.com/2008/06/05/administration-workshop-ii-9-32-sql-tuning-advisor-workload-source/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 04:08:52 +0000</pubDate>
		<dc:creator>chenglee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[advisor]]></category>

		<guid isPermaLink="false">http://chengoracle.wordpress.com/?p=117</guid>
		<description><![CDATA[
Current and recent SQL activity
Import workload from SQL repository
User-defined workload; import SQL from a Table or View
Create a Hypothetical workload from the following Schemas and Tables (separated by commas)

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=117&subd=chengoracle&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><ul>
<li>Current and recent SQL activity</li>
<li>Import workload from SQL repository</li>
<li>User-defined workload; import SQL from a Table or View</li>
<li>Create a Hypothetical workload from the following Schemas and Tables (separated by commas)</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chengoracle.wordpress.com/117/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chengoracle.wordpress.com/117/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chengoracle.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chengoracle.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chengoracle.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chengoracle.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chengoracle.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chengoracle.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chengoracle.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chengoracle.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chengoracle.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chengoracle.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=117&subd=chengoracle&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chengoracle.wordpress.com/2008/06/05/administration-workshop-ii-9-32-sql-tuning-advisor-workload-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a98deb99bcab965bf587b91659db57d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chenglee</media:title>
		</media:content>
	</item>
		<item>
		<title>Administration Workshop II 9-30. SQL Access Advisor Overview</title>
		<link>http://chengoracle.wordpress.com/2008/06/05/administration-workshop-ii-9-30-sql-access-advisor-overview/</link>
		<comments>http://chengoracle.wordpress.com/2008/06/05/administration-workshop-ii-9-30-sql-access-advisor-overview/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 03:32:43 +0000</pubDate>
		<dc:creator>chenglee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[advisor]]></category>
		<category><![CDATA[index]]></category>

		<guid isPermaLink="false">http://chengoracle.wordpress.com/?p=115</guid>
		<description><![CDATA[The SQL Access Advisor can recommend the proper set of materialized views, materialized view logs, and indexes for a given workload. Understanding and using these structures is essential when optimizing SQL because they can result in significant performance improvements in data retrieval.

A bitmap index offers a reduced response time for many types of ad hoc [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=115&subd=chengoracle&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The SQL Access Advisor can recommend the proper set of <strong>materialized views</strong>, <strong>materialized view logs</strong>, and <strong>indexes</strong> for a given workload. Understanding and using these structures is essential when optimizing SQL because they can result in significant performance improvements in data retrieval.</p>
<ul>
<li>A bitmap index offers a reduced response time for many types of ad hoc queries and reduced storage requirements compared to other indexing techniques.</li>
<li><span style="color:#ff0000;"><strong>B-tree indexes</strong> are most commonly used in a data warehouse to index unique or near-unique keys.</span></li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chengoracle.wordpress.com/115/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chengoracle.wordpress.com/115/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chengoracle.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chengoracle.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chengoracle.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chengoracle.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chengoracle.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chengoracle.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chengoracle.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chengoracle.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chengoracle.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chengoracle.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=115&subd=chengoracle&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chengoracle.wordpress.com/2008/06/05/administration-workshop-ii-9-30-sql-access-advisor-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a98deb99bcab965bf587b91659db57d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chenglee</media:title>
		</media:content>
	</item>
		<item>
		<title>Administration Workshop II 9-14. Statistics for n-tier environments</title>
		<link>http://chengoracle.wordpress.com/2008/06/04/administration-workshop-ii-9-14-statistics-for-n-tier-environments/</link>
		<comments>http://chengoracle.wordpress.com/2008/06/04/administration-workshop-ii-9-14-statistics-for-n-tier-environments/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 03:17:49 +0000</pubDate>
		<dc:creator>chenglee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Application-Server]]></category>
		<category><![CDATA[n-tier]]></category>
		<category><![CDATA[pooling]]></category>

		<guid isPermaLink="false">http://chengoracle.wordpress.com/?p=114</guid>
		<description><![CDATA[In an n-tier environment where there is an application server that is pooling database connections, viewing sessions may not provide the information yhou need to analyze performance. Grouping sessions into service names enables you to monitor performance more accurately. These two views provide the same information that their like-named session counterparts provide, except that the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=114&subd=chengoracle&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In an n-tier environment where there is an application server that is pooling database connections, viewing sessions may not provide the information yhou need to analyze performance. Grouping sessions into service names enables you to monitor performance more accurately. These two views provide the same information that their like-named session counterparts provide, except that the information is presented at the service level rather than at the session level:</p>
<ul>
<li><code>V$SERVICE_WAIT_CLASS</code> shows wait statistics for each service, broken down by wait class.</li>
<li><code>V$SERVICE_EVENT</code> shows the same information as <code>V$SERVICE_WAIT_CLASS</code>, except that it is further broekn down by event ID.</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chengoracle.wordpress.com/114/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chengoracle.wordpress.com/114/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chengoracle.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chengoracle.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chengoracle.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chengoracle.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chengoracle.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chengoracle.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chengoracle.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chengoracle.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chengoracle.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chengoracle.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=114&subd=chengoracle&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chengoracle.wordpress.com/2008/06/04/administration-workshop-ii-9-14-statistics-for-n-tier-environments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a98deb99bcab965bf587b91659db57d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chenglee</media:title>
		</media:content>
	</item>
		<item>
		<title>Viewing pool sizes</title>
		<link>http://chengoracle.wordpress.com/2008/06/03/viewing-pool-sizes/</link>
		<comments>http://chengoracle.wordpress.com/2008/06/03/viewing-pool-sizes/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 02:34:22 +0000</pubDate>
		<dc:creator>chenglee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[V$]]></category>

		<guid isPermaLink="false">http://chengoracle.wordpress.com/?p=107</guid>
		<description><![CDATA[From Administration Workshop II 8-23
SELECT name, value, isdefault
FROM   v$parameter
WHERE  name LIKE '%size';
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=107&subd=chengoracle&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>From Administration Workshop II 8-23</p>
<pre>SELECT name, value, isdefault
FROM   v$parameter
WHERE  name LIKE '%size';</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chengoracle.wordpress.com/107/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chengoracle.wordpress.com/107/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chengoracle.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chengoracle.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chengoracle.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chengoracle.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chengoracle.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chengoracle.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chengoracle.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chengoracle.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chengoracle.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chengoracle.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=107&subd=chengoracle&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chengoracle.wordpress.com/2008/06/03/viewing-pool-sizes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a98deb99bcab965bf587b91659db57d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chenglee</media:title>
		</media:content>
	</item>
		<item>
		<title>Administration Workshop II 8-21. Manually tuning pool sizes</title>
		<link>http://chengoracle.wordpress.com/2008/06/03/administration-workshop-ii-8-21-manually-tuning-pool-sizes/</link>
		<comments>http://chengoracle.wordpress.com/2008/06/03/administration-workshop-ii-8-21-manually-tuning-pool-sizes/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 02:30:04 +0000</pubDate>
		<dc:creator>chenglee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[V$]]></category>

		<guid isPermaLink="false">http://chengoracle.wordpress.com/?p=106</guid>
		<description><![CDATA[SELECT SUM(bytes)/1024/1024 size_mb
FROM   v$sgastat WHERE pool = 'shared pool';
Determine the size for the autotuned component in the SGA
SELECT component, current_size/1024/1024 size_mb
FROM   v$sga_dynamic_components;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=106&subd=chengoracle&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><pre>SELECT SUM(bytes)/1024/1024 size_mb
FROM   <span style="color:#0000ff;">v$sgastat</span> WHERE pool = 'shared pool';</pre>
<p>Determine the size for the autotuned component in the SGA</p>
<pre>SELECT component, current_size/1024/1024 size_mb
FROM   <span style="color:#0000ff;">v$sga_dynamic_components</span>;</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chengoracle.wordpress.com/106/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chengoracle.wordpress.com/106/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chengoracle.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chengoracle.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chengoracle.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chengoracle.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chengoracle.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chengoracle.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chengoracle.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chengoracle.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chengoracle.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chengoracle.wordpress.com/106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=106&subd=chengoracle&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chengoracle.wordpress.com/2008/06/03/administration-workshop-ii-8-21-manually-tuning-pool-sizes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a98deb99bcab965bf587b91659db57d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chenglee</media:title>
		</media:content>
	</item>
		<item>
		<title>Memory Management</title>
		<link>http://chengoracle.wordpress.com/2008/06/03/memory-management/</link>
		<comments>http://chengoracle.wordpress.com/2008/06/03/memory-management/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 01:22:33 +0000</pubDate>
		<dc:creator>chenglee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://chengoracle.wordpress.com/?p=105</guid>
		<description><![CDATA[Source: Administration Workshop II 8-14.
To be taken into account when manually tuning the pool sizes:

OLTP systems require large buffer cache
Parallel batch jobs require large value for large pool

Now, it&#8217;s typical to have a system that runs large OLTP jobs during the day (requiring a large buffer cache) and runs parallel batch jobs at night (requiring [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=105&subd=chengoracle&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Source</strong>: Administration Workshop II 8-14.</p>
<p>To be taken into account when manually tuning the pool sizes:</p>
<ul>
<li>OLTP systems require large <strong>buffer cache</strong></li>
<li>Parallel batch jobs require large value for <strong>large pool</strong></li>
</ul>
<p>Now, it&#8217;s typical to have a system that runs large OLTP jobs during the day (requiring a large buffer cache) and runs parallel batch jobs at night (requiring a large value for the large pool). In this system you would have to simultaneously configure both the buffer cache and the large pool to acoommodate your <strong>peak</strong> requirements, if using <strong>manual </strong>pool sizing. <strong>This means wasting memory</strong>. Using Automatic Shared Memory Management (ASMM) you would maximize memory utilization by automatically adjusting the pool sizes.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chengoracle.wordpress.com/105/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chengoracle.wordpress.com/105/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chengoracle.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chengoracle.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chengoracle.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chengoracle.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chengoracle.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chengoracle.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chengoracle.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chengoracle.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chengoracle.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chengoracle.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chengoracle.wordpress.com&blog=3816048&post=105&subd=chengoracle&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chengoracle.wordpress.com/2008/06/03/memory-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a98deb99bcab965bf587b91659db57d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chenglee</media:title>
		</media:content>
	</item>
	</channel>
</rss>