<?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>EveryDay Practical Solutions for an Oracle&#124;SQL Server DBA &#187; Tuning</title>
	<atom:link href="http://www.oracledbasupport.co.uk/category/tuning/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oracledbasupport.co.uk</link>
	<description>This is my (Sagar PATIL ) blog to list day to day issues</description>
	<lastBuildDate>Fri, 20 Jan 2012 22:39:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Database hanging due to TX-Transaction (row lock contention)</title>
		<link>http://www.oracledbasupport.co.uk/database-hanging-due-to-tx-transaction-row-lock-contention/</link>
		<comments>http://www.oracledbasupport.co.uk/database-hanging-due-to-tx-transaction-row-lock-contention/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 13:17:43 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[General DBA Tasks]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[How to diagnose "row lock contention" in Statspack repo]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2009/11/database-hanging-due-to-tx-transaction-row-lock-contention/</guid>
		<description><![CDATA[My Statspack has following details. Enqueue activity DB/Inst: Snaps: 1791-1808 -&#62; only enqueues with waits are shown -&#62; Enqueue stats gathered prior to 10g should not be compared with 10g data -&#62; ordered by Wait Time desc, Waits desc Above list indicates oracle was waiting about 4 secs to acquire a lock. Let&#8217;s look at [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/database-hanging-due-to-tx-transaction-row-lock-contention/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Identifying Blocking Locks/ Contention &amp; Resolving Database Hanging Issue</title>
		<link>http://www.oracledbasupport.co.uk/identifying-blocking-locks-contention-resolving-database-hanging-issue/</link>
		<comments>http://www.oracledbasupport.co.uk/identifying-blocking-locks-contention-resolving-database-hanging-issue/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 12:44:08 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[General DBA Tasks]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[Contention]]></category>
		<category><![CDATA[Dump]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle support]]></category>
		<category><![CDATA[pid]]></category>
		<category><![CDATA[sid]]></category>
		<category><![CDATA[Smon]]></category>
		<category><![CDATA[Waits]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2009/11/identifying-latch-contention/</guid>
		<description><![CDATA[One of my 10.2.0.1 database was hanging despite allocating ample opf resources. The CPU, Memory,Disk accesses were normal but under heavy load server would freeze for no valid reason. I had to raise TAR with Oracle. My Statspack report had following details &#8212;&#8211;Enqueue activity DB/Inst: -&#62; only enqueues with waits are shown -&#62; Enqueue stats [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/identifying-blocking-locks-contention-resolving-database-hanging-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AWR : How to run Reports</title>
		<link>http://www.oracledbasupport.co.uk/awr-how-to-run-reports/</link>
		<comments>http://www.oracledbasupport.co.uk/awr-how-to-run-reports/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 09:58:00 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[AWR/ASH (10g/11g)]]></category>
		<category><![CDATA[AWR]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[interval]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[The Enterprise Manager]]></category>
		<category><![CDATA[WorkLoad]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/?p=1389</guid>
		<description><![CDATA[The architecture of the AWR is quite simple. The MMON background process polls the x$ fixed tables from the SGA region and stores them in the AWR tables. From there, the performance data is instantly available for analysis. The Enterprise Manager can be used for graphical data display. Alternatively, the Automatic Database Diagnostic Monitor (ADDM) [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/awr-how-to-run-reports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display execution plan in SQLPLUS &#8211; plan_table script</title>
		<link>http://www.oracledbasupport.co.uk/plan_table/</link>
		<comments>http://www.oracledbasupport.co.uk/plan_table/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 15:37:12 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[General DBA Tasks]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[OBJECT]]></category>
		<category><![CDATA[parallel execution]]></category>
		<category><![CDATA[parent]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[varchar2]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/12/17/plan_table/</guid>
		<description><![CDATA[I was trying to execute following SQL through client side tools and found network delays were contributing to the SQl execution times. This SQL normally returns in less than 50 millisec and now taking more than 700 Msec. I am addicted to TOAD -TORA GUI created Execution plans and was looking for a an easy [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/plan_table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compare 9i Statspack &amp; 10g AWR Views</title>
		<link>http://www.oracledbasupport.co.uk/statspack-awr-views/</link>
		<comments>http://www.oracledbasupport.co.uk/statspack-awr-views/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 09:41:14 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[AWR/ASH (10g/11g)]]></category>
		<category><![CDATA[Statspack (8i/9i)]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[ADV]]></category>
		<category><![CDATA[LATCH]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[STATS]]></category>
		<category><![CDATA[SUMMARY]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/11/13/statspack-awr-views/</guid>
		<description><![CDATA[Statspack AWR STATS$DATABASE_INSTANCE Tables store historical data or snapshots STATS$IDLE_EVENT STATS$LEVEL_DESCRIPTION STATS$ROLLSTAT STATS$SESSION_EVENT STATS$SNAPSHOT STATS$SQL_PLAN_USAGE STATS$SQL_SUMMARY WRH$_ACTIVE_SESSION_HISTORY WRI$_ADV_ACTIONS STATS$STATSPACK_PARAMETER WRH$_ACTIVE_SESSION_HISTORY_BL WRI$_ADV_ASA_RECO_DATA STATS$BG_EVENT_SUMMARY WRH$_BG_EVENT_SUMMARY WRI$_ADV_DEFINITIONS WRH$_BUFFERED_QUEUES WRI$_ADV_DEF_PARAMETERS WRH$_BUFFERED_SUBSCRIBERS WRI$_ADV_DIRECTIVES STATS$BUFFER_POOL_STATISTICS WRH$_BUFFER_POOL_STATISTICS WRI$_ADV_FINDINGS WRH$_COMP_IOSTAT WRI$_ADV_JOURNAL WRH$_CR_BLOCK_SERVER WRI$_ADV_MESSAGE_GROUPS WRH$_CURRENT_BLOCK_SERVER WRI$_ADV_OBJECTS WRH$_DATAFILE WRI$_ADV_PARAMETERS STATS$DB_CACHE_ADVICE WRH$_DB_CACHE_ADVICE WRI$_ADV_RATIONALE WRH$_DB_CACHE_ADVICE_BL WRI$_ADV_RECOMMENDATIONS STATS$DLM_MISC WRH$_DLM_MISC WRI$_ADV_REC_ACTIONS WRH$_DLM_MISC_BL WRI$_ADV_SQLA_FAKE_REG STATS$ENQUEUE_STAT WRH$_ENQUEUE_STAT WRI$_ADV_SQLA_MAP WRH$_EVENT_NAME WRI$_ADV_SQLA_STMTS WRH$_FILEMETRIC_HISTORY [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/statspack-awr-views/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display partition information for a specified index</title>
		<link>http://www.oracledbasupport.co.uk/displays-partition-information-for-specified-index-2/</link>
		<comments>http://www.oracledbasupport.co.uk/displays-partition-information-for-specified-index-2/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 19:01:45 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[General DBA Tasks]]></category>
		<category><![CDATA[Index Tuning]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[index Displays]]></category>
		<category><![CDATA[Online]]></category>
		<category><![CDATA[partitions]]></category>
		<category><![CDATA[Rebuild]]></category>
		<category><![CDATA[SET VERIFY]]></category>
		<category><![CDATA[WHERE]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/11/12/displays-partition-information-for-specified-index-2/</guid>
		<description><![CDATA[Displays partition information for the specified index, or all indexes. SET LINESIZE 500 SET PAGESIZE 1000 SET FEEDBACK OFF SET VERIFY OFFSELECT a.index_name, a.partition_name, a.tablespace_name, a.initial_extent, a.next_extent, a.pct_increase, a.num_rows FROM   dba_ind_partitions a WHERE  a.index_name  = Decode(&#8216;BRANCH_STATS_IX&#8217;,'ALL&#8217;,a.index_name,&#8217;BRANCH_STATS_IX&#8217;) ORDER BY a.index_name, a.partition_name; Replace &#8216;BRANCH_STATS_IX&#8217; with valid index_name select &#8216;Alter Index &#8216;&#124;&#124; index_owner &#124;&#124;&#8217;.'&#124;&#124;index_name &#124;&#124;&#8217; Rebuild Partition &#8216; [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/displays-partition-information-for-specified-index-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Undo Retention , Undo Optimization</title>
		<link>http://www.oracledbasupport.co.uk/undo-retention-undo-optimization-2/</link>
		<comments>http://www.oracledbasupport.co.uk/undo-retention-undo-optimization-2/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 18:55:04 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[General DBA Tasks]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[BYTES]]></category>
		<category><![CDATA[RETENTION]]></category>
		<category><![CDATA[SEC]]></category>
		<category><![CDATA[status]]></category>
		<category><![CDATA[tablespace]]></category>
		<category><![CDATA[undo]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/11/12/undo-retention-undo-optimization-2/</guid>
		<description><![CDATA[undo_retention parameter will not guarantee a RETENTION unless you define a RETENTION GUARANTEE CLAUSE on tablespace level Actual Undo Size SELECT   SUM (a.bytes) "UNDO_SIZE" FROM   v$datafile a, v$tablespace b, dba_tablespaces c WHERE       c.contents = 'UNDO' AND c.status = 'ONLINE' AND b.name = c.tablespace_name AND a.ts# = b.ts#; UNDO_SIZE &#8212;&#8212;&#8212;- 209715200 Undo Blocks per Second SELECT   [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/undo-retention-undo-optimization-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do I need to reorganise my table?</title>
		<link>http://www.oracledbasupport.co.uk/do-i-need-to-reorganise-my-tables/</link>
		<comments>http://www.oracledbasupport.co.uk/do-i-need-to-reorganise-my-tables/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 18:47:00 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[General DBA Tasks]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[count]]></category>
		<category><![CDATA[row chaining]]></category>
		<category><![CDATA[ROWS]]></category>
		<category><![CDATA[thru]]></category>
		<category><![CDATA[VBAP]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/11/12/do-i-need-to-reorganise-my-tables/</guid>
		<description><![CDATA[It&#8217;s a tricky question. I have explained here by using a 33GB SAP BW driving table called VBAP which needed a major work. At end I had to rebuild this table using Quest Shareplex. VBAP Table acquired 3,873,549 blocks = 30.2 GB in Space , The total number of rows were 15,900,000 So Rows per [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/do-i-need-to-reorganise-my-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flashback Query</title>
		<link>http://www.oracledbasupport.co.uk/flashback-query/</link>
		<comments>http://www.oracledbasupport.co.uk/flashback-query/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 18:36:01 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[General DBA Tasks]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[EXECUTE]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[undo]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/11/12/flashback-query/</guid>
		<description><![CDATA[Oracle Flashback Query allows users to see a consistent view of the database as it was at a point in the past. This functionality allows comparative reporting over time and recovery from logical corruptions. Prerequisites Oracle Flashback Query can only be used if the server is configured to use Automatic Undo Management, rather than traditional [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/flashback-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Function Based Indexes</title>
		<link>http://www.oracledbasupport.co.uk/function-based-indexes/</link>
		<comments>http://www.oracledbasupport.co.uk/function-based-indexes/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 18:25:19 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Index Tuning]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[cost]]></category>
		<category><![CDATA[first_name]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[SELECT STATEMENT]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/11/12/function-based-indexes/</guid>
		<description><![CDATA[Traditionally, performing a function on an indexed column in the where clause of a query guaranteed an index would not be used. Oracle 8i introduced Function Based Indexes to counter this problem. Rather than indexing a column, you index the function on that column, storing the product of the function, not the original column data. [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/function-based-indexes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When to Rebuild a B-Tree Index</title>
		<link>http://www.oracledbasupport.co.uk/when-to-rebuild-a-b-tree-index-2/</link>
		<comments>http://www.oracledbasupport.co.uk/when-to-rebuild-a-b-tree-index-2/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 18:14:20 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Index Tuning]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[BLEVEL]]></category>
		<category><![CDATA[HIGH]]></category>
		<category><![CDATA[index statistics]]></category>
		<category><![CDATA[indexes]]></category>
		<category><![CDATA[ROWS]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/11/12/when-to-rebuild-a-b-tree-index-2/</guid>
		<description><![CDATA[You have to periodically check your indexes to see if they become skewed and, therefore, good candidates for rebuild. A skewed index has many records clumped close together on the index tree due to their similar indexed values. When an index is skewed, parts of an index are accessed more frequently than others. As a [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/when-to-rebuild-a-b-tree-index-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Index Monitoring</title>
		<link>http://www.oracledbasupport.co.uk/index-monitoring/</link>
		<comments>http://www.oracledbasupport.co.uk/index-monitoring/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 17:49:50 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Index Tuning]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[DML]]></category>
		<category><![CDATA[Key]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[OBJECT]]></category>
		<category><![CDATA[parent]]></category>
		<category><![CDATA[parent table]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/11/12/index-monitoring/</guid>
		<description><![CDATA[Index monitoring could be initiated and stopped using ALTER INDEX syntax shown below. ALTER INDEX my_index_i MONITORING USAGE; ALTER INDEX my_index_i NOMONITORING USAGE; Information about the index usage can be displayed using the V$OBJECT_USAGE view. SELECT index_name, table_name, monitoring, used, start_monitoring, end_monitoring FROM v$object_usage WHERE index_name = 'MY_INDEX_I' ORDER BY index_name; The V$OBJECT_USAGE view does [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/index-monitoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building virtual index using the NOSEGMENT clause.</title>
		<link>http://www.oracledbasupport.co.uk/building-our-virtual-index-using-the-nosegment-clause-2/</link>
		<comments>http://www.oracledbasupport.co.uk/building-our-virtual-index-using-the-nosegment-clause-2/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 17:48:05 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Index Tuning]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[department]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[NON]]></category>
		<category><![CDATA[orcl]]></category>
		<category><![CDATA[segment]]></category>
		<category><![CDATA[virtual index]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/11/12/building-our-virtual-index-using-the-nosegment-clause-2/</guid>
		<description><![CDATA[Let&#8217;s create a virtual index 07:59:12 orcl&#62; create index hr.emp2_emp_id_virtual on hr.employees2(employee_id) nosegment; Index created. I am going to set a hidden startup parameter &#8220;_use_nosegment_indexes&#8221; to TRUE so that our session will recognize our new virtual index. 08:00:09 orcl&#62; alter session set &#8220;_use_nosegment_indexes&#8221; = true; Running our statement again to see if it will use [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/building-our-virtual-index-using-the-nosegment-clause-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Selecting the Best Join Order : Methods Oracle Uses to Join Tables</title>
		<link>http://www.oracledbasupport.co.uk/four-methods-oracle-uses-to-join-tables/</link>
		<comments>http://www.oracledbasupport.co.uk/four-methods-oracle-uses-to-join-tables/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 17:47:00 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Tuning]]></category>
		<category><![CDATA[council members]]></category>
		<category><![CDATA[hash table]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[Order]]></category>
		<category><![CDATA[public officials]]></category>
		<category><![CDATA[ROWS]]></category>
		<category><![CDATA[Sort]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/11/12/four-methods-oracle-uses-to-join-tables/</guid>
		<description><![CDATA[Choose the join order that gives you least number of rows to be joined to the other tables. That is, if you’re joining three tables, the one with the more restrictive filter should be joined first to one of the other two tables. When SQL statement includes a join between two or more tables, the [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/four-methods-oracle-uses-to-join-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sid from Unix Process ID</title>
		<link>http://www.oracledbasupport.co.uk/sid-from-unix-process-id/</link>
		<comments>http://www.oracledbasupport.co.uk/sid-from-unix-process-id/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 17:08:36 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[General DBA Tasks]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[afternoon]]></category>
		<category><![CDATA[INSTANCE]]></category>
		<category><![CDATA[Oracle instances]]></category>
		<category><![CDATA[pid]]></category>
		<category><![CDATA[spid]]></category>
		<category><![CDATA[status]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Unix Process ID]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/11/12/sid-from-unix-process-id/</guid>
		<description><![CDATA[Here is a situation, This afternoon I have seen my CPU hitting through the roof on a Live system. There are about 6 Oracle instances and one is chewing more than 90% of CPU time. - I want to know which Instance /process is a culprit PID USERNAME PRI NICE SIZE RES STATE TIME CPU [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/sid-from-unix-process-id/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find out SGA PGA Size</title>
		<link>http://www.oracledbasupport.co.uk/find-out-sga-pga-size/</link>
		<comments>http://www.oracledbasupport.co.uk/find-out-sga-pga-size/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 16:43:33 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[SGA/PGA Tuning]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[machine]]></category>
		<category><![CDATA[MAX]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PGA]]></category>
		<category><![CDATA[sid]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/11/12/find-out-sga-pga-size/</guid>
		<description><![CDATA[SET LINESIZE 145 SET PAGESIZE 9999 COLUMN sid                     FORMAT 999            HEADING &#8216;SID&#8217; COLUMN oracle_username         FORMAT a12            HEADING &#8216;Oracle User&#8217;     JUSTIFY right COLUMN os_username             FORMAT a9             HEADING &#8216;O/S User&#8217;        JUSTIFY right COLUMN session_program         FORMAT a18            HEADING &#8216;Session Program&#8217; TRUNC COLUMN session_machine         FORMAT a8             HEADING &#8216;Machine&#8217;         JUSTIFY right TRUNC COLUMN session_pga_memory      FORMAT 9,999,999,999  HEADING &#8216;PGA Memory&#8217; COLUMN [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/find-out-sga-pga-size/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Statspack Scripts</title>
		<link>http://www.oracledbasupport.co.uk/statspack-tables/</link>
		<comments>http://www.oracledbasupport.co.uk/statspack-tables/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 13:19:00 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Statspack (8i/9i)]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[Drops]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[SPCPKG]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[statspack]]></category>
		<category><![CDATA[Statspack Scripts]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/11/12/statspack-tables/</guid>
		<description><![CDATA[InstallationThe following scripts must be run as a user with SYSDBA privilege:* SPCREATE.SQL: Creates entire Statspack environment (calls SPCUSR.SQL, SPCTAB.SQL, SPCPKG.SQL) * SPDROP.SQL: Drops entire Statspack environment (calls SPDTAB.SQL, SPDUSR.SQL) The following scripts are run as a user with SYSDBA privilege by the preceding calling scripts:* SPDTAB.SQL: Drops Statspack tables* SPDUSR.SQL: Drops the Statspack user [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/statspack-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tuning SQL to drop execution cost</title>
		<link>http://www.oracledbasupport.co.uk/tuning-sql-to-drop-execution-cost-from-758319-to/</link>
		<comments>http://www.oracledbasupport.co.uk/tuning-sql-to-drop-execution-cost-from-758319-to/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 13:43:59 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Index Tuning]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[Cardinality]]></category>
		<category><![CDATA[cost]]></category>
		<category><![CDATA[INDEX RANGE]]></category>
		<category><![CDATA[NUMR]]></category>
		<category><![CDATA[pnh]]></category>
		<category><![CDATA[ptc]]></category>
		<category><![CDATA[Rang]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/10/30/tuning-sql-to-drop-execution-cost-from-758319-to/</guid>
		<description><![CDATA[SELECT n.MSISDN, (SELECT ptc2.PRIMARY_ACCOUNT_NUMBER FROM p_topup_cards ptc2 WHERE ptc2.NUMR_MSISDN = n.MSISDN --AND ptc2.CARD_TYPE = 1 AND ptc2.PRIMARY_ACCOUNT_NUMBER LIKE '894428%' AND ROWNUM &#60; 2) pan FROM numbers n ,p_number_history pnh WHERE n.MSISDN = pnh.NUMR_MSISDN AND n.STATUS = 'A' AND n.Barred = 'N' AND n.spid_spid = '416' --AND n.first_transaction IS NOT NULL --AND pnh.END_TIMESTAMP IS NULL AND [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/tuning-sql-to-drop-execution-cost-from-758319-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How optimizer stats with Histograms can change execution Plan</title>
		<link>http://www.oracledbasupport.co.uk/how-histograms-can-change-execution-plan/</link>
		<comments>http://www.oracledbasupport.co.uk/how-histograms-can-change-execution-plan/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 08:41:42 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Index Tuning]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[MAX]]></category>
		<category><![CDATA[Mode]]></category>
		<category><![CDATA[Optimizer]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[WHERE]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/07/03/how-histograms-can-change-execution-plan/</guid>
		<description><![CDATA[Optimizer stats can play a key part in deciding execution plan. Here is an example Table &#8220;RSODSACTREQ&#8221; has 313783 of total rows Database with NO histograms : For following 4 statements the SQL plan is always same i.e FULL TABLE SCAN 1. SELECT MAX( &#8220;TIMESTAMP&#8221; ) FROM SAPLIVE.&#8221;RSODSACTREQ&#8221; WHERE &#8220;ODSOBJECT&#8221; = &#8216;ZPNPCAMP&#8217; 2. SELECT MAX( [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/how-histograms-can-change-execution-plan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AWR : How to locate resource limits</title>
		<link>http://www.oracledbasupport.co.uk/awr-how-to-locate-resource-limits/</link>
		<comments>http://www.oracledbasupport.co.uk/awr-how-to-locate-resource-limits/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 16:03:21 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[AWR/ASH (10g/11g)]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[AWR]]></category>
		<category><![CDATA[DD-Mon-YYYY]]></category>
		<category><![CDATA[limit]]></category>
		<category><![CDATA[MAX]]></category>
		<category><![CDATA[NAME]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/06/19/awr-how-to-locate-resource-limits/</guid>
		<description><![CDATA[select A.snap_id AWR_SNAP_ID, A.INSTANCE_NUMBER, to_char(B.BEGIN_INTERVAL_TIME,&#8217;DD-MON-YYYY HH24:MI:SS&#8217;) AWR_START_TIME, to_char(B.END_INTERVAL_TIME,&#8217;DD-MON-YYYY HH24:MI:SS&#8217;) AWR_END_TIME, A.RESOURCE_NAME, MAX_UTILIZATION from sys.wrh$_resource_limit A, sys.wrm$_snapshot B where A.resource_name like &#8216;%processes%&#8217; and A.snap_id=b.snap_id and A.INSTANCE_NUMBER= B.INSTANCE_NUMBER and A.INSTANCE_NUMBER= 1 and B.BEGIN_INTERVAL_TIME &#62; sysdate &#8211; 12/24; The different resources recorded are as below : RESOURCE_NAME &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; gcs_resources processes enqueue_locks max_rollback_segments parallel_max_servers ges_procs sessions gcs_shadows AWR_SNAP_ID INSTANCE_NUMBER [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/awr-how-to-locate-resource-limits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

