<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">

  <channel>
    <title>iDevelopment.info News</title>
    <description>RSS Feed for iDevelopment.info News</description>
    <copyright>"Copyright (c) 1998-2012 Jeffrey M. Hunter. All rights reserved."</copyright>
    <link>http://www.idevelopment.info</link>
    <language>en-us</language>
    <pubdate>Wed, 11 Oct 2006 14:59:06 EDT</pubdate>

    <image>
      <title>iDevelopment.info</title>
      <width>302</width>
      <height>60</height>
      <link>http://www.idevelopment.info</link>
      <url>http://www.idevelopment.info/images/idevelopment_database_logo.jpg</url>
    </image>


    <item>
      <title>Install Oracle Database 11g R2 on Linux using Oracle ASM - (OL5)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_22.shtml</link>
      <description>

      <p>
        The article described in this newsletter is a comprehensive guide for 
        installing Oracle Database 11g Release 2 (11.2) on the Oracle Linux 5 (OL5)
        operating environment using Oracle Automatic Storage Management 
        (Oracle ASM) and Oracle Restart.
      </p>
      
      <p>
        Oracle ASM provides a virtualization layer between the database and storage so 
        that multiple disks can be treated as a single disk group and disks can be 
        dynamically added or removed while keeping databases online. The example 
        database created in this guide will use Oracle ASM for all physical database 
        file storage (data files, control files, online redo log files, Fast Recovery 
        Area).
      </p>
      
      <p>
        In previous releases, Oracle ASM was installed as part of the Oracle Database 
        installation. With Oracle Database 11g Release 2, Oracle ASM is part of an 
        Oracle Grid Infrastructure installation, either for a cluster, or for a 
        standalone server. This guide demonstrates how to create a single instance 
        (non-RAC) database using Oracle ASM and therefore will require Oracle Database 
        11g Release 2 Grid Infrastructure for a Standalone Server to be installed 
        before the Oracle Database software.
      </p>
      
      <p>
        Oracle Restart is another component of Oracle Grid Infrastructure for a 
        Standalone Server that will be used in this guide.
      </p>
      
      <p>
        Starting with Oracle Database 11g Release 2, the dbstart and dbshut scripts 
        that were used to automate database startup and shutdown in previous Oracle 
        versions are deprecated. Oracle now recommends to configure Oracle Database 
        with the Oracle Restart feature to automatically restart the database, the 
        listener, Oracle Automatic Storage Management (Oracle ASM), and other Oracle 
        components after a hardware or software failure or when the database host 
        computer restarts. 
      </p>
      
      <p>
        The full version of this article can be found at the following location.
      </p>
      
      <p>
        <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_22.shtml">http://www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_22.shtml</a>
      </p>

      </description>
      <pubDate>Tue, 17 Jan 2012 01:18:31 EDT</pubDate>
    </item>



    <item>
      <title>Install Oracle Database 11g R2 on Linux - (RHEL 6)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_23.shtml</link>
      <description>

      <p>
        The following article provides a comprehensive overview and describes the steps 
        necessary to install Oracle Database 11g Release 2 (11.2) on the Red Hat 
        Enterprise Linux 6 (RHEL6) operating environment. Installing the Oracle 
        Database software is not a difficult task by any means; however, critical 
        prerequisite tasks and key decisions will be discussed during the setup and 
        configuration in this guide that will have a great impact on your installation. 
      </p>

      <p>
        <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_23.shtml">http://www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_23.shtml</a>
      </p>

      <p>
        This guide will include instructions for installing and configuring the Linux 
        operating system, installing the Oracle Database software, creating an example 
        database, managing Oracle Enterprise Manager Database Control, automatically 
        starting and stopping the instance through reboots, and further enhancing the 
        Oracle environment by installing custom DBA management scripts.
      </p>

      </description>
      <pubDate>Mon, 02 Jan 2012 17:48:47 EDT</pubDate>
    </item>



    <item>
      <title>Command History and Auto-Completion for SQL*Plus on Unix/Linux</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/SQL_PLUS/SQLPLUS_8.shtml</link>
      <description>

      <p>
        Oracle sqlplus and rman are popular command-line interfaces that allow for 
        quick and easy access to an Oracle instance. However, unlike most modern 
        command-line tools like MySQL or PostgreSQL, Oracle's sqlplus and rman do not 
        provide persistent command history or auto-completion functionality under Linux 
        and Unix. For example, without command history, making a mistake when typing a 
        long statement in sqlplus often means canceling out and re-entering it all over 
        again.
      </p>

      <p>
        Powerful interfaces like the Unix/Linux bash shell offer auto-completion of the 
        text you are typing (by pressing TAB), access to a history of previous commands 
        (up/down arrows, or CTRL-P/CTRL-N), incremental search on the command history 
        (CTRL-R), moving the cursor and modifying statements within the current line 
        (left/right arrows), and persisting the command history in between invocations. 
        Nearly all these tools use the GNU readline library to provide these 
        capabilities.
      </p>

      <p>
        While not all command-line tools use the GNU readline library (like Oracle's 
        sqlplus and rman), the good news is that these limitations can be easily 
        overcome by using the rlwrap tool written by Hans Lub.
      </p>

      <p>
        The following paper presents examples of how to enhance some of Oracle's 
        command-line utilities like SQL*Plus and RMAN with command history and 
        auto-complete functionality on the Unix/Linux platform.
      </p>

      <p>
        <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/SQL_PLUS/SQLPLUS_8.shtml">http://www.idevelopment.info/data/Oracle/DBA_tips/SQL_PLUS/SQLPLUS_8.shtml</a>
      </p>

      </description>
      <pubDate>Thu, 29 Dec 2011 23:48:40 EDT</pubDate>
    </item>



    <item>
      <title>Permissions Error Accessing Reporting Services - (SQL Server 2008 R2)</title>
      <link>http://www.idevelopment.info/data/SQLServer/DBA_tips/Reporting_Services/REPORTING_5.shtml</link>
      <description>

      <p>
        After <a href="http://www.idevelopment.info/data/SQLServer/DBA_tips/Installation/INSTALL_4.shtml#Reporting%20Services%20Configuration">installing a Reporting Services instance</a>
        and setting up a native mode default configuration, the next step would be to verify that
        the Report Server and Report Manager is functioning correctly. The virtual directories to use for 
        the Report Server and Report Manager can be accessed from a Web browser as follows:
      </p>

      <p>
        <ul>
          <li>  <p>
                  <b>SQL Server Default Instance</b>
                </p>
    
                <p>
                  For a default SQL Server instance, use <tt>http://ServerName/DirectoryName</tt>
                  where <tt>ServerName</tt> is the host name or DNS name for the machine
                  and <tt>DirectoryName</tt> is the name of the virtual directory for either
                  the Report Server (<tt>ReportServer</tt>) or Report Manager (<tt>Reports</tt>).
                  For example:
                </p>
    
                <p>
                  <tt>http://vmwindows1/ReportServer</tt><br>
                  <tt>http://vmwindows1/Reports</tt>
                </p>
          </li>
    
          <li>  <p>
                  <b>SQL Server Named Instance</b>
                </p>
    
                <p>
                  For a named SQL Server instance, use <tt>http://ServerName/DirectoryName$InstanceName</tt>
                  where <tt>ServerName</tt> is the host name or DNS name for the machine,
                  <tt>DirectoryName</tt> is the name of the virtual directory for either
                  the Report Server (<tt>ReportServer</tt>) or Report Manager (<tt>Reports</tt>),
                  and <tt>InstanceName</tt> is the SQL Server instance name. For example:
                </p>
    
                <p>
                  <tt>http://vmwindows1/ReportServer$WebApps01</tt><br>
                  <tt>http://vmwindows1/Reports$WebApps01</tt>
                </p>
    
          </li>
    
        </ul>
      </p>

      <p>
        After providing valid credentials, you will most likely receive the following 
        error message when trying to access either the Report Manager or Report Server 
        for the first time:
      </p>

      <pre><font color="#990000">    User '<domain>\<UserAccount>' does not have required permissions.
    Verify that sufficient permissions have been granted and Windows
    User Account Control (UAC) restrictions have been addressed.</font></pre>

      <p>
        The following article provides a solution to this common permissions error you 
        may receive while attempting to authenticate to the Report Server or Report 
        Manager.
      </p>

      <p>
        <a href="http://www.idevelopment.info/data/SQLServer/DBA_tips/Reporting_Services/REPORTING_5.shtml">Permissions Error Accessing Reporting Services - (SQL Server 2008 R2)</a>
      </p>

      </description>
      <pubDate>Mon, 14 Mar 2011 20:59:03 EDT</pubDate>
    </item>



    <item>
      <title>Using RMAN Incremental Backups to Roll Forward a Physical Standby Database (Oracle 10g)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_53.shtml</link>
      <description>

      <p>
        There are several scenarios that can occur in an Oracle Data Guard 
        configuration which renders a physical standby database as either unusable or 
        invalid. For example, an extended network failure can occur between the primary 
        and standby machines which cause the standby database to fall significantly far 
        behind the primary database. If the necessary archived redo log files needed to 
        synchronize the physical standby database with the primary database are no 
        longer available, log gap resolution will be unable to resolve the gap in the 
        redo stream to catch up the standby.
      </p>

      <p>
        Another popular scenario exists when a DML or DDL operation is performed on the 
        primary database using the NOLOGGING or UNRECOVERABLE clause and the FORCE 
        LOGGING database option is not enabled on the primary. If the FORCE LOGGING 
        database option is not enabled, then Oracle will not log the entire operation 
        in the redo log and thus, never send the modified data to the standby database 
        for recovery. While this doesn't necessarily render the entire standby database 
        as unusable, it does invalidate the standby for those tables affected and may 
        require substantial DBA administrative activities to repair. Although you can 
        specify the ALTER DATABASE FORCE LOGGING statement on the primary database to 
        override the NOLOGGING clause and prevent this type of damage to occur in the 
        future, this statement will not repair a standby database that has already been 
        invalidated.
      </p>

      <p>
        In each of the scenarios listed above, one solution would be to simply delete 
        and formally re-create the physical standby database to enter it back into the 
        Data Guard configuration. Depending on the size of the database, rebuilding the 
        standby database could be an expensive operation as it would potentially 
        involve a lot of time and resources making this a nonviable option.
      </p>

      <p>
        The following guide presents a quick and efficient alternative to rebuilding a 
        physical standby database in Oracle Database 10<i>g</i> Release 2 by using RMAN 
        incremental backups to roll forward and resynchronize a physical standby 
        database with the primary database. Using the RMAN BACKUP INCREMENTAL FROM SCN 
        command, you can create an incremental backup on the primary database that 
        starts at the standby database's current SCN, which can then be used to roll 
        the standby database forward in time. 
      </p>

      <p>
        <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_53.shtml">Using RMAN Incremental Backups to Roll Forward a Physical Standby Database (Oracle 10g)</a>
      </p>

      <p>
        This guide will provide step-by-step recovery procedures which cover the 
        following three scenarios:
      </p>

      <p>
        <ul>
          <li>  Physical Standby Database Lags Far Behind the Primary Database</li>
          <li>  Physical Standby Database Has Nologging Changes On a Subset of Datafiles</li>
          <li>  Physical Standby Database Has Widespread Nologging Changes</li>
        </ul>
      </p>

      </description>
      <pubDate>Thu, 02 Mar 2011 23:05:19 EDT</pubDate>
    </item>



    <item>
      <title>Data Guard Configuration Example, Oracle 10g, Logical Standby</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_45.shtml</link>
      <description>

      <p>
        Oracle Data Guard (known as Oracle Standby Database prior to Oracle9i), forms 
        an extension to the Oracle RDBMS and provides organizations with high 
        availability, data protection, and disaster recovery for enterprise databases. 
        Oracle Data Guard provides the DBA with services for creating, maintaining, 
        managing, and monitoring one or more standby databases. The functionality 
        included with Oracle Data Guard enables enterprise data systems to survive both 
        data corruption as well as major disasters. 
      </p>

      <p>
        The following article provides instructions for creating and configuring a 
        logical standby database from a primary database using Oracle Database 10g 
        Release 2 (10.2) operating in maximum performance protection mode:
      </p>

      <p>
        <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_45.shtml">Data Guard Configuration Example - (Oracle 10g, Logical Standby)</a>
      </p>

      <p>
        It should be noted that several different methods exist to create a logical 
        standby database configuration and that this is just one of those ways. The 
        methods outlined in this guide present a simple approach that should be easy to 
        implement in most situations. In fact, if you break down the essential tasks 
        required to build a logical standby database, you will see that it is 
        essentially nothing more than creating an initial physical standby database, 
        building a dictionary in the redo data for LogMiner, verifying supplemental 
        logging is enabled on both the primary and standby, converting the physical 
        standby database to a logical standby database, putting the logical standby 
        database in managed recovery mode (SQL Apply), and starting remote archiving 
        from the primary database (Redo Transport). Obviously there are a number of 
        smaller steps I am leaving out which will all be discussed in more depth 
        throughout this guide. 
      </p>

      <p>
        All configuration parameters related to the Oracle instance and networking will 
        be discussed as well as how to place the standby database in Managed Recovery 
        Mode.
      </p>

      </description>
      <pubDate>Mon, 17 Jan 2011 19:53:45 EDT</pubDate>
    </item>



    <item>
      <title>How to Drop a Datafile from a Tablespace</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Database_Administration/DBA_16.shtml</link>
      <description>

      <p>
        I have been asked on several occasions about how to drop a datafile from a 
        tablespace. Much of the confusion comes from the "ALTER DATABASE DATAFILE 
        <datafile name> OFFLINE DROP" statement. This statement is not meant to allow 
        you to remove a datafile. What the statement really means is that you are 
        offlining the datafile with the intention of dropping the tablespace.
      </p>
      
      <p>
        There are two reasons why a DBA would want to remove a datafile from a 
        tablespace:
      </p>
      
      <ul>
        <li>  <p>
                The DBA may have mistakenly added a file to a tablespace, or perhaps made 
                the file much larger than intended and now want to remove it.
              </p>
        </li>
      
        <li>  <p>
                The DBA may be involved in a recovery scenario and the database won't start 
                because a datafile is missing.
              </p>
        </li>
      </ul>
      
      <p>
        Until Oracle Database 10g Release 2, Oracle did not provide an interface for 
        dropping datafiles in the same way you would drop a schema object such as a 
        table or a user. Prior to 10gr2, once the DBA created a datafile for a 
        tablespace, the datafile could not be removed. This article discusses several 
        workarounds to this limitation as well as the new DROP DATAFILE / TEMPFILE 
        statement introduced with Oracle 10g R2.
      </p>
      
      <p>
        In the following article, I will attempt to erase the confusion surrounding 
        this ALTER DATABASE statement and how to successfully drop a datafile from a 
        tablespace:
      </p>
      
      <p>
        <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Database_Administration/DBA_16.shtml">How to Drop a Datafile from a Tablespace</a>
      </p>

      </description>
      <pubDate>Fri, 06 Jan 2011 21:19:54 EDT</pubDate>
    </item>



    <item>
      <title>Activating the Standby Database - (Oracle 10g, Physical Standby) </title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_47.shtml</link>
      <description>

      <p>
        The tasks involved in creating and managing a Data Guard configuration are 
        fairly straightforward. Once the standby database is put into operation, you 
        are happy, your customer is happy, management is happy - everyone is happy with 
        the piece of mind that their data is being replicated to their disaster 
        recovery site. But the time will eventually come where the inevitable will 
        occur and the primary database becomes unavailable. You are now faced with 
        failing over production activities to an available standby database. Other 
        circumstances can also arise where scheduled maintenance needs to occur on the 
        primary database and database operations need to be switched over to the 
        standby database. In either case, the role of the primary database and the 
        standby database will need to be changed. This is known as Role Transition and 
        is the subject of the following article:
      </p>

      <p>
        <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_47.shtml">Activating the Standby Database - (Oracle 10g, Physical Standby)</a>
      </p>

      <p>
        It is assumed that a primary and one physical standby database is already 
        configured in order to perform the role transition steps described in this 
        guide. The examples used in this guide will make use of the Oracle Data Guard 
        configuration described in the article:
      </p>

      <p>
        <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_40.shtml">Data Guard Configuration Example - (Oracle 10g, Physical Standby)</a>
      </p>

      </description>
      <pubDate>Fri, 15 Dec 2010 18:34:32 EDT</pubDate>
    </item>



    <item>
      <title>Data Guard Configuration Example - (Oracle 10g, Physical Standby)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_40.shtml</link>
      <description>

      <p>
        Oracle Data Guard (known as Oracle Standby Database prior to Oracle9i), forms 
        an extension to the Oracle RDBMS and provides organizations with high 
        availability, data protection, and disaster recovery for enterprise databases. 
        Oracle Data Guard provides the DBA with services for creating, maintaining, 
        managing, and monitoring one or more standby databases. The functionality 
        included with Oracle Data Guard enables enterprise data systems to survive both 
        data corruption as well as major disasters.
      </p>

      <p>
        The following article provides instructions for creating and configuring a 
        physical standby database from a primary database using Oracle Database 10g 
        Release 2 (10.2) operating in maximum performance protection mode:
      </p>

      <p>
        <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_40.shtml">Data Guard Configuration Example - (Oracle 10g, Physical Standby)</a>
      </p>

      <p>
        It should be noted that several different methods exist to create a physical 
        standby database configuration and that this is just one of those ways. The 
        methods outlined in this guide present a simple approach that should be easy to 
        implement in most situations. In fact, if you break down the essential tasks 
        required to build a standby database, you will see that it is essentially 
        nothing more than taking a backup of the primary database, creating a standby 
        controlfile, transferring the files to the standby host, mounting the standby 
        database, putting the standby database in managed recovery mode (Redo Apply), 
        and starting remote archiving from the primary database (Redo Transport). 
        Obviously there are a number of smaller steps I am leaving out which will all 
        be discussed in more depth throughout this guide.
      </p>

      <p>
        All configuration parameters related to the Oracle instance and networking will 
        be discussed as well as how to place the standby database in Managed Recovery 
        Mode. 
      </p>

      </description>
      <pubDate>Fri, 10 Dec 2010 11:56:30 EDT</pubDate>
    </item>



    <item>
      <title>Using the Oracle ASM Cluster File System (Oracle ACFS) on Linux</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Automatic_Storage_Management/ASM_50.shtml</link>
      <description>

      <p>
        Using the Oracle ASM Cluster File System (Oracle ACFS) on Linux
        Introduced with Oracle ASM 11g release 2, Oracle ASM Cluster File System 
        (Oracle ACFS) is a general purpose cluster file system implemented as part of 
        Oracle Automatic Storage Management (Oracle ASM). Oracle ACFS extends the 
        Oracle ASM architecture and is used to support many types of files which are 
        typically maintained outside of the Oracle database. For example Oracle ACFS 
        can be used to store BFILEs, database trace files, executables, report files 
        and even general purpose files like image, text, video, and audio files. In 
        addition, Oracle ACFS can be used as a shared file system for Oracle home 
        binaries.
      </p>
        
      <p>
        The features included with Oracle ACFS allow users to create, mount, and manage 
        ACFS using familiar Linux commands. Oracle ACFS provides support for snapshots 
        and the ability to dynamically resize existing file system online using Oracle 
        ASM Dynamic Volume Manager (ADVM).
      </p>
        
      <p>
        Oracle ACFS leverages Oracle ASM functionality that enables:
      </p>

      <p>
        <ul>
          <li> Oracle ACFS dynamic file system resizing </li>
          <li> Maximized performance through direct access to Oracle ASM disk group storage </li>
          <li> Balanced distribution of Oracle ACFS across Oracle ASM disk group storage for increased I/O parallelism </li>
          <li> Data reliability through Oracle ASM mirroring protection mechanisms </li>
        </ul>
      </p>

      <p>
        My recent article on using the Oracle ASM Cluster File System provides a hands
        on approach to creating and managing ACFS and ADVM on the Linux operating 
        system using the following methods:
      </p>

      <p>
        <ul>
          <li> ASM Configuration Assistant (ASMCA) </li>
          <li> Oracle Enterprise Manager (OEM) </li>
          <li> Command Line / SQL / ASMCMD </li>
        </ul>
      </p>

      <p>
        A full discussion on the different Oracle ACFS components will also be 
        presented as well as snapshots, file system recovery, and management techniques.
      </p>

      <p>
        <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Automatic_Storage_Management/ASM_50.shtml">Using the Oracle ASM Cluster File System (Oracle ACFS) on Linux</a>
      </p>

      </description>
      <pubDate>Sun, 28 Nov 2010 16:07:29 EDT</pubDate>
    </item>



    <item>
      <title>Building an Inexpensive Oracle RAC 11g R2 on Linux - (RHEL 5.5)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle11gRAC/CLUSTER_12.shtml</link>
      <description>

      <p>
        Oracle RAC 11g release 2 allows DBA's to configure a clustered database 
        solution with superior fault tolerance, load balancing, and scalability. 
        However, DBA's who want to become more familiar with the features and benefits 
        of database clustering will find the costs of configuring even a small RAC 
        cluster costing in the range of US$10,000 to US$20,000. This cost would not 
        even include the heart of a production RAC configuration, the shared storage. 
        In most cases, this would be a Storage Area Network (SAN), which generally 
        start at US$10,000.
      </p>

      <p>
        Unfortunately, for many shops, the price of the hardware required for a typical 
        RAC configuration exceeds most training budgets. For those who want to become 
        familiar with Oracle RAC 11g without a major cash outlay, the following guide 
        provides a low-cost alternative to configuring an Oracle RAC 11g release 2 
        system using commercial off-the-shelf components and downloadable software at 
        an estimated cost of US$2,800. 
      </p>

      <p>
        This guide provides detailed instructions on how to build a two-node Oracle RAC 
        system using low cost hardware and freely available software. A network storage 
        server will be built using <a target="_blank" href="http://www.openfiler.com/">Openfiler 2.3 (Final)</a> and <a target="_blank" href="http://en.wikipedia.org/wiki/ISCSI">iSCSI</a> technology which 
        will be used for all shared storage requirements. Powered by <a target="_blank" href="http://www.rpath.com/">rPath Linux</a>, 
        Openfiler is a free browser-based network storage management utility that 
        delivers file-based Network Attached Storage (NAS) and block-based Storage Area 
        Networking (SAN) in a single framework. Openfiler supports CIFS, NFS, HTTP/DAV, 
        FTP, however, I will only be making use of its iSCSI capabilities to implement 
        an inexpensive SAN for the shared storage component required by Oracle RAC 11g.
      </p>

      <p>
        The new article can be found at:
      </p>

      <p>
        <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle11gRAC/CLUSTER_12.shtml">Building an Inexpensive Oracle RAC 11g R2 on Linux - (RHEL 5.5)</a>
      </p>

      </description>
      <pubDate>Mon, 08 Nov 2010 16:00:27 EDT</pubDate>
    </item>



    <item>
      <title>Flushing the Oracle Data Buffer Cache During Performance Testing</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Database_Administration/DBA_29.shtml</link>
      <description>

      <p>
        A common question among developers is how to flush the Oracle data buffer 
        cache. During performance testing, it is important to replicate a real-world 
        production environment as closely as possible; especially when it involves 
        reducing physical I/O (disk reads). Developers need the ability to test the 
        effects of changing execution paths without getting accidental benefits from 
        the buffered data in the database buffer cache. Having the ability to flush the 
        data buffer cache is essential throughout this phase of the SQL tuning process. 
      </p>

      <p>
        The following note provides several methods used to flush the Oracle data 
        buffer cache depending on the release of Oracle.
      </p>

      <p>
        <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Database_Administration/DBA_29.shtml">Flushing the Oracle Data Buffer Cache During Performance Testing</a>
      </p>

      </description>
      <pubDate>Sun, 23 Sep 2010 15:54:18 EDT</pubDate>
    </item>



    <item>
      <title>Connect to SQL Server 2008 from Linux using Perl DBI</title>
      <link>http://www.idevelopment.info/data/SQLServer/DBA_tips/Programming/PROG_4.shtml</link>
      <description>

      <p>
        If you are a system administrator or DBA, you know the importance of scripting. 
        For many administrators, the choice is Perl. Given the fact that Perl is open 
        source, available on almost all O/S platforms and extremely modular, many 
        popular modules have been developed to extend the language. DBAs for example, 
        have enjoyed the ease of scripting database functions using the "Database 
        independent interface for Perl" or better known as DBI.
      </p>

      <p>
        The DBI is a database access module for the Perl programming language. It 
        defines a set of methods, variables, and conventions that provide a consistent 
        database interface, independent of the actual database being used.
      </p>

      <p>
        The following article describes how to access Microsoft SQL Server 2008 from a 
        Linux server using the Perl DBD::Sybase driver module (this is the Sybase 
        driver for the Perl DBI) combined with FreeTDS. FreeTDS is a set of libraries 
        for Unix and Linux that allows your programs to natively talk to Microsoft SQL 
        Server 2008 and Sybase databases.
      </p>

      <p>
        The full article can be found at:
      </p>

      <p>
        <a href="http://www.idevelopment.info/data/SQLServer/DBA_tips/Programming/PROG_4.shtml">Connect to SQL Server 2008 from Linux using Perl DBI</a>
      </p>

      </description>
      <pubDate>Sun, 19 Sep 2010 19:44:02 EDT</pubDate>
    </item>



    <item>
      <title>Install AdventureWorks Sample Databases - (SQL Server 2008 R2)</title>
      <link>http://www.idevelopment.info/data/SQLServer/DBA_tips/Installation/INSTALL_10.shtml</link>
      <description>

      <p>
        To facilitate the new SQL Server articles and scripts on the
        <a target="_blank" href="http://www.idevelopment.info">iDevelopment.info</a>
        website, all of the examples are based on the AdventureWorks 2008R2 sample 
        databases. These sample databases are part of the "AdventureWorks Community 
        Sample Databases".
      </p>

      <p>
        The following sample databases are available as part of the AdventureWorks 
        Community Sample Databases for SQL Server 2008 R2:
      </p>

      <p>
        <ul>
          <li> AdventureWorks OLTP 2008R2 </li>
          <li> AdventureWorks Data Warehouse 2008R2 </li>
          <li> AdventureWorks LT 2008R2 </li>
        </ul>
      </p>
      
      <p>
        Starting with SQL Server 2005, the sample databases are not installed by 
        default due to security concerns. Users are now required to download and 
        manually install the sample databases after successfully setting up SQL Server.
      </p>

      <p>
        The following article presents the steps required to download and install all 
        sample database found in the AdventureWorks Community Sample Databases package 
        for SQL Server 2008 R2.
      </p>

      <p>
        The full article can be found at:
      </p>

      <p>
        <a href="http://www.idevelopment.info/data/SQLServer/DBA_tips/Installation/INSTALL_10.shtml">Install AdventureWorks Sample Databases - (SQL Server 2008 R2)</a>
      </p>

      </description>
      <pubDate>Sun, 19 Sep 2010 14:54:23 EDT</pubDate>
    </item>



    <item>
      <title>Using UTL_HTTP and an Oracle Wallet to Establish a Secure URL Connection (SSL)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/PL_SQL/PLSQL_19.shtml</link>
      <description>

      <p>
        An article describing the steps necessary to establish a secure URL connection 
        (SSL) using the UTL_HTTP Oracle PL/SQL package and an Oracle Wallet. In order 
        to fully demonstrate the required steps, I will be establishing a secure URL 
        connection to the web site https://www.centos.org/ from within PL/SQL.
      </p>

      <p>
        In order to establish a connection to a secure URL from an Oracle database 
        server, the following tasks will need to be performed:
      </p>

      <p>
        <ul>
          <li> Capture all required certificates from the SSL site </li>
          <li> Create an Oracle Wallet that is accessible on the database server </li>
          <li> Import the required certificate(s) of the SSL site into the Oracle Wallet </li>
          <li> Use the UTL_HTTP.SET_WALLET PL/SQL procedure before attempting to access the secure URL </li>
        </ul>
      </p>

      <p>
        The full article can be found at:
      </p>

      <p>
        <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/PL_SQL/PLSQL_19.shtml">Using UTL_HTTP and an Oracle Wallet to Establish a Secure URL Connection (SSL)</a>
      </p>

      </description>
      <pubDate>Mon, 13 Sep 2010 12:36:38 EDT</pubDate>
    </item>



    <item>
      <title>Differences in df and du on Oracle Cluster File System (OCFS2) and Orphan Files</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/OCFS2/OCFS2_5.shtml</link>
      <description>

        <p>
          Differences in df and du on Oracle Cluster File System (OCFS2) and Orphan Files
          Recently, it was noticed that the "df" and "du" commands were displaying 
          different results from several nodes on two OCFS2 file systems. The cluster 
          file systems were being used as shared storage for an Oracle RAC 10g 
          configuration (Clusterware shared files and the Flash Recovery Area).
        </p>

        <p>
          Researching this problem yielded a bug with the OCFS2 kernel driver (1.4.2-1) 
          that was apparently leaving deleted files in the orphan directory (the 
          //orphan_dir name space in OCFS2) after being deleted from the disk.
        </p>

        <p>
          When an object (file and/or directory) is deleted from an OCFS2 cluster file 
          system, the file system unlinks the object entry from the existing directory 
          and links it as an entry against that cluster node's orphan directory (the 
          //orphan_dir name space in OCFS2). When the object is eventually no longer used 
          across the cluster, the file system frees it's inode including all disk space 
          associated with it.
        </p>

        <p>
          It was determined that orphan files on the OCFS2 cluster file system were 
          responsible for the significant difference between the df and du commands. 
          OCFS2 was leaving some deleted files in the orphan directory (the 
          //orphan_dir name space in OCFS2) after being deleted.
        </p>

        <p>
          The following article highlights the steps involved in troubleshooting disk 
          space usage on an OCFS2 cluster file system and how to resolve the discrepancy 
          between the df and du commands.
        </p>

        <p>
          <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/OCFS2/OCFS2_5.shtml">Differences in df and du on Oracle Cluster File System (OCFS2) and Orphan Files</a>
        </p>

      </description>
      <pubDate>Wed, 18 Aug 2010 19:43:18 EDT</pubDate>
    </item>



    <item>
      <title>Upgrading OCFS2 - Version 1.4</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/OCFS2/OCFS2_1.shtml</link>
      <description>

        <p>
          An article describing the steps necessary to upgrade an installation of Oracle 
          Cluster File System 2 (OCFS2) 1.4 on the Linux platform. More specifically, the 
          OCFS2 kernel driver will be upgraded from version 1.4.4-1 to the latest release 
          which at the time of this writing is 1.4.7-1.
        </p>

        <p>
          In addition, the OCFS2 Tools and Console will be upgraded from version 1.4.3-1 
          to version 1.4.4-1.
        </p>

        <p>
          For the purpose of this article, a single OCFS2 file system is configured on a 
          two node Oracle RAC 10g environment to support a shared file system required by 
          Oracle Clusterware (the Oracle cluster registry file and the voting disk).
        </p>

        <p>
          The full article can be found at:
        </p>

        <p>
          <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/OCFS2/OCFS2_1.shtml">Upgrading OCFS2 - 1.4</a>
        </p>

      </description>
      <pubDate>Wed, 18 Aug 2010 01:47:18 EDT</pubDate>
    </item>



    <item>
      <title>Resolve Duplicate CRS Cluster Name in EM Grid Control - (Grid Control 10g)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Enterprise_Manager/OEM_20.shtml</link>
      <description>

        <p>
          During the <a href="/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_12.shtml#Install Oracle Clusterware 10g Software">installation of Oracle Clusterware</a>, you are asked to <a href="/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_12.shtml#Specify Cluster Configuration - Cluster Name">specify a name</a>
          for the cluster. If you're like me, you may opt to keep the CRS Cluster Name 
          set to its default value of "crs". Even when configuring a second or third 
          Oracle RAC within an organization, we many times simply leave the cluster name 
          for the new clusters set to their default value of crs. Although I believe it 
          is bad practice to configure multiple Oracle RAC clusters with the same CRS 
          cluster name, it doesn't necessarily cause any conflicts given these clusters 
          don't interact with each other. The clustered databases work independently from 
          each other without incident. That is, until you register multiple clustered 
          databases with the same CRS cluster name in Oracle Enterprise Manager Grid 
          Control!
        </p>

        <p>
          An issue can arise when multiple Oracle RAC clusters with the same CRS cluster 
          name are registered as targets in EM Grid Control. While not causing a problem 
          with the cluster itself, it does cause EM Grid Control to think both clusters 
          are the same.
        </p>

        <p>
          The following article will explain the steps used to change the EM cluster 
          target name(s) in Grid Control from their default name of "crs" to avoid 
          conflict with other cluster targets. In this article, a new EM cluster target 
          name will be created in EM Grid Control for two Oracle RAC database 
          environments that were registered in EM Grid Control with the same EM cluster 
          target name.
        </p>

        <p>
          <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Enterprise_Manager/OEM_20.shtml">Resolve Duplicate CRS Cluster Name in EM Grid Control - (Grid Control 10g)</a>
        </p>

      </description>
      <pubDate>Wed, 11 Aug 2010 23:10:40 EDT</pubDate>
    </item>



    <item>
      <title>Recover Corrupt/Missing Oracle Cluster Registry (OCR) with No Backup - (Oracle 10g)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_70.shtml</link>
      <description>

        <p>
          Recover Corrupt/Missing Oracle Cluster Registry (OCR) with No Backup - (Oracle 10g)
          It happens. Not very often, but it can happen. You are faced with a corrupt or 
          missing Oracle Cluster Registry (OCR) and have no backup to recover from. So, 
          how can something like this occur? We know that the CRSD process is responsible 
          for creating backup copies of the OCR every 4 hours from the master node in the 
          CRS_home/cdata directory. These backups are meant to be used to recoverthe OCR 
          from a lost or corrupt OCR file using the <a href="/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_65.shtml#Recover%20OCR%20from%20Automatically%20Generated%20Physical%20Backup">ocrconfig -restore</a> command, so how 
          is it possible to be in a situation where the OCR needs to be recovered and you 
          have no viable backup?
        </p>

        <p>
          Well, consider a scenario where you add a node to the cluster and before the 
          next backup (before 4 hours) you find the OCR has been corrupted. You may have 
          forgotten to create a <a href="/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_65.shtml#OCR%20Backup:%20Manual%20OCR%20Exports">logical export</a> of the OCR before adding the new node or 
          worse yet, the logical export you took is also corrupt. In either case, you are 
          left with a corrupt OCR and no recent backup. Talk about a bad day! Another 
          possible scenario could be a shell script that wrongly deletes all available 
          backups. Talk about an even worse day.
        </p>

        <p>
          In the event the OCR is corrupt on one node and all options to recover it have 
          failed, one safe way to re-create the OCR (and consequently the voting disk) is 
          to reinstall the Oracle Clusterware software. In order to accomplish this, a 
          complete outage is required for the entire cluster throughout the duration of 
          the re-install. The Oracle Clusterware software will need to be fully removed, 
          the OCR and voting disks reformatted, all virtual IP addresses (VIPs) 
          de-installed, and a complete reinstall of the Oracle Clusterware software will 
          need to be performed. It should also be noted that any patches that were 
          applied to the original clusterware install will need to be re-applied. As you 
          can see, having a backup of the OCR and voting disk can dramatically simplify 
          the recovery of your system!
        </p>

        <p>
          A second and much more efficient method used to re-create the OCR (and 
          consequently the voting disk as well) is to <a href="/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_70.shtml#Recover%20Corrupt/Missing%20OCR">re-run the root.sh script</a> from the 
          primary node in the cluster. This is described in Doc ID: 399482.1 on the
          <a target="_blank" href="http://www.myoraclesupport.com/">My Oracle Support</a> web site. The procedures actually call for running the 
          rootdelete.sh and rootdeinstall.sh on all nodes in the cluster before running 
          root.sh. In my opinion, this method is quicker and much less intrusive than 
          reinstalling Oracle Clusterware and the one described in the following article:
        </p>

        <p>
          <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_70.shtml">Recover Corrupt/Missing Oracle Cluster Registry (OCR) with No Backup - (Oracle 10g)</a>
        </p>

      </description>
      <pubDate>Mon, 12 Oct 2009 23:05:20 EDT</pubDate>
    </item>



    <item>
      <title>OCR File and Voting Disk Administration by Example - (Oracle 10g)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_65.shtml</link>
      <description>

        <p>
          Oracle Clusterware 10g, formerly known as Cluster Ready Services (CRS) is 
          portable cluster software that allows clustering of single servers so that they 
          cooperate as a single system. This infrastructure simplifies the requirement 
          for an Oracle Real Application Clusters (RAC) database by providing cluster 
          software that is tightly integrated with the Oracle Database.
        </p>

        <p>
          The Oracle Clusterware requires two critical clusterware components: a voting 
          disk to record node membership information and the Oracle Cluster Registry 
          (OCR) to record cluster configuration information. Both components play an 
          extremely important role in the overall health and availability of the cluster.
        </p>

        <p>
          The following article provides a detailed look at how to administer the OCR and 
          voting disk using illustrative examples and instructions on how to create a 
          robust backup and recovery strategy. It is intended for DBAs, System 
          Administrators, and Support Engineers tasked with supporting an Oracle RAC 10g 
          environment. The examples described in this guide were tested with Oracle RAC 
          10g Release 2 (10.2.0.4) on the Linux x86 platform.
        </p>

        <p>
          <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_65.shtml">OCR File and Voting Disk Administration by Example - (Oracle 10g)</a>
        </p>

      </description>
      <pubDate>Thu, 08 Oct 2009 23:48:15 EDT</pubDate>
    </item>



    <item>
      <title>Add a Node to an Existing Oracle RAC 10g R2 Cluster on Linux - (RHEL 5)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_21.shtml</link>
      <description>

        <p>
          Reclaiming Unused LOB Space in Oracle
          Manually reclaiming unused space in a normal Oracle table is a fairly simple 
          process and can be performed online starting with Oracle 10g R1.
        </p>

        <p>
          What if, however, the table contains a LOB column that contains significant 
          unused space? Starting with Oracle 10g R2, Oracle provides a solution that 
          allows users to reclaim LOB space (LOB data and LOB index) and that is the topic 
          of the following recently published article:
        </p>

        <p>
          <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/LOBs/LOBS_85.shtml">Reclaiming Unused LOB Space in Oracle</a>
        </p>

      </description>
      <pubDate>Wed, 09 Sep 2009 23:43:28 EDT</pubDate>
    </item>



    <item>
      <title>Add a Node to an Existing Oracle RAC 10g R2 Cluster on Linux - (RHEL 5)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_21.shtml</link>
      <description>

        <p>
          Starting with Oracle 11g, Fast Application Notification (FAN) can be used with 
          SQL*Plus. With Oracle RAC 11g, you can specify the -F (FAILOVER) option to the 
          sqlplus command. This enabled SQL*Plus to interact with the OCI failover mode 
          in a Real Application Cluster (RAC) environment. In this mode, a service or 
          instance failure is transparently handled with transaction status messages if 
          applicable.
        </p>
  
        <p>
          For an in-depth working example that describes the Fast Connection Failover 
          (FCF) mechanism, please consult the following JDBC Java application:
        </p>
  
        <p>
          <a href="http://www.idevelopment.info/data/Programming/java/jdbc/High_Availability/FastConnectionFailoverExampleThin.java">Using FAN with SQL*Plus in Oracle 11g</a>
        </p>

      </description>
      <pubDate>Sun, 27 Sep 2009 19:54:04 EDT</pubDate>
    </item>



    <item>
      <title>Add a Node to an Existing Oracle RAC 10g R2 Cluster on Linux - (RHEL 5)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_21.shtml</link>
      <description>

        <p>
          Adding a Node to an Oracle RAC 10g Release 2 Cluster on Linux - (CentOS 5.3 / iSCSI)
          As your organization grows so too does your need for more application and 
          database resources to support the company's IT systems. Oracle RAC 10g 
          provides a scalable framework which allows DBA's to effortlessly extend the 
          database tier to support this increased demand. As the number of users and 
          transactions increase, additional Oracle instances can be added to the Oracle 
          database cluster to distribute the extra load.
        </p>
  
        <p>
          I recently published an extension to my article 
          "<a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_12.shtml">Building an Inexpensive Oracle RAC 10g Release 2 on Linux - (CentOS 5.3 / iSCSI)</a>". 
          Contained in this new article are the steps required to add a single node to an 
          already running and configured two-node Oracle RAC 10g Release 2 environment on 
          the CentOS 32-bit (x86) platform. Although this article was written and tested 
          on CentOS 5.3 Linux, it should work unchanged with Red Hat Enterprise Linux 5 
          Update 3.
        </p>
  
        <p>
          The new article can be accessed using the following link:
        </p>
  
        <p>
          <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_21.shtml">Add a Node to an Existing Oracle RAC 10g Release 2 Cluster on Linux - (CentOS 5.3 / iSCSI)</a>
        </p>

      </description>
      <pubDate>Thu, 03 Sep 2009 16:07:52 EDT</pubDate>
    </item>



    <item>
      <title>Build an Inexpensive Oracle RAC 10g R2 using iSCSI on Linux - (RHEL 5)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_12.shtml</link>
      <description>

        <p>
          This week I published the latest in a series of articles on how to build an 
          inexpensive Oracle RAC system. This article focuses on Oracle 10g Release 2 
          (10.2.0.1.0) as well as the latest version of CentOS (version 5.3).
        </p>
  
        <p>
          As with its predecessor, this article provides detailed instructions on how to 
          build a two-node Oracle RAC system using low cost hardware and freely available 
          software. A network storage server will be built using <a target="_blank" href="http://www.openfiler.com/">Openfiler 2.3 (Final)</a> 
          and <a target="_blank" href="http://en.wikipedia.org/wiki/ISCSI">iSCSI</a> technology which will be used for all shared storage requirements. 
          Powered by <a target="_blank" href="http://www.rpath.com/">rPath Linux</a>, Openfiler is a free browser-based network storage 
          management utility that delivers file-based Network Attached Storage (NAS) and 
          block-based Storage Area Networking (SAN) in a single framework. Openfiler 
          supports CIFS, NFS, HTTP/DAV, FTP, however, I will only be making use of its
          <a target="_blank" href="http://en.wikipedia.org/wiki/ISCSI">iSCSI</a> capabilities to implement an inexpensive SAN for the shared storage 
          component required by Oracle RAC 10g.
        </p>
  
        <p>
          The newly updated Oracle RAC 10g / iSCSI article can be found at:
        </p>
  
        <p>
          <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_12.shtml">Building an Inexpensive Oracle RAC 10g Release 2 on Linux - (CentOS 5.3 / iSCSI)</a>
        </p>

      </description>
      <pubDate>Thu, 20 Aug 2009 10:49:09 EDT</pubDate>
    </item>



    <item>
      <title>Installing Grid Control Management Agent (10.2.0.5)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Enterprise_Manager/OEM_12.shtml</link>
      <description>

        <p>
          In a follow-up to my recently published article 
          "<a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Enterprise_Manager/OEM_10.shtml">Installing Grid Control (10.2.0.5) on RHEL 5 with 11g Database Repository</a>", 
          I now provide a supplement to this guide on how to install and configure 
          the Grid Control Management Agent (10.2.0.5). This new article provides 
          one approach (out of several available) used to install and configure 
          the Oracle Management Agent (10.2.0.5) on an Oracle database server node 
          running the Red Hat Enterprise Linux 5 operating system.
        </p>

        <p>
          This guide assumes you have a working Oracle Enterprise Manager 10g Grid 
          Control Release 5 environment in place and running.
        </p>

        <p>
          The new guide can be found at:
        </p>
 
        <p>
          <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Enterprise_Manager/OEM_12.shtml">Installing Grid Control Management Agent (10.2.0.5)</a>
        </p>

      </description>
      <pubDate>Tue, 12 May 2009 02:04:58 EDT</pubDate>
    </item>



    <item>
      <title>Example JDBC Class for Oracle</title>
      <link>http://www.idevelopment.info/data/Programming/java/PROGRAMMING_Java_Programming.shtml#JDBC</link>
      <description>

        <p>
          I recently created an example JDBC class that provides a convenient template 
          which demonstrates some of the more helpful JDBC API calls while using an 
          Oracle Database. The methods defined in this class will be used to create a 
          test table in the SCOTT schema named JDBC_EXAMPLE. A set of random values will 
          then be inserted into the new table and then queried back using basic JDBC 
          calls. The random values being used to populate the test table will come from 
          the dictionary view ALL_OBJECTS.
        </p>
    
        <p>
          This class is useful in demonstrating how to fetch integers, floating-point 
          numbers, strings, and dates from a result set and furthermore, how to 
          manipulate and print the data from the database. The example class also 
          demonstrates how to calculate the run time of queries and DML calls 
          (in milliseconds), format dates, and basic exception handling.
        </p>
    
        <p>
          The class concludes by dropping the test table and then logging off from the 
          database.
        </p>
    
        <p>
          This new Java class can be accessed from the "Java Programming Examples" page 
          which includes many other example Java classes.
        </p>
    
        <p>
        From the left topics menu, select 
        "<a href="/data/Programming/java/PROGRAMMING_Java_Programming.shtml">Programming  -> Java</a>" 
        and then from the "Java Programming Examples" page, scroll down to 
        "<a href="/data/Programming/java/PROGRAMMING_Java_Programming.shtml#JDBC">JDBC -> JDBC Example</a>".
        </p>
    
        <p>
          You can also use the following URL to access the new Java class directly:
        </p>
    
        <p>
          <a href="http://www.idevelopment.info/data/Programming/java/jdbc/JdbcExample.java">JdbcExample.java</a>
        </p>

      </description>
      <pubDate>Sun, 10 May 2009 01:22:51 EDT</pubDate>
    </item>



    <item>
      <title>Installing Grid Control (10.2.0.5) on RHEL 5 with 11g Database Repository</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Enterprise_Manager/OEM_10.shtml</link>
      <description>

        <p>Installing and configuring Oracle Enterprise Manager Grid Control has never been
        a straightforward task. The product itself is an overly complex and fragile web
        application with a considerable number of bugs. What makes matters worse is that
        the documentation for installing Enterprise Manager Grid Control is truly lacking.
        For many, the installation will consist of scattered bits and pieces found on My
        Oracle Support and from performing numerous Google searches.</p>

        <p>In an attempt to put all of the pieces together to successfully install and
        configure the latest release of Grid Control (10.2.0.5), I published a step-by-step
        instruction guide. This guide will walk the reader through setting up the Linux O/S,
        performing pre-requisite tasks, downloading the required software, installing and
        patching Grid Control, configuring the newly installed Grid Control environment,
        and finally how to verify the Grid Control components are working properly.</p>

        <p>The configuration will consist of the following components:</p>

        <ul>
          <li> Oracle Enterprise Manager 10g Grid Control Release 5 - (10.2.0.5)</li>
          <li> Red Hat Enterprise Linux 5 - (CentOS 5.3)</li>
          <li> Using an Existing 11g Database for the Management Repository</li>
        </ul>

        <p>The newly published article can be found at:</p>


        <p><a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Enterprise_Manager/OEM_10.shtml">Installing Grid Control (10.2.0.5) on RHEL 5 with 11g Database Repository</a></p>
      
      </description>
      <pubDate>Fri, 01 May 2009 01:18:45 EDT</pubDate>
    </item>



    <item>
      <title>Applying the Oracle Database 11g Patch Set 1 (11.1.0.7.0) on Linux</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_20.shtml</link>
      <description>

      <p>Back in January 2008, I published a comprehensive guide for installing Oracle 
      Database 11g R1 on the Linux platform (RHEL 5). I recently updated this article 
      to include a new section on how to download and install the most recent 
      11g Database Patch Set (11.1.0.7.0).</p>

      <p>The updated article can be found at:</p>

      <p><a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_20.shtml">Installing Oracle Database 11g Release 1 on Linux - (RHEL 5)</a></p>
      
      </description>
      <pubDate>Fri, 01 May 2009 01:18:45 EDT</pubDate>
    </item>



    <item>
      <title>Cleaning a Tape Drive using Oracle Secure Backup</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle_Secure_Backup/OSB_10.shtml</link>
      <description>

      <p><a href="http://www.oracle.com/technology/products/secure-backup/index.html">Oracle Secure Backup</a> (OSB) provides a reliable, centralized tape backup 
      management solution which can be used to protect file system data as well as 
      Oracle Database files. For Oracle Recovery Manager (RMAN) users, the Oracle 
      Secure Backup SBT interface enables you to use the RMAN to back up and restore 
      Oracle Database files to and from tape. Oracle Secure Backup supports nearly 
      all tape drives and tape libraries in Storage Area Network (SAN) and Small 
      Computer System Interface (SCSI) environments.</p>

      <p>Oracle Secure Backup provides the ability to perform automatic tape drive 
      cleaning as well as the option to manually clean a tape drive. The following 
      article provides a brief overview of the tape cleaning functionality built into 
      OSB.</p>

      <p><a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle_Secure_Backup/OSB_10.shtml">Cleaning a Tape Drive using Oracle Secure Backup</a></p>

      <p>Expect more article in the near future on the topic of Oracle Secure Backup.
      Namely installation and configuration steps in OSB as well as implementing RMAN 
      backup and recovery strategies using the SBT interface of OSB.</p>
      
      </description>
      <pubDate>Sun, 26 Apr 2009 20:46:01 EDT</pubDate>
    </item>



    <item>
      <title>Connecting to an iSCSI Target with Open-iSCSI Initiator using Solaris</title>
      <link>http://www.idevelopment.info/data/Unix/Solaris/SOLARIS_ConnectingToAniSCSITargetWithOpen-iSCSIInitiatorUsingSolaris.shtml</link>
      <description>

      <p>iSCSI technology continues to gain strength in the database community. With its 
      low entry cost, simple configuration, and rapidly growing support, many 
      organizations are seeking to take advantage of their high-speed IP backbone 
      over that of a Fibre Channel (FC) network.</p>

      <p>To gain a better understanding of how an Oracle database server can make use of 
      an iSCSI target for storage, I put together a brief introduction on how to 
      install and configure an iSCSI Target and an iSCSI Initiator on the Solaris 
      platform.</p>

      <p>The iSCSI Initiator software is a built-in package included with the Solaris 10 
      Operating System. This article will also include instructions on how to 
      configure an iSCSI Target using Openfiler.</p>

      <p>The article can be found at:</p>
      
      <p><a href="http://www.idevelopment.info/data/Unix/Solaris/SOLARIS_ConnectingToAniSCSITargetWithOpen-iSCSIInitiatorUsingSolaris.shtml">http://www.idevelopment.info/data/Unix/Solaris/SOLARIS_ConnectingToAniSCSITargetWithOpen-iSCSIInitiatorUsingSolaris.shtml</a></p>
      
      </description>
      <pubDate>Tue, 14 Apr 2009 16:31:48 EDT</pubDate>
    </item>



    <item>
      <title>Connecting to an iSCSI Target with Open-iSCSI Initiator using Linux</title>
      <link>http://www.idevelopment.info/data/Unix/Linux/LINUX_ConnectingToAniSCSITargetWithOpen-iSCSIInitiatorUsingLinux.shtml</link>
      <description>

      <p>iSCSI technology continues to gain strength in the database community. With its 
      low entry cost, simple configuration, and rapidly growing support, many 
      organizations are seeking to take advantage of their high-speed IP backbone 
      over that of a Fibre Channel (FC) network.</p>
      
      <p>To gain a better understanding of how an Oracle database server can make use of 
      an iSCSI target for storage, I put together a brief introduction on how to 
      install and configure an iSCSI Target and an iSCSI Initiator (Open-iSCSI) on 
      the Linux platform.</p>
      
      <p>The Linux Open-iSCSI Initiator is a built-in package included with Red Hat 
      Enterprise Linux 5 or later. This article will also include instructions on how 
      to configure an iSCSI Target using Openfiler.</p>
      
      <p>The article can be found at:</p>
      
      <p><a href="http://www.idevelopment.info/data/Unix/Linux/LINUX_ConnectingToAniSCSITargetWithOpen-iSCSIInitiatorUsingLinux.shtml">http://www.idevelopment.info/data/Unix/Linux/LINUX_ConnectingToAniSCSITargetWithOpen-iSCSIInitiatorUsingLinux.shtml</a></p>
      
      <p>Within the next several weeks, I will also publish this same article for 
      configuring the iSCSI Initiator on the Solaris platform.</p>

      </description>
      <pubDate>Tue, 07 Apr 2009 20:14:23 EDT</pubDate>
    </item>



    <item>
      <title>Snapshot Database - (Producing DBA Reports in HTML)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Database_Administration/DBA_50.shtml</link>
      <description>
      <p>DBA's rely on Oracle's data dictionary views and dynamic performance views in 
      order to support and better manage their databases. Although these views 
      provide a simple and easy mechanism to query critical information regarding the 
      database, it helps to have a collection of accurate and readily available SQL 
      scripts to query these views.</p>
      
      <p>Over the years, I have published a vast array of 
      <a href="http://www.idevelopment.info/cgi/ORACLE_dba_scripts.cgi">Oracle DBA scripts</a> that can be 
      used to manage many aspects of the database including space management, 
      performance, backups, security, and session management. Once the scripts have 
      been put in place, they can be easily run from within SQL*Plus while logged in 
      as a DBA user.</p>
      
      <p>The following article provides a new approach to SQL scripting that allows the 
      Oracle DBA to collect a wide array of metrics and statistics using a single 
      script. This "Snapshot Database" script will contain a collection of useful 
      queries that run as a whole and produce an eye-catching HTML report. The report 
      will contain critical database information including installed options, 
      storage, performance data, and security.</p>
      
      <p>The featured "Snapshot Database" article is available at:</p>
      
      <p><a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Database_Administration/DBA_50.shtml">http://www.idevelopment.info/data/Oracle/DBA_tips/Database_Administration/DBA_50.shtml</a></p>
      
      <p>Currently, I have three separate Snapshot Database scripts available for each 
      major Oracle release (8i, 9i, and 10g). The release for Oracle Database 11g 
      will be released soon.</p>
      </description>
      <pubDate>Fri, 18 Apr 2008 12:31:18 EDT</pubDate>
    </item>



    <item>
      <title>Removing a Node from an Oracle RAC 10g Release 2 Cluster on Linux - (CentOS 4.5 / iSCSI)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_23.shtml</link>
      <description>
      <p>Although not as exciting as building an Oracle RAC or adding a new node and
      instance to a clustered database; removing a node from a clustered environment
      is just as important to understand for a DBA managing Oracle RAC 10g. While it
      is true that most of the attention in a clustered database environment is
      focused on extending the database tier to support increased demand, the exact
      opposite is just as likely to be encountered where the DBA needs to remove a
      node from an existing RAC environment. It may be that a server is being
      underutilized in the database cluster and could be better served in another
      business unit. Another scenario is a node failure. In this case, a node can be
      removed from the cluster while the remaining nodes continue to service ongoing
      requests.</p>

      <p>I recently published an extension to two of my articles:</p>

      <p>"<a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_11.shtml">Building an Inexpensive Oracle RAC 10g Release 2 on Linux - (CentOS 4.5 / iSCSI)</a>"</p>

      <p>and</p>

      <p>"<a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_20.shtml">Adding a Node to an Oracle RAC 10g Release 2 Cluster on Linux - (CentOS 4.5 / iSCSI)</a>".</p>

      <p>Contained in this new article are the steps required to remove a single node
      from an already running and configured three-node Oracle RAC 10g Release 2
      environment on the CentOS 32-bit (x86) platform. The node being removed is the
      third node I added in the <a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_20.shtml">second article</a>. Although this article was written and
      tested on CentOS 4.5 Linux, it should work unchanged with Red Hat Enterprise
      Linux 4 Update 5.</p>
      </description>
      <pubDate>Tue, 04 Mar 2008 12:28:38 EDT</pubDate>
    </item>



    <item>
      <title>Adding a Node to an Oracle RAC 10g Release 2 Cluster on Linux - (CentOS 4.5 / iSCSI)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_20.shtml</link>
      <description>
      <p>As your organization grows so too does your need for more application and 
      database resources to support the company's IT systems. Oracle RAC 10g 
      provides a scalable framework which allows DBA's to effortlessly extend the 
      database tier to support this increased demand. As the number of users and 
      transactions increase, additional Oracle instances can be added to the Oracle 
      database cluster to distribute the extra load.</p>
      <p>I recently published an extension to my article 
      "<a href="http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_11.shtml">Building an Inexpensive Oracle RAC 10<i>g</i> Release 2 on Linux - <i>(CentOS 4.5 / iSCSI)</i></a>". 
      Contained in this new article are the steps required to add a single node to an 
      already running and configured two-node Oracle RAC 10g Release 2 environment on 
      the CentOS 32-bit (x86) platform. Although this article was written and tested on 
      CentOS 4.5 Linux, it should work unchanged with Red Hat Enterprise Linux 4 
      Update 5.</p>
      </description>
      <pubDate>Wed, 27 Feb 2008 00:03:46 EDT</pubDate>
    </item>



    <item>
      <title>Connecting to ASM through the TNS Listener from a Client Desktop</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Automatic_Storage_Management/ASM_45.shtml</link>
      <description>
      <p>By default, the Oracle Database Configuration Assistant (DBCA) does not configure the 
      TNS listener to accept client requests to an ASM instance running 
      from a different node. Access will be denied for clients like SQL*Plus, 
      Perl DBI:DBD, and JDBC when attempting to connect to an ASM instance 
      from a node other than the node running the ASM instance. When the service 
      is created for an ASM instance, its status is BLOCKED:</p>

      <pre>[oracle@linux1 ~]$ <b>lsnrctl status LISTENER_LINUX1 | grep ASM</b>
Service "+ASM" has 1 instance(s).
  Instance "+ASM1", status <b><font color="#ff0000">BLOCKED</font></b>, has 1 handler(s) for this service...
Service "+ASM_XPT" has 1 instance(s).
  Instance "+ASM1", status <b><font color="#ff0000">BLOCKED</font></b>, has 1 handler(s) for this service...</pre>

      <p>This limitation puts restrictions on scripts and other client tools 
      that want to monitor and manage an ASM instance from a different 
      node. Getting around this restriction, however, is an easy task that 
      involves manually creating a service name for the ASM instance.</p>

      <p>This article presents the steps required to access an ASM instance
      through the TNS listener from a client desktop. The database used in
      this article is a two-node Oracle RAC 10<i>g</i> clustered database  
      where in fact there will two ASM instances (one ASM instance
      for each Oracle instance in the cluster). The database version
      is Oracle 10<i>g</i> Release 2 (10.2.0.3.0) running on CentOS 4.5 (or RHEL 4.5).</p>
      </description>
      <pubDate>Wed, 17 Jan 2008 23:02:12 EDT</pubDate>
    </item>



    <item>
      <title>Installing Oracle Database 11g Release 1 on Linux - (RHEL 5)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_20.shtml</link>
      <description>
        <p>Comprehensive article on installing Oracle Database 11g Release 1 on Linux - (CentOS 5.1).
           This article should also work unchanged with the latest Red Hat Enterprise Linux 5.1.
        </p>
        <p>Included in the article are detailed instructions for installing and configuring 
           the Linux operating system to host the Oracle Database 11g Release 1 software and database. 
           I also incorporated many tips that go beyond just simply installing the software 
           to help newcomers to Oracle Database 11g better manage their database environment.
        </p>
      </description>
      <pubDate>Wed, 17 Jan 2008 23:02:12 EDT</pubDate>
    </item>



    <item>
      <title>Installing Oracle Database 10g Release 2 on Linux - (RHEL 5)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_15.shtml</link>
      <description>
        <p>Comprehensive article on installing Oracle Database 10g Release 2 on Linux - (CentOS 5.1).
           This article should also work unchanged with the latest Red Hat Enterprise Linux 5.1.
        </p>
        <p>Included in the article are detailed instructions for installing and configuring 
           the Linux operating system to host the Oracle Database 10g Release 2 software and database. 
           I also incorporated many tips that go beyond just simply installing the software 
           to help newcomers to Oracle Database 10g better manage their database environment.
        </p>
      </description>
      <pubDate>Wed, 10 Jan 2008 00:04:38 EDT</pubDate>
    </item>



    <item>
      <title>Building an Inexpensive Oracle RAC 11g Release 1 on Linux - (CentOS 5.1 / iSCSI)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle11gRAC/CLUSTER_10.shtml</link>
      <description>
        <p>Learn how to configure an inexpensive Oracle RAC 11<i>g</i> 
           environment on Linux using iSCSI technologies from Openfiler.</p>
        <p><i>(For educational purposes only!)</i></p>
      </description>
      <pubDate>Wed, 09 Jan 2008 11:27:45 EDT</pubDate>
    </item>



    <item>
      <title>Free Computer Magazines!</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Database_Administration/DBA_48.shtml</link>
      <description>
        <p>
        Computer professionals can now take advantage of receiving popular magazines 
        online. Best of all, it's FREE! The revenue stream for magazine companies come 
        from the ads placed inside the magazine as well as the subscription costs. As the 
        subscriber base grows for a magazine so does the amount they can charge for ads 
        which results in more money for the magazine company. In an effort to increase 
        their subscriber base, magazine companies often give away subscriptions online. 
        To take advantage of this exciting new opportunity, please visit 
        <a target="_blank" href="http://idevelopment.tradepub.com">http://idevelopment.tradepub.com</a> to sign up for your free subscriptions today.</p>
      </description>
      <pubDate>Tue, 22 May 2007 16:15:48 EDT</pubDate>
    </item>



    <item>
      <title>Create an Oracle10g R2 RAC using VMware Workstation 5 and Red Hat 4.4</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/VMware_Workstation_50/VMWARE_31.shtml</link>
      <description>
        <p>Learn how to configure an inexpensive Oracle10<i>g</i> RAC 
           environment using VMware Workstation 5.5.3 and Red Hat 4 Update 4.</p>
        <p><i>(For educational purposes only!)</i></p>
      </description>
      <pubDate>Tue, 20 Feb 2007 16:08:00 EDT</pubDate>
    </item>



    <item>
      <title>Swingbench - A Free Oracle Load Generator and Benchmark Utility</title>
      <link>http://www.dominicgiles.com/swingbench.html</link>
      <description>
        <p>Written by Dominic Giles, Swingbench is a free load generator 
           (and benchmarks) designed to stress test an Oracle database (9i or 10g)</p>
        <p>SwingBench consists of a load generator, a coordinator and a cluster \
           overview. The software enables a load to be generated and the 
           transactions/response times to be charted.</p>
      </description>
      <pubDate>Mon, 30 Oct 2006 13:45:39 EDT</pubDate>
    </item>



    <item>
      <title>Oracle10g New Features By Example - SkillBuilders.com</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Database_Administration/DBA_47.shtml#Oracle10g%20New%20Features%20by%20Example</link>
      <description>
        <p>The essential step-by-step Oracle10g new features course for experienced 
           Developers and Database Administrators.</p>
        <p>This course book presents - in a succinct and practical fashion - an 
           introduction to more than 120 new features introduced with Oracle Database 10g.</p>
        <p>Release 1 and Release 2 features are covered.</p>
      </description>
      <pubDate>Thu, 12 Oct 2006 21:59:39 EDT</pubDate>
    </item>



    <item>
      <title>Building an Inexpensive Oracle RAC 10g Release 2 on Linux - (CentOS 4.5 / iSCSI)</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_11.shtml</link>
      <description>
        <p>Learn how to configure an inexpensive Oracle RAC 10<i>g</i>
           environment on Linux using iSCSI technologies from Openfiler.</p>
        <p><i>(For educational purposes only!)</i></p>
      </description>
      <pubDate>Thu, 16 Oct 2006 21:59:39 EDT</pubDate>
    </item>



    <item>
      <title>FireWire 800 Support for Inexpensive Oracle10g R2 RAC</title>
      <link>http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_10.shtml</link>
      <description>
        <p>Learn how to configure an inexpensive Oracle10<i>g</i> RAC 
           environment using FireWire 800 for shared storage.</p>
        <p><i>(For educational purposes only!)</i></p>
      </description>
      <pubDate>Thu, 12 Oct 2006 21:59:39 EDT</pubDate>
    </item>

  </channel>
</rss> 

