<?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; Utilties</title>
	<atom:link href="http://www.oracledbasupport.co.uk/category/general-dba-tasks/utilties/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>What is Oracle OPatch, How to use OPatch &amp; List patches</title>
		<link>http://www.oracledbasupport.co.uk/what-is-opatch-how-to-use-opatch-list-patches/</link>
		<comments>http://www.oracledbasupport.co.uk/what-is-opatch-how-to-use-opatch-list-patches/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 10:39:23 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[General DBA Tasks]]></category>
		<category><![CDATA[Utilties]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[Home]]></category>
		<category><![CDATA[Interim Patch Installer]]></category>
		<category><![CDATA[Mar]]></category>
		<category><![CDATA[Mon]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Universal Installer]]></category>
		<category><![CDATA[Patch Installer]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/?p=1781</guid>
		<description><![CDATA[Patch is an Oracle supplied utility to assist you with the process of applying interim patches to Oracle&#8217;s software. OPatch is a Java-based utility which requires the Oracle Universal Installer to be installed. It is platform independent and runs on all supported operating systems. OPatch supports the following: * Applying an interim patch. * Rolling [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/what-is-opatch-how-to-use-opatch-list-patches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Data Pump</title>
		<link>http://www.oracledbasupport.co.uk/oracle-data-pump/</link>
		<comments>http://www.oracledbasupport.co.uk/oracle-data-pump/#comments</comments>
		<pubDate>Wed, 21 May 2008 08:35:00 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[General DBA Tasks]]></category>
		<category><![CDATA[Utilties]]></category>
		<category><![CDATA[Data Pump]]></category>
		<category><![CDATA[Data Pump DBA_DATAPUMP_JOBS]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[dmp]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[FULL]]></category>
		<category><![CDATA[log files]]></category>
		<category><![CDATA[NAME]]></category>
		<category><![CDATA[oracle server]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/05/21/oracle-data-pump/</guid>
		<description><![CDATA[- Data Pump runs only on the server side. - You may initiate the export from a client but the job(s) themselves will run inside an Oracle server. - There are no dump files (expdat.dmp) or log files that will be created on your local machine How to use DataPUMP? To Export Entire Database use [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/oracle-data-pump/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DDL create commands for Objects (DBMS_METADATA)</title>
		<link>http://www.oracledbasupport.co.uk/ddl-create-commands-for-objcts/</link>
		<comments>http://www.oracledbasupport.co.uk/ddl-create-commands-for-objcts/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 21:43:13 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Utilties]]></category>
		<category><![CDATA[courier]]></category>
		<category><![CDATA[DDL]]></category>
		<category><![CDATA[Default]]></category>
		<category><![CDATA[NULL]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[varchar2]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/04/16/ddl-create-commands-for-objcts/</guid>
		<description><![CDATA[Metadata API (DBMS_METADATA)Prior to Oracle9i metadata could only be extracted using SQL statements, export utilities and the OCIDescribeAny interface, all of which are limited: * The SQL approach is limited in that as versions change, so must your scripts. * Using export with ROWS=N and an import with SHOW=Y will produce the text to allow [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/ddl-create-commands-for-objcts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shell or UNIX OS Commands From PL/SQL</title>
		<link>http://www.oracledbasupport.co.uk/shell-or-unix-os-commands-from-plsql/</link>
		<comments>http://www.oracledbasupport.co.uk/shell-or-unix-os-commands-from-plsql/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 21:37:55 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Utilties]]></category>
		<category><![CDATA[Fire]]></category>
		<category><![CDATA[holder]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[Main]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/04/16/shell-or-unix-os-commands-from-plsql/</guid>
		<description><![CDATA[http://www.oracle-base.com/articles/8i/ShellCommandsFromPLSQL.php Main Procedure to kill a latch holder locate_latchholder Host java procedure to Fire OS commands host_command]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/shell-or-unix-os-commands-from-plsql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Identifying a Poor performing SQL</title>
		<link>http://www.oracledbasupport.co.uk/identifying-a-poorly-performing-sql/</link>
		<comments>http://www.oracledbasupport.co.uk/identifying-a-poorly-performing-sql/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 21:31:00 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Index Tuning]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[Utilties]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[executions]]></category>
		<category><![CDATA[physical disk]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[run]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/04/16/identifying-a-poorly-performing-sql/</guid>
		<description><![CDATA[Our preferred v$sqlarea query is to actually report on physical disk I/O per statement execution. Hit ratios are informative but sometimes misleading. Logical I/O is less relevant. If the statement executes 1,000,000 logical I/Os but still only takes less than one-tenth of a second, who cares? It is the total physical I/O that consumes nearly [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/identifying-a-poorly-performing-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find out hidden and system Parameters?</title>
		<link>http://www.oracledbasupport.co.uk/how-to-find-out-hidden-and-system-parameters/</link>
		<comments>http://www.oracledbasupport.co.uk/how-to-find-out-hidden-and-system-parameters/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 21:16:00 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Utilties]]></category>
		<category><![CDATA[ksppiflg]]></category>
		<category><![CDATA[ksppstvf]]></category>
		<category><![CDATA[nam]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[System Parameters]]></category>
		<category><![CDATA[val]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/04/16/how-to-find-out-hidden-and-system-parameters/</guid>
		<description><![CDATA[System Parameters Purpose: Reports all system parameters, including the hidden ones select nam.indx+1 numb, nam.ksppinm name, val.ksppstvl value, nam.ksppity type, val.ksppstdf is_default, decode(bitand(nam.ksppiflg/256,1), 1,'True', 'False' ) is_session_modifiable, decode(bitand(nam.ksppiflg/65536,3), 1,'Immediate', 2,'Deferred' , 3,'Immediate', 'False' ) is_system_modifiable, decode(bitand(val.ksppstvf,7), 1,'Modified', 4,'System Modified', 'False' ) is_modified, decode(bitand(val.ksppstvf,2), 2,'True', 'False' ) is_adjusted, nam.ksppdesc description from x$ksppi nam, x$ksppsv val where [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/how-to-find-out-hidden-and-system-parameters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORA 600 Corrupt UNDO/INDEX/TABLE Segment</title>
		<link>http://www.oracledbasupport.co.uk/ora-600-corrupt-undoindextable-segment/</link>
		<comments>http://www.oracledbasupport.co.uk/ora-600-corrupt-undoindextable-segment/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 21:14:00 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Utilties]]></category>
		<category><![CDATA[BLK]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[bpa]]></category>
		<category><![CDATA[Internal error]]></category>
		<category><![CDATA[internal error code]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/04/16/ora-600-corrupt-undoindextable-segment/</guid>
		<description><![CDATA[I have seen this issue on number of SAP systems. I will compile a procedure I followed here. select segment_name, segment_type, owner, tablespace_name from dba_extents where file_id = &#60;file_id&#62; and &#60;block&#62; between block_id and block_id + blocks - 1; For example, given this information: Corrupt Block Found TSN = 24, TSNAME = STATS_INDEXES_06 RFN = [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/ora-600-corrupt-undoindextable-segment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Estimate Undo Retention , Undo Optimization</title>
		<link>http://www.oracledbasupport.co.uk/undo-retention-undo-optimization/</link>
		<comments>http://www.oracledbasupport.co.uk/undo-retention-undo-optimization/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 21:03:05 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Utilties]]></category>
		<category><![CDATA[BYTES]]></category>
		<category><![CDATA[cWHERE]]></category>
		<category><![CDATA[RETENTION]]></category>
		<category><![CDATA[SEC]]></category>
		<category><![CDATA[SELECT SUM]]></category>
		<category><![CDATA[status]]></category>
		<category><![CDATA[undo]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/04/16/undo-retention-undo-optimization/</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) &#8220;UNDO_SIZE&#8221;FROM v$datafile a,v$tablespace b,dba_tablespaces cWHERE c.contents = &#8216;UNDO&#8217;AND c.status = &#8216;ONLINE&#8217;AND b.name = c.tablespace_nameAND a.ts# = b.ts#; UNDO_SIZE&#8212;&#8212;&#8212;-209715200 Undo Blocks per Second SELECT MAX(undoblks/((end_time-begin_time)*3600*24))&#8220;UNDO_BLOCK_PER_SEC&#8221;FROM v$undostat; UNDO_BLOCK_PER_SEC&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;3.12166667 DB Block SizeSELECT TO_NUMBER(value) &#8220;DB_BLOCK_SIZE [KByte]&#8220;FROM v$parameterWHERE [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/undo-retention-undo-optimization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Complete (recursive) object dependency</title>
		<link>http://www.oracledbasupport.co.uk/complete-recursive-object-dependency/</link>
		<comments>http://www.oracledbasupport.co.uk/complete-recursive-object-dependency/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 20:50:00 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Utilties]]></category>
		<category><![CDATA[scott]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[utldtree]]></category>
		<category><![CDATA[View]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/04/16/complete-recursive-object-dependency/</guid>
		<description><![CDATA[The easiest approach is to use an Oracle utldtree.sql script. This will be located in the %ORACLE_HOME%\rdbms\admin\ directory. For each schema that you want to be able to get a dependency list, you will open up a SQL*Plus session and execute the script scott@&#62; @d:\oracle\ora92\rdbms\admin\utldtree.sql Don&#8217;t worry about the ORA-00942 errors you will get&#8211; this [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/complete-recursive-object-dependency/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resumable Space Allocation / SUSPEND RESUME transactions</title>
		<link>http://www.oracledbasupport.co.uk/resumable-space-allocation-suspend-resume-transactions/</link>
		<comments>http://www.oracledbasupport.co.uk/resumable-space-allocation-suspend-resume-transactions/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 20:46:47 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Utilties]]></category>
		<category><![CDATA[Allocation]]></category>
		<category><![CDATA[OBJECT]]></category>
		<category><![CDATA[Operations]]></category>
		<category><![CDATA[period]]></category>
		<category><![CDATA[Resumable]]></category>
		<category><![CDATA[space allocation]]></category>
		<category><![CDATA[timeout period]]></category>
		<category><![CDATA[Trigger]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/04/16/resumable-space-allocation-suspend-resume-transactions/</guid>
		<description><![CDATA[Long running operations such as imports and batch processes sometimes fail because the server is unable to allocate more extents for an object. This may be because the object has reached max_extents or there isn&#8217;t sufficient room in the tablespace for the object to expand. In previous releases the operation would have to be rerun, [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/resumable-space-allocation-suspend-resume-transactions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running SHELL script from Oracle PL/SQL</title>
		<link>http://www.oracledbasupport.co.uk/shell-scripts-from-oracle-plsql/</link>
		<comments>http://www.oracledbasupport.co.uk/shell-scripts-from-oracle-plsql/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 20:44:52 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Utilties]]></category>
		<category><![CDATA[exec]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[return]]></category>
		<category><![CDATA[run]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Util]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/04/16/shell-scripts-from-oracle-plsql/</guid>
		<description><![CDATA[exec dbms_java.grant_permission ('DBA_ADMIN', 'java.io.FilePermission','/usr/bin/ps', 'execute'); exec dbms_java.grant_permission ('DBA_ADMIN','java.lang.RuntimePermission','*','writeFileDescriptor' ); Create or replace and compile java source named &#8220;Util&#8221; as import java.io.*; import java.lang.*; public class Util extends Object { public static int RunThis(String args) { Runtime rt = Runtime.getRuntime(); int        rc = -1; try { Process p = rt.exec(args); int bufSize = 4096; BufferedInputStream bis [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/shell-scripts-from-oracle-plsql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is a database EVENT and how does one set events?</title>
		<link>http://www.oracledbasupport.co.uk/what-is-a-database-event-and-how-does-one-set-events/</link>
		<comments>http://www.oracledbasupport.co.uk/what-is-a-database-event-and-how-does-one-set-events/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 20:42:00 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Utilties]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[errorstack]]></category>
		<category><![CDATA[level 10]]></category>
		<category><![CDATA[Oracle trace events]]></category>
		<category><![CDATA[show]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL trace]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/04/16/what-is-a-database-event-and-how-does-one-set-events/</guid>
		<description><![CDATA[Oracle trace events are useful for debugging the Oracle database server. The following two examples are simply to demonstrate syntax. Refer to later notes on this page for an explanation of what these particular events do. Events can be activated by either adding them to the INIT.ORA parameter file. E.g.: event=&#8217;1401 trace name errorstack, level [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/what-is-a-database-event-and-how-does-one-set-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert Oracle Enterprise Edition to Standard (DownGrade)</title>
		<link>http://www.oracledbasupport.co.uk/steps-to-convert-enterprise-edition-to-standard-downgrade/</link>
		<comments>http://www.oracledbasupport.co.uk/steps-to-convert-enterprise-edition-to-standard-downgrade/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 17:28:23 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Utilties]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[dmp]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[hour]]></category>
		<category><![CDATA[Standard]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/03/12/steps-to-convert-enterprise-edition-to-standard-downgrade/</guid>
		<description><![CDATA[Oracle support referred me to Metalink Note 139642.1 to downgrade Enterprise Edition (EE) to the Standard Edition (SE). They said we can not just downgrade the software, this will not get rid of EE.  I MUST export / import, in order to go from EE to SE. The database was just 30GB so I decided [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/steps-to-convert-enterprise-edition-to-standard-downgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speeding-Up Oracle Export/Import Migration</title>
		<link>http://www.oracledbasupport.co.uk/speeding-up-oracle-exportimport-migration/</link>
		<comments>http://www.oracledbasupport.co.uk/speeding-up-oracle-exportimport-migration/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 17:49:46 +0000</pubDate>
		<dc:creator>Sagar Patil</dc:creator>
				<category><![CDATA[Utilties]]></category>
		<category><![CDATA[everything]]></category>
		<category><![CDATA[Import]]></category>
		<category><![CDATA[import data]]></category>
		<category><![CDATA[predicates]]></category>
		<category><![CDATA[SOFAR]]></category>
		<category><![CDATA[Step]]></category>
		<category><![CDATA[TOTALWORK]]></category>
		<category><![CDATA[use]]></category>

		<guid isPermaLink="false">http://www.oracledbasupport.co.uk/2008/03/04/speeding-up-oracle-exportimport-migration/</guid>
		<description><![CDATA[Step 1 &#8211; export Step 2 &#8211; import data Step 3 &#8211; import everything else 1.Assuming a full export, use direct=y if you&#8217;re not using any predicates in the export. Set your buffer to be big (10MB at least) 2.Alter all your constraints novalidate prior to export if you can bring the app down, and [...]]]></description>
		<wfw:commentRss>http://www.oracledbasupport.co.uk/speeding-up-oracle-exportimport-migration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

