<?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>OracleLog &#187; Administration</title>
	<atom:link href="http://www.oraclelog.com/category/oracle/administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oraclelog.com</link>
	<description>Oracle web log.</description>
	<lastBuildDate>Wed, 07 Apr 2010 19:49:35 +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>ORA-01436: CONNECT BY loop in user data</title>
		<link>http://www.oraclelog.com/2010/04/07/oracle/administration/ora-01436-connect-by-loop-in-user-data/</link>
		<comments>http://www.oraclelog.com/2010/04/07/oracle/administration/ora-01436-connect-by-loop-in-user-data/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 19:45:17 +0000</pubDate>
		<dc:creator>gato</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[CONNECT BY]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[ORA-01436]]></category>

		<guid isPermaLink="false">http://www.oraclelog.com/?p=36</guid>
		<description><![CDATA[If you are trying to debug error ORA-01436: CONNECT BY loop in user data in
the CONNECT BY sql statements, the following might help you:

ALTER SESSION
   SET &#34;_dump_connect_by_loop_data&#34;=TRUE;

-- execute the CONNECT BY here

Now look in the UDUMP destination for the trace file,
it will contain the problematic IDs which are causing the
infinite loop in the [...]]]></description>
			<content:encoded><![CDATA[<p>If you are trying to debug error ORA-01436: CONNECT BY loop in user data in</p>
<p>the CONNECT BY sql statements, the following might help you:</p>
<pre class="brush: sql">
ALTER SESSION
   SET &quot;_dump_connect_by_loop_data&quot;=TRUE;

-- execute the CONNECT BY here
</pre>
<p>Now look in the UDUMP destination for the trace file,<br />
it will contain the problematic IDs which are causing the<br />
infinite loop in the hierarchy.</p>
<p><strong>-OR-</strong></p>
<p>Simply if you want to ignore it, use &#8216;nocycle&#8217; keyword:</p>
<pre class="brush: sql">
select
   ...
from
  ...
start with
  somecol = 12345
connect by nocycle
  prior nodeto_col = nodefrom_col;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclelog.com/2010/04/07/oracle/administration/ora-01436-connect-by-loop-in-user-data/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Oracle Database 11g Release 2 (11.2.0.1.0) for Linux x86, Linux x86-64</title>
		<link>http://www.oraclelog.com/2009/09/02/oracle/oracle-database-11g-release-2-11-2-0-1-0-for-linux-x86-linux-x86-64/</link>
		<comments>http://www.oraclelog.com/2009/09/02/oracle/oracle-database-11g-release-2-11-2-0-1-0-for-linux-x86-linux-x86-64/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 17:56:04 +0000</pubDate>
		<dc:creator>gato</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.oraclelog.com/?p=34</guid>
		<description><![CDATA[Oracle releases Oracle Database 11g Release 2 (11.2.0.1.0) for Linux x86 and Linux x86-64 platforms.
]]></description>
			<content:encoded><![CDATA[<p>Oracle releases <a href="http://www.oracle.com/technology/software/products/database/index.html">Oracle Database 11g Release 2</a> (11.2.0.1.0) for Linux x86 and Linux x86-64 platforms.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclelog.com/2009/09/02/oracle/oracle-database-11g-release-2-11-2-0-1-0-for-linux-x86-linux-x86-64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORA-39125, ORA-01801: date format is too long for internal buffer</title>
		<link>http://www.oraclelog.com/2009/07/20/oracle/ora-39125-ora-01801-date-format-is-too-long-for-internal-buffer/</link>
		<comments>http://www.oraclelog.com/2009/07/20/oracle/ora-39125-ora-01801-date-format-is-too-long-for-internal-buffer/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 18:12:04 +0000</pubDate>
		<dc:creator>gato</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.oraclelog.com/?p=26</guid>
		<description><![CDATA[If your are getting:
ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while  calling DBMS_METADATA.FETCH_XML_CLOB  [TAB
LE:"UNIUS"."SBA_E_SYSTEM_H"]
ORA-01801: date format is too long for  internal buffer
during expdp or dbms_metadata exports, it&#8217;s because there are stored incorrect date values in the dictionary.

The following plsql should _not_ report any tables, if yes you may need to correct the [...]]]></description>
			<content:encoded><![CDATA[<p>If your are getting:</p>
<p><strong>ORA-39125</strong>: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while  calling DBMS_METADATA.FETCH_XML_CLOB  [TAB<br />
LE:"UNIUS"."SBA_E_SYSTEM_H"]<br />
<strong>ORA-01801</strong>: date format is too long for  internal buffer</p>
<p>during <strong>expdp</strong> or <strong>dbms_metadata</strong> exports, it&#8217;s because there are stored incorrect date values in the dictionary.</p>
<p><span id="more-26"></span></p>
<p>The following plsql should _not_ report any tables, if yes you may need to correct the values, see below.</p>
<pre class="brush: sql">

declare
   n number;
begin
   for x in(
      select * from dba_tab_columns
         where column_name = &#039;ANALYZETIME&#039;
            and owner=&#039;SYS&#039;
            and table_name like &#039;%$&#039;
   )
   loop
      N := 0;
      EXECUTE IMMEDIATE &#039;SELECT COUNT(1) FROM &#039;
         || X.TABLE_NAME || &#039;
         WHERE to_char(analyzetime,&#039;&#039;DD-MON-YY&#039;&#039;) = &#039;&#039;00-000-00&#039;&#039;&#039;
         INTO N;

      IF N &gt; 0 THEN
         dbms_output.put_line(&#039;Problem: &#039; || X.TABLE_NAME);
      END IF;

   end loop;
end;
/

Problem: TABSUBPART$
</pre>
<p>To fix the table TABSUBPART$ run the following update: (<strong>!!! FIRST CONSULT ORACLE SUPPORT !!!</strong>)</p>
<pre class="brush: sql">
-- !!! Be sure that you have a valid bakup. !!!
connect / as sysdba
SQL&gt;shutdown immediate
SQL&gt;startup restrict
SQL&gt;update tabsubpart$ set analyzetime = sysdate where to_char(analyzetime,&#039;DD-MON-YY&#039;) = &#039;00-000-00&#039;;
SQL&gt;commit;
SQL&gt;shutdown immediate
SQL&gt;startup
</pre>
<p>Please use this at your own risk, you should always consult Oracle support before doing anything to your database.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclelog.com/2009/07/20/oracle/ora-39125-ora-01801-date-format-is-too-long-for-internal-buffer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling objects with utlrp.sql</title>
		<link>http://www.oraclelog.com/2009/01/16/oracle/compiling-objects-with-utlrpsql/</link>
		<comments>http://www.oraclelog.com/2009/01/16/oracle/compiling-objects-with-utlrpsql/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 16:08:43 +0000</pubDate>
		<dc:creator>gato</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[compiling]]></category>
		<category><![CDATA[startup_upgrade]]></category>
		<category><![CDATA[utlrp]]></category>

		<guid isPermaLink="false">http://www.oraclelog.com/?p=21</guid>
		<description><![CDATA[From my previous expriences with script utlrp.sql provided by Oracle, for mass-compilation of invalid objects, I recommend running this script only in STARTUP UPGRADE / MIGRATE mode. Otherwise you may end up with dictionary and or schema incosistencies especially if you use alot of schema objects (45 000+) .
$ORACLE_HOME/rdbms/admin/utlrp.sql
]]></description>
			<content:encoded><![CDATA[<p>From my previous expriences with script utlrp.sql provided by Oracle, for mass-compilation of invalid objects, I recommend running this script only in STARTUP UPGRADE / MIGRATE mode. Otherwise you may end up with dictionary and or schema incosistencies especially if you use alot of schema objects (45 000+) .</p>
<pre class="brush: sql">$ORACLE_HOME/rdbms/admin/utlrp.sql</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclelog.com/2009/01/16/oracle/compiling-objects-with-utlrpsql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Empty sql_id and other columns in v$session for jobs &#8211; 10.2.0.3</title>
		<link>http://www.oraclelog.com/2008/07/06/oracle/empty-sql_id-and-other-columns-in-vsession-for-jobs-10203/</link>
		<comments>http://www.oraclelog.com/2008/07/06/oracle/empty-sql_id-and-other-columns-in-vsession-for-jobs-10203/#comments</comments>
		<pubDate>Sun, 06 Jul 2008 08:36:38 +0000</pubDate>
		<dc:creator>gato</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[10.2.0.3]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[empty sql_id]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[V$SESSION]]></category>

		<guid isPermaLink="false">http://www.oraclelog.com/?p=20</guid>
		<description><![CDATA[10.2.0.3 has a nasty bug, where one is not able to see what SQL is job actually executing, the following fix will resolve that partially. For parallel slaves the relevant v$session columns are still going to be empty.
5928612 SQL ADDRESS COLUMN IN V$SESSION VIEW FOR JOB IS ZERO
This might be resolved completely in 10.2.0.4, anyone?
]]></description>
			<content:encoded><![CDATA[<p>10.2.0.3 has a nasty bug, where one is not able to see what SQL is job actually executing, the following fix will resolve that partially. For parallel slaves the relevant v$session columns are still going to be empty.</p>
<p><strong>5928612</strong> SQL ADDRESS COLUMN IN V$SESSION VIEW FOR JOB IS ZERO</p>
<p>This might be resolved completely in 10.2.0.4, anyone?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclelog.com/2008/07/06/oracle/empty-sql_id-and-other-columns-in-vsession-for-jobs-10203/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Identity Management(OIM) How to reset OID cn=orcladmin password</title>
		<link>http://www.oraclelog.com/2008/04/04/oracle/oracle-identity-managementoim-how-to-reset-oid-cnorcladmin-password/</link>
		<comments>http://www.oraclelog.com/2008/04/04/oracle/oracle-identity-managementoim-how-to-reset-oid-cnorcladmin-password/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 14:43:43 +0000</pubDate>
		<dc:creator>gato</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[cn=orcladmin]]></category>
		<category><![CDATA[oid]]></category>
		<category><![CDATA[oim]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[reset]]></category>

		<guid isPermaLink="false">http://www.oraclelog.com/?p=19</guid>
		<description><![CDATA[If you wonder what is the password for Oracle Internet Directory(OID) user cn=orcladmin after OIM installation, well, it is exactly the same as ias_admin password specified during installation of OIM. If you really want to reset the password, use included utility resetiASpasswd.sh in $ORACLE_HOME\bin as follows:
First make sure your environment is setup properly for OIM [...]]]></description>
			<content:encoded><![CDATA[<p>If you wonder what is the password for Oracle Internet Directory(OID) user cn=orcladmin after OIM installation, well, it is exactly the same as ias_admin password specified during installation of OIM. <span style="text-decoration: line-through;">If you really want to reset the password, use included utility resetiASpasswd.sh in $ORACLE_HOME\bin as follows:</span></p>
<p><span style="text-decoration: line-through;">First make sure your environment is setup properly for OIM home. (ORACLE_HOME param.)<br />
$ORACLE_HOME/bin/resetiASpasswd.sh cn=orcladmin your_new_pass $ORACLE_HOME</span></p>
<p>To reset OID password use oidpasswd utility as Robbert pointed out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclelog.com/2008/04/04/oracle/oracle-identity-managementoim-how-to-reset-oid-cnorcladmin-password/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Oracle patchset 10.2.0.4</title>
		<link>http://www.oraclelog.com/2008/04/02/oracle/oracle-patchset-10204/</link>
		<comments>http://www.oraclelog.com/2008/04/02/oracle/oracle-patchset-10204/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 21:05:58 +0000</pubDate>
		<dc:creator>gato</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[10.2.0.4]]></category>
		<category><![CDATA[patchset]]></category>

		<guid isPermaLink="false">http://www.oraclelog.com/?p=18</guid>
		<description><![CDATA[Oracle patchset 10.2.0.4 is now available via metalink for Windows(32bit) and Linux x86(32bit) platforms.
Update 22.05.2008: Now available also for some 64 bit platforms like AIX5L 64.
]]></description>
			<content:encoded><![CDATA[<p>Oracle patchset 10.2.0.4 is now available via <a title="Oracle Metalink" href="http://metalink.oracle.com" target="_blank">metalink</a> for Windows(32bit) and Linux x86(32bit) platforms.</p>
<p>Update 22.05.2008: Now available also for some 64 bit platforms like AIX5L 64.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclelog.com/2008/04/02/oracle/oracle-patchset-10204/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PLS-00630 unsupported collection return types / 10G upgrade</title>
		<link>http://www.oraclelog.com/2007/12/21/oracle/pls-00630-unsupported-collection-return-types-10g-upgrade/</link>
		<comments>http://www.oraclelog.com/2007/12/21/oracle/pls-00630-unsupported-collection-return-types-10g-upgrade/#comments</comments>
		<pubDate>Fri, 21 Dec 2007 00:29:53 +0000</pubDate>
		<dc:creator>gato</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[00630]]></category>
		<category><![CDATA[collection]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[PLS]]></category>
		<category><![CDATA[PLS-00630]]></category>
		<category><![CDATA[return]]></category>
		<category><![CDATA[types]]></category>
		<category><![CDATA[unsupported]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.oraclelog.com/2007/12/21/oracle/pls-00630-unsupported-collection-return-types-10g-upgrade/</guid>
		<description><![CDATA[If you&#8217;ve just upgraded from 9i to 10g, and you are using unsupported collection return types in pipelined functions you are no longer able to compile the code due to a more restrictive 10g compiler. Your pipelined functions compiled just fine on 9i. You are unable to compile the functions with the following error message [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve just upgraded from 9i to 10g, and you are using unsupported collection return types in pipelined functions you are no longer able to compile the code due to a more restrictive 10g compiler. Your pipelined functions compiled just fine on 9i. You are unable to compile the functions with the following error message  <strong>PLS-00630</strong>: <em>pipelined functions must have a supported collection return type</em>. If rewriting  huge amounts of code is not an option for you, this event will allow you to compile the code:</p>
<pre class="brush: sql">
ALTER session SET events= &#039;10946 trace name context level 4&#039;;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclelog.com/2007/12/21/oracle/pls-00630-unsupported-collection-return-types-10g-upgrade/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Oracle 11g now available for Windows and 64bit Linux</title>
		<link>http://www.oraclelog.com/2007/10/24/oracle/oracle-11g-now-available-for-windows-and-64bit-linux/</link>
		<comments>http://www.oraclelog.com/2007/10/24/oracle/oracle-11g-now-available-for-windows-and-64bit-linux/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 22:01:05 +0000</pubDate>
		<dc:creator>gato</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[11g]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.oraclelog.com/2007/10/24/oracle/oracle-11g-now-available-for-windows-and-64bit-linux/</guid>
		<description><![CDATA[Microsoft Windows (1.7 GB)
Linux x86 (1.7 GB)
Linux x86-64 (1.8 GB)
]]></description>
			<content:encoded><![CDATA[<p><a href="http://download.oracle.com/otn/nt/oracle11g/win32_11gR1_database.zip">Microsoft Windows</a> (1.7 GB)<br />
<a href="http://download.oracle.com/otn/linux/oracle11g/linux_11gR1_database.zip">Linux x86</a> (1.7 GB)<br />
<a href="http://download.oracle.com/otn/linux/oracle11g/linux.x64_11gR1_database.zip">Linux x86-64</a> (1.8 GB)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclelog.com/2007/10/24/oracle/oracle-11g-now-available-for-windows-and-64bit-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Determining Log Switch Frequency</title>
		<link>http://www.oraclelog.com/2007/07/17/oracle/determining-log-switch-frequency/</link>
		<comments>http://www.oraclelog.com/2007/07/17/oracle/determining-log-switch-frequency/#comments</comments>
		<pubDate>Tue, 17 Jul 2007 14:36:51 +0000</pubDate>
		<dc:creator>olegar</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.oraclelog.com/2007/07/17/oracle/determining-log-switch-frequency/</guid>
		<description><![CDATA[Too much log switching is no good for database, you should see numbers not bigger than 6 per hour. Increasing the size of redo log groups is one way to lower log switch frequency, please refer to Oracle documentation on how to lower log switch frequency.
You can use the following query to determine your log [...]]]></description>
			<content:encoded><![CDATA[<p>Too much log switching is no good for database, you should see numbers not bigger than 6 per hour. Increasing the size of redo log groups is one way to lower log switch frequency, please refer to Oracle documentation on how to lower log switch frequency.</p>
<p>You can use the following query to determine your log switch frequency past 7 days (by hour):<br />
<span id="more-13"></span></p>
<pre class="brush: sql">
SELECT * FROM (
SELECT * FROM (
SELECT   TO_CHAR(FIRST_TIME, &#039;DD/MM&#039;) AS &quot;DAY&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;00&#039;, 1, 0)), &#039;99&#039;) &quot;00:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;01&#039;, 1, 0)), &#039;99&#039;) &quot;01:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;02&#039;, 1, 0)), &#039;99&#039;) &quot;02:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;03&#039;, 1, 0)), &#039;99&#039;) &quot;03:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;04&#039;, 1, 0)), &#039;99&#039;) &quot;04:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;05&#039;, 1, 0)), &#039;99&#039;) &quot;05:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;06&#039;, 1, 0)), &#039;99&#039;) &quot;06:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;07&#039;, 1, 0)), &#039;99&#039;) &quot;07:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;08&#039;, 1, 0)), &#039;99&#039;) &quot;08:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;09&#039;, 1, 0)), &#039;99&#039;) &quot;09:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;10&#039;, 1, 0)), &#039;99&#039;) &quot;10:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;11&#039;, 1, 0)), &#039;99&#039;) &quot;11:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;12&#039;, 1, 0)), &#039;99&#039;) &quot;12:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;13&#039;, 1, 0)), &#039;99&#039;) &quot;13:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;14&#039;, 1, 0)), &#039;99&#039;) &quot;14:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;15&#039;, 1, 0)), &#039;99&#039;) &quot;15:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;16&#039;, 1, 0)), &#039;99&#039;) &quot;16:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;17&#039;, 1, 0)), &#039;99&#039;) &quot;17:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;18&#039;, 1, 0)), &#039;99&#039;) &quot;18:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;19&#039;, 1, 0)), &#039;99&#039;) &quot;19:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;20&#039;, 1, 0)), &#039;99&#039;) &quot;20:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;21&#039;, 1, 0)), &#039;99&#039;) &quot;21:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;22&#039;, 1, 0)), &#039;99&#039;) &quot;22:00&quot;
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, &#039;HH24&#039;), &#039;23&#039;, 1, 0)), &#039;99&#039;) &quot;23:00&quot;
    FROM V$LOG_HISTORY
    WHERE extract(year FROM FIRST_TIME) = extract(year FROM sysdate)
GROUP BY TO_CHAR(FIRST_TIME, &#039;DD/MM&#039;)
) ORDER BY TO_DATE(extract(year FROM sysdate) || DAY, &#039;YYYY DD/MM&#039;) DESC
) WHERE ROWNUM &lt; 8
/
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclelog.com/2007/07/17/oracle/determining-log-switch-frequency/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
