<?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>empty pages &#187; oracle</title> <atom:link href="http://look-in.net/category/oracle/feed/" rel="self" type="application/rss+xml" /><link>http://look-in.net</link> <description></description> <lastBuildDate>Mon, 05 Dec 2011 06:07:14 +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>Additional views for lock investigations</title><link>http://look-in.net/2007/12/04/oracle-additional-views-for-lock-investigations/</link> <comments>http://look-in.net/2007/12/04/oracle-additional-views-for-lock-investigations/#comments</comments> <pubDate>Tue, 04 Dec 2007 08:06:53 +0000</pubDate> <dc:creator>slookin</dc:creator> <category><![CDATA[oracle]]></category> <category><![CDATA[dba_lock]]></category> <category><![CDATA[dba_waiters]]></category> <guid
isPermaLink="false">http://look-in.net/2007/12/04/additional-views-for-lock-investigations/</guid> <description><![CDATA[The lock analyses is one of important step in problem detection, also lock analyses can help to improve performance.
The standard views for analyses is: v$lock and v$session_wait
But Oracle Corp. suggest use additional views for more powerful and fast lock analyzes:
dba_waiters - show all the sessions waiting for locks and the session that holds the  [...]]]></description> <content:encoded><![CDATA[<p>The lock analyses is one of important step in problem detection, also lock analyses can help to improve performance.</p><p>The standard views for analyses is: v$lock and v$session_wait</p><p>But Oracle Corp. suggest use additional views for more powerful and fast lock analyzes:</p><p><span
id="more-69"></span></p><p><strong>dba_waiters </strong>- show all the sessions waiting for locks and the session that holds the  lock.</p><p><img
src="http://look-in.net/wp-content/uploads/2007/12/image3.png" style="border-width: 0px" alt="image" border="0" width="664" height="106" /></p><p><strong>dba_blockers</strong> &#8211; show all the sessions that have someone waiting on a lock they hold, but that are not themselves waiting on a lock.</p><p><img
src="http://look-in.net/wp-content/uploads/2007/12/image4.png" style="border-width: 0px" alt="image" border="0" width="146" height="64" /></p><p><strong>dba_lock</strong> &#8211; has a row for each lock that is being held, and one row for each outstanding request for a lock or latch.</p><p><img
src="http://look-in.net/wp-content/uploads/2007/12/image5.png" style="border-width: 0px" alt="image" border="0" width="813" height="221" /></p><p>dba_kgllock &#8211; auxiliary view containing the KGL locks and pins.internal (slow) view similar as dba_lock.</p><p>dba_dml_lock &#8211; has a row for each DML lock that is being held, and one row for each outstanding request for a DML lock. It is subset of dba_lock.</p><p>dba_ddl_lock &#8211; has a row for each DDL lock that is being held, and one row for each outstanding request for a DDL lock. It is subset of dba_lock.</p><p>The catblock.sql should be used for create such views. You can run it from sqlplus under sys account: @$ORACLE_HOME/rdbms/admin/catblock.sql</p><p>Documentation:</p><p>Oracle 9.2i</p><p><a
href="http://download.oracle.com/docs/cd/B10501_01/server.920/a96536/ch53.htm#1005731" title="http://download.oracle.com/docs/cd/B10501_01/server.920/a96536/ch53.htm#1005731">http://download.oracle.com/docs/cd/B10501_01/server.920/a96536/ch53.htm#1005731</a></p><p>Oracle 10g</p><p><a
href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/scripts002.htm#sthref4200" title="http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/scripts002.htm#sthref4200">http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/scripts002.htm#sthref4200</a></p><p>Oracle 11g see The Hang Manager utility</p><p><a
href="http://download.oracle.com/docs/cd/B28359_01/server.111/b28281/hafeatures.htm#sthref81" title="http://download.oracle.com/docs/cd/B28359_01/server.111/b28281/hafeatures.htm#sthref81">http://download.oracle.com/docs/cd/B28359_01/server.111/b28281/hafeatures.htm#sthref81</a></p> ]]></content:encoded> <wfw:commentRss>http://look-in.net/2007/12/04/oracle-additional-views-for-lock-investigations/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Host credentials when using DBcontrol 10gR2 on Windows</title><link>http://look-in.net/2007/01/16/host-credentials-when-using-dbcontrol-10gr2-on-windows/</link> <comments>http://look-in.net/2007/01/16/host-credentials-when-using-dbcontrol-10gr2-on-windows/#comments</comments> <pubDate>Mon, 15 Jan 2007 20:08:09 +0000</pubDate> <dc:creator>slookin</dc:creator> <category><![CDATA[oracle]]></category> <category><![CDATA[windows]]></category> <guid
isPermaLink="false">http://localhost/wordpress/?p=5</guid> <description><![CDATA[Some operations via web interface require a Host credentials.
You can use &#171;oracle owner&#187; user or create additional user, but you should give additional specific system privilege for this user: Log on as a batch job .
How you can it:
1. Go to Start &#62; Control Panel &#62; Administrative Tools &#62; Local Security Policy
2. Open Security Settings [...]]]></description> <content:encoded><![CDATA[<p>Some operations via web interface require a Host credentials.</p><p>You can use &laquo;oracle owner&raquo; user or create additional user, but you should give additional specific system privilege for this user: <strong>Log on as a batch job .</strong></p><p>How you can it:</p><p>1. Go to Start &gt; Control Panel &gt; Administrative Tools &gt; Local Security Policy<br
/> 2. Open Security Settings &gt; Local Security Policies &gt; User Rights Assignment<br
/> 3. Double-click on Log on as a batch job from the list of privileges in the right pane.<br
/> 4. Click on Add User or Group &#8230; and enter the name of the OS user whose credentials are being used as the preferred credentials for the host.<br
/> 5. Click &#8216;OK&#8217; twice.</p> ]]></content:encoded> <wfw:commentRss>http://look-in.net/2007/01/16/host-credentials-when-using-dbcontrol-10gr2-on-windows/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Non-interactive (silent) install Oracle</title><link>http://look-in.net/2006/11/06/oracle-install-silent/</link> <comments>http://look-in.net/2006/11/06/oracle-install-silent/#comments</comments> <pubDate>Mon, 06 Nov 2006 19:41:57 +0000</pubDate> <dc:creator>slookin</dc:creator> <category><![CDATA[oracle]]></category> <guid
isPermaLink="false">http://localhost/wordpress/?p=18</guid> <description><![CDATA[
The non-interactive (silent) installation Oracle&#8217;s products are very usefully if you going to deploy on multiple servers or your server doesn&#8217;t have GUI.
You should complete following speps for install Oracle&#8217;s products in silent mode:
1) Prepare response file, this file consist answer on question which would answered in dialog mode.
You can choose on of two variant [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://look-in.net/wp-content/uploads/2007/11/silent.jpg" title="silent.jpg" class="thickbox no_icon" rel="gallery-18"><img
src="http://look-in.net/wp-content/uploads/2007/11/silent.jpg" alt="silent.jpg" align="left" hspace="20" vspace="20" /></a></p><p>The non-interactive (silent) installation Oracle&#8217;s products are very usefully if you going to deploy on multiple servers or your server doesn&#8217;t have GUI.</p><p>You should complete following speps for install Oracle&#8217;s products in silent mode:</p><p>1) Prepare response file, this file consist answer on question which would answered in dialog mode.</p><p>You can choose on of two variant for this action:</p><p>a) Edit template for response file (folder <em>response</em> in your installation CD)</p><p>b) You can run test installation with recording all answers into file (this feature available from 9.2 version).</p><p><em>setup -record -destinationFile &lt;response file&gt;</em></p><p>2) Second step &#8211; it is running Universal Installer in silent mode:</p><p><em>setup -silent -destinationFile &lt;response file&gt;</em></p><p>Also, if you want deinstall product in silent mode &#8211; use following command:</p><p><em>setup -deinstall -silent -responseFile &lt;response file&gt;</em></p><p>This short instuction tested on Oracle RDBMS 10g release 2 and Oracle RDBMS 9i release 2 on windows-32 platform, but you can use this advice for any platform and for other version of products.</p><p>Additional information:</p><p>Oracle Official Documentation: <strong><a
href="http://download-east.oracle.com/docs/cd/B19306_01/em.102/b16227/toc.htm">Oracle® Universal Installer and OPatch User&#8217;s Guide</a></strong></p><p>Article from OTN: <em><a
href="http://www.oracle.com/technology/pub/columns/datta_deploy.html">Mass Software Deployment with Oracle 10g</a></em></p> ]]></content:encoded> <wfw:commentRss>http://look-in.net/2006/11/06/oracle-install-silent/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How-To: determinate oracle patch version</title><link>http://look-in.net/2006/08/30/oracle_patchset_version-2/</link> <comments>http://look-in.net/2006/08/30/oracle_patchset_version-2/#comments</comments> <pubDate>Wed, 30 Aug 2006 06:57:24 +0000</pubDate> <dc:creator>slookin</dc:creator> <category><![CDATA[oracle]]></category> <guid
isPermaLink="false">http://localhost/wordpress/?p=28</guid> <description><![CDATA[For determinate current patch version you should use following:
a) select * from v$version;  (Oracle9i Database Reference Release 2 (9.2) Part Number A96536-02)
b) select * from dba_registry; (Oracle9i Database Reference Release 2 (9.2) Part Number A96536-02)
c) readme.html from patches (can be extract from patch bundle or downloaded from metalink)
Первый шаг.
select banner from v$version;
все компоненты должны [...]]]></description> <content:encoded><![CDATA[<p>For determinate current patch version you should use following:<br
/> a) select * from v$version;  (<a
href="http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96536/ch3236.htm#REFRN30133">Oracle9i Database Reference Release 2 (9.2) Part Number A96536-02</a>)<br
/> b) select * from dba_registry; (<a
href="http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96536/ch2351.htm#REFRN23186">Oracle9i Database Reference Release 2 (9.2) Part Number A96536-02</a>)<br
/> c) readme.html from patches (can be extract from patch bundle or downloaded from metalink)</p><p><span
id="more-28"></span></p><p>Первый шаг.</p><p>select banner from v$version;<br
/> все компоненты должны иметь одну и туже версию (9.2.0.x).</p><p>с не большим исключением &#8211; после инсталяции патча 9.2.0.5, CORE компонент будет иметь версию 9.2.0.6 (соответсвенно после патча 9.2.0.6 будет таже версия 9.2.0.6). Это странное поведение описанно на металинке<br
/> <a
href="https://metalink.oracle.com/metalink/plsql/f?p=130:14:6102495708638668149::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,263792.1,1,1,1,helvetica">Doc ID Note:263792.1 9.2.0.5 Patch Set &#8211; Known Issues</a><br
/> Цитирую:</p><p><img
src="http://slookinru.wordpress.com/files/2006/08/WindowsLiveWriter/HowTodeterminateoraclepatchversion_9750/core_9_2_0_6_gif%5B2%5D.gif" height="53" width="627" /></p><p>Пример:</p><p><img
src="http://look-in.net/wp-content/uploads/2007/11/v1.gif" alt="v1.gif" /></p><p>также имеет смысле проверить информацию из dba_registry представления:<br
/> select COMP_NAME, VERSION, STATUS from dba_registry;<br
/> все компоненты должны иметь туже верисию что описанна в readme.html для последнего патча (раздел Patch Set Components). И все компоненты должны иметь статус VALID или LOADED (если вы не используете данный компонент).<br
/> Для примера:<br
/> <img
src="http://look-in.net/wp-content/uploads/2007/11/v2.gif" alt="v2.gif" /></p><p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p><p>но самый простой способ &#8211; это посмотерть приглашение сервера при соединении с ним например через  SQL*Plus</p><p>D:\Temp\&gt;sqlplus <a
href="mailto:XXX/XXX@XXX">XXX/XXX@XXX</a></p><p>SQL*Plus: Release 10.2.0.1.0 &#8211; Production on Tue Aug 29 19:06:10 2006</p><p>Copyright (c) 1982, 2005, Oracle.  All rights reserved.</p><p>Connected to:<br
/> <strong>Oracle9i Enterprise Edition Release 9.2.0.5.0 &#8211; 64bit Production<br
/> </strong>With the Partitioning, OLAP and Oracle Data Mining options<br
/> JServer Release 9.2.0.5.0 &#8211; Production</p><p>или</p><p>select version from v$instance;</p><p>Эти рекомендации применимы к Oracle RDBMS release 9.2, но частично могут быть полезны и на 8.x и на 10.x.</p><p></lang_ru><lang_en></p><p>First step:</p><p>select banner from v$version;<br
/> all core library components must have same version (9.2.0.x).</p><p>with exception of &#8211; after installation 9.2.0.5, CORE component must have version 9.2.0.6 (after patch 9.2.0.6 have same version 9.2.0.6). This strange behavior was described in<br
/> <a
href="https://metalink.oracle.com/metalink/plsql/f?p=130:14:6102495708638668149::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,263792.1,1,1,1,helvetica">Doc ID Note:263792.1 9.2.0.5 Patch Set &#8211; Known Issues</a><br
/> citation:</p><p><img
src="http://slookin.wordpress.com/files/2006/08/WindowsLiveWriter/HowTodeterminateoraclepatchversion_9750/core_9_2_0_6_gif%5B2%5D.gif" height="53" /></p><p>example:</p><p><img
src="http://look-in.net/wp-content/uploads/2007/11/v1.gif" alt="v1.gif" /></p><p>also you can see information from dba_registry view:<br
/> select COMP_NAME, VERSION, STATUS from dba_registry;<br
/> all components must have version which described in readme.html for last patch (chapter Patch Set Components). And all components must be VALID or LOADED (if you don&#8217;t use this component).<br
/> For example:<br
/> <img
src="http://look-in.net/wp-content/uploads/2007/11/v2.gif" alt="v2.gif" /></p><p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p><p>but simpler way it is check welcome message from oracle server then you connect via SQL*Plus</p><p>D:\Temp\&gt;sqlplus <a
href="mailto:XXX/XXX@XXX">XXX/XXX@XXX</a></p><p>SQL*Plus: Release 10.2.0.1.0 &#8211; Production on Tue Aug 29 19:06:10 2006</p><p>Copyright (c) 1982, 2005, Oracle.  All rights reserved.</p><p>Connected to:<br
/> <strong>Oracle9i Enterprise Edition Release 9.2.0.5.0 &#8211; 64bit Production<br
/> </strong>With the Partitioning, OLAP and Oracle Data Mining options<br
/> JServer Release 9.2.0.5.0 &#8211; Production</p><p>or</p><p>select version from v$instance;</p><p>This &laquo;how-to&raquo; note only for Oracle RDBMS release 9.2, but partly can be useful on 8.x and 10.x.</p> ]]></content:encoded> <wfw:commentRss>http://look-in.net/2006/08/30/oracle_patchset_version-2/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>User locks in Oracle</title><link>http://look-in.net/2006/08/18/user-lock-in-oracle/</link> <comments>http://look-in.net/2006/08/18/user-lock-in-oracle/#comments</comments> <pubDate>Fri, 18 Aug 2006 18:29:48 +0000</pubDate> <dc:creator>slookin</dc:creator> <category><![CDATA[oracle]]></category> <category><![CDATA[plsql]]></category> <guid
isPermaLink="false">http://localhost/wordpress/?p=21</guid> <description><![CDATA[As we know, we can use dbms_lock package to manage our application locks. For example we can create &#171;lock&#187; for synchronize logic in application or you can &#171;lock&#187; your external resources (file handler, network sockets etc).
You can use different modes for lock your user resource:
nl -&#62; &#171;NuLl&#187;
ss -&#62; &#171;Sub Shared&#187;
sx -&#62; &#171;Sub eXclusive&#187;
s -&#62; &#171;Shared&#187;
ssx [...]]]></description> <content:encoded><![CDATA[<p>As we know, we can use dbms_lock package to manage our application locks. For example we can create &laquo;lock&raquo; for synchronize logic in application or you can &laquo;lock&raquo; your external resources (file handler, network sockets etc).</p><p><span
id="more-21"></span></p><p>You can use different modes for lock your user resource:</p><ul><li>nl -&gt; &laquo;NuLl&raquo;</li><li>ss -&gt; &laquo;Sub Shared&raquo;</li><li>sx -&gt; &laquo;Sub eXclusive&raquo;</li><li>s -&gt; &laquo;Shared&raquo;</li><li>ssx -&gt; &laquo;Shared Sub eXclusive&raquo;,</li><li>x -&gt; &laquo;eXclusive&raquo;</li></ul><p>The following table is important to understand difference between lock modes:</p><p>If one process &laquo;held&raquo; lock, and other try to get lock &#8211; it get result from this table:</p><p><img
src="http://look-in.net/wp-content/uploads/2007/11/blocks.gif" alt="blocks.gif" /></p><p>Also you can manage timeout to get lock, if resource locked your process will wait during &laquo;timeout&raquo;.</p><p>For example:</p><p><img
src="http://look-in.net/wp-content/uploads/2007/11/blocks2.gif" alt="blocks2.gif" /></p><p>The first process create lock to resource, because resource is free. (for example mode S)</p><p>Second process try to get lock with short timeout and incompatible lock mode (X) , it return value 1 &#8211; TimeOut.</p><p>Third process has log timeout and it create new lock after all previous lock was released.</p><p>Fourth process create new user lock because it has compatible lock mode. (for example S.</p><p>For monitoring user locks you should use:</p><ul><li>dba_lock view (or v$lock),</li><li>DBMS_LOCK_ALLOCATED view</li><li>v$session view</li><li><code>UTLLOCKT.SQL script</code></li></ul><p>documentation:</p><ul><li><a
href="http://www.lc.leidenuniv.nl/awcourse/oracle/appdev.920/a96612/d_lock.htm#998100" target="_blank">DBMS_LOCK package</a></li><li><a
href="http://www.lc.leidenuniv.nl/awcourse/oracle/appdev.920/a96590/adg08sql.htm#2499" target="_blank">About User Locks</a></li></ul><p>version: Oracle 9.2</p> ]]></content:encoded> <wfw:commentRss>http://look-in.net/2006/08/18/user-lock-in-oracle/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
