<?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>Oracle Rant &#187; 10g DBA OCP</title>
	<atom:link href="http://www.oraclerant.com/?feed=rss2&#038;cat=4" rel="self" type="application/rss+xml" />
	<link>http://www.oraclerant.com</link>
	<description>Blog about anything and everything Oracle.</description>
	<lastBuildDate>Mon, 09 Aug 2010 15:57:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>OCP 10g &#8211; Automatic Database Management</title>
		<link>http://www.oraclerant.com/?p=13</link>
		<comments>http://www.oraclerant.com/?p=13#comments</comments>
		<pubDate>Tue, 19 Feb 2008 09:56:42 +0000</pubDate>
		<dc:creator>Thomas Roach</dc:creator>
				<category><![CDATA[10g DBA OCP]]></category>
		<category><![CDATA[Tuning]]></category>

		<guid isPermaLink="false">http://www.oraclerant.com/?p=13</guid>
		<description><![CDATA[I will talk about some of the Oracle Automatic Database Management enhancements in Oracle Database 10g. The main idea behind these is to make the DBA more productive. I have used some of these and some I have not. I guess you could say I have one foot in the future and the other in [...]]]></description>
			<content:encoded><![CDATA[<p>I will talk about some of the Oracle Automatic Database Management enhancements in Oracle Database 10g. The main idea behind these is to make the DBA more productive. I have used some of these and some I have not. I guess you could say I have one foot in the future and the other in the past. As I share my studying with you, perhaps I will start using some of these myself.</p>
<p>The first enhancement is the ADDM (Automatic Diagnostic Monitor). Now in order to use ADDM, you must have an Oracle Diagnostic Pack license. Typically you use and access ADDM through your database control environment but you can also access it via packages and procedures. By default ADDM runs every hour. It is dependent upon the AWR (Automatic Workload Repository), which is like statspack on steroids and also runs every hour by default. You&nbsp;need an Oracle&nbsp;Diagnostic Pack license to look at AWR snapshots. If you want to look at an AWR report then just run awrrpt.sql which is located in your rdbms/admin directory. I&#8217;ll do a post about doing statspack in a previous post, but I only look at statspack for pre 10g databases. Also, there is a new background process, MMON, which attaches directly to the SGA and gathers statistics rather than querying the data dictionary. Back to ADDM. ADDM diagnoses many types of performance issues. Those include:</p>
<ul>
<li>Configuration issues</li>
<li>Improper application usage</li>
<li>Expensive SQL statements</li>
<li>I/O performance issues</li>
<li>Locking issues</li>
<li>Excessive parsing</li>
<li>CPU bottlenecks</li>
<li>Undersized memory allocation</li>
<li>Connection management issues</li>
</ul>
<p><span id="more-13"></span></p>
<p>The thing with the ADDM is that is looks at actual DB time instead of a bunch of ratios. Where statspack can give you too much information, ADDM looks for items that exceed the threshold for database time. This gives you a much clearer picture into what is most likely causing you your performance issues. In order to use ADDM you must set TIMED_STATISTICS = TRUE and STATISTICS_LEVEL to TYPICAL or ALL. If STATISTICS_LEVEL is set to BASIC then you will have to manually run your AWR snapshot, which you can do by using the DBMS_WORKLOAD_REPOSITORY package. By default in 10g, this is already configured for you. You can also manually run an ADDM job in between snapshots if you choose. While you need a Diagnostic Pack license to use ADDM, if you have this setup at home and are using it for studying, I don&#8217;t think Oracle will have a problem with you analyzing, prototyping, and studying ADDM. To run an ADDM report, you can do it via Database Control / Grid Control or via command line by running @$ORACLE_HOME/rdbms/admin/addmrpt.sql from the sqlplus prompt. I would highly recommend the OCP Oracle Database 10g study guide by Sam Alapati for further detail on this topic and future ones in this post. This is merely a high level overview.</p>
<p>&nbsp;</p>
<p>The next part to talk about is Automatic Shared Memory Management. The main idea behind this is that you set the SGA_MAX_SIZE and SGA_TARGET_SIZE and you leave the traditional SGA parameters like DB_CACHE_SIZE, SHARED_POOL_SIZE, LARGE_POOL_SIZE, JAVA_POOL_SIZE, and STREAMS_POOL_SIZE empty. Oracle will then manage the SGA. This is supposed to make the DBAs life somewhat easier because the database should know where it needs resources and make adjustments accordingly. Imagine you have a database that is hit during the day with small OLTP transactions and at night there are some large batch jobs. The database will be able to dynamically make the adjustments that it needs in order to maintain efficiency. There is a new background process, MMAN, that dynamically makes these adjustments. The gotchas with ASMM is that it really only auto tunes 4 parameters. They are DB_CACHE_SIZE, SHARED_POOL_SIZE, LARGE_POOL_SIZE, and JAVA_POOL_SIZE. However, it takes SGA_TARGET and subtracts what you have given to other SGA parameters that it does not auto tune and then use that for these parameters. If you want to set a minimum for these though, you can. For example, if I set my DB_CACHE_SIZE to 300MB then ASMM will ensure that as it auto tunes it will not reduce the amount of memory for DB_CACHE_SIZE below 300MB. As you can see, this gives the DBA a lot of power to set thresholds that ASMM must work within in automatically tuning your database. One other thing to keep in mind is that if you want to use ASMM then you should use an SPFILE over a pfile for your init parameters. If you have an init.ora file, then login to Oracle and issue this command from sqlplus: create spfile from pfile. Automatic Optimizer Statistics is another area to be aware of on the 10g OCP exam. By Automating the collection of statistics you can ensure that your stats will be up to date. This is one of the most critical areas when it comes to database optimization. If the optimizer is aware of how many rows are in a table, the cardinality etc&#8230; then the optimizer can make an intelligent, accurate decision as to the best and quickest way to perform a query. Ensure that you are up to speed on this method or it will come back to bite you come exam time and in the real world. The main thing you need to know is that in order to to ensure that Automatic Optimizer Statistics is enabled you need to set the parameter to STATISTICS_LEVEL = Typical or All.&nbsp;Typical is the default setting in 10g. By setting it to ALL you can also get extra information in your AWR reports such as latch information. The name of the job that runs is called Gather_Stats_job. The job only collects statistics if there is no stats for an object or if they are stale. Oracle marks a tables stats as stale when about 10% of the rows have changed. The DBMS_STATS package is the preferred method for gathering database stats. In 10g, they give you the option of restoring historical optimizer statistics. If you have any user defined statistics or any statistics you gather with the analyze command, you cannot restore those using the DBMS_STATS package.</p>
<p>So how are statistics collected automatically? Oracle by default creates a job named &#8216;GATHER_STATS_JOB&#8217; which is scheduled to run during the maintenance windows of 10pm-6am M-F and Sat from 12am to Mon 12am. This can be changed or the job can be disabled entirely. The job calls the DBMS_STATS.GATHER_DATABASE_STATS to gather the optimizer statistics. This proc collects stats on objects that either have no statistics or the statistics are stale. When tables are volatile, statistics can be locked. Simply use DBMS_STATS.LOCK_TABLE_STATS (&#8216;SCHEMA&#8217; , &#8216;TABLE_NAME&#8217;); DELETE_TABLE_STATS can be run prior if the DBA wants to force dynamic sampling at query runtime which is great for temp tables and staging tables etc&#8230;By default Oracle will also keep statistics on all objects for 31 days. In order to restore these statistics one can use the RESTORE_*_STATS procedure in the DBMS_STATS package.</p>
<p>Oracle now automatically tunes undo retention. This is also referred to rollback. Oracle needs undo for several reasons such as read consistency, rollback or undo uncommitted changes, aid in DB recovery, help facilitate flashback etc&#8230; ORA-1555 caused many headaches for Oracle DBAs. But instead of assigning individual undo segments, Oracle is now in charge of the undo segment. Oracle Automatic Undo Management (AUM) can be enabled by setting UNDO_MANAGEMENT to AUTO. It is recommending that the DBA create a separate undo tablespace, otherwise Oracle will use the system tablespace. Finally, by setting UNDO_RETENTION, the DBA specifies how long data should be retained in seconds &#8212; 900 is the default. Oracle also provides an undo-advisor which can be accessed easily from database control and grid control.Oracle will also alert you if your queries may result in ORA-1555 (retention time not long enough) and if your undo tablespace begins to run out of free space. Last but not least, if the DBA wants to guarantee retention, the he or she can enable the retention guarantee option on the tablespace. This is especially critical if you are using the flashback features in Oracle database 10g.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclerant.com/?feed=rss2&amp;p=13</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>10g OCP &#8211; Loading and Unloading Data</title>
		<link>http://www.oraclerant.com/?p=6</link>
		<comments>http://www.oraclerant.com/?p=6#comments</comments>
		<pubDate>Sat, 16 Jun 2007 03:25:23 +0000</pubDate>
		<dc:creator>Thomas Roach</dc:creator>
				<category><![CDATA[10g DBA OCP]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.oraclerant.com/?p=6</guid>
		<description><![CDATA[In Oracle 10g, there are several different ways of loading and unloading data. Prior to Oracle 10g the two methods outside of running queries were RMAN and import and export. In 10g RMAN still exists and is exanded upon. It is also the backup tool of choice for many DBAs as it actually simplifies things [...]]]></description>
			<content:encoded><![CDATA[<p>In Oracle 10g, there are several different ways of loading and unloading data. Prior to Oracle 10g the two methods outside of running queries were RMAN and import and export. In 10g RMAN still exists and is exanded upon. It is also the backup tool of choice for many DBAs as it actually simplifies things and gives you other benefits such a block corruption checking. Import and export are still there as well. Import will always be there but export will be going away. Why would they keep the import utility? Because you can export an Oracle 8i or 9i database and import it into Oracle 10g or the new 11g that will be coming out. Datapump is the new utility that replaces import and export.</p>
<p>So what has changed?</p>
<p>First of all, the command is different. To invoke export or import you would just use exp or imp. With datapump it is similar but follows with &#8216;dp&#8217; for data pump: expdp and impdp. Also, if you are using new features such as Transparent Data Encryption, the old exp utility will not export encrypted columns. Your only choice is to use datapump in place of it. Datapump is also much faster than export and import as well as more flexible. You can run multiple jobs as well as run single jobs in parallel. You can also attach from jobs and detach from jobs.  You cannot use datapump to import an export from the traditional utilities. You can still use imp in Oracle 10g.</p>
<p>What does the datapump architecture look like?<br />
<span id="more-6"></span></p>
<p>For starters when you invoke a datapump job it starts a process on the server. If you use export and import you would attach across the network to the database server but you would work with files that were local to your computer meaning that if you imported a file you did it from a local drive and if you exported a file you would do it to a local drive. This makes it more efficient from not going over the network. The one drawback is you do lose some flexibility but nothing that FTP or SCP can&#8217;t solve.</p>
<p>Datapump has an interactive mode just like the old utilities it replaces. The drawback of using interactive mode is you have a limited set of choices and you lose many options (but most people use interactive mode for simplicity anyways). With Datapump you can only backup to disk. In the Veritas Net Backup Agent for Oracle, there is some interesting information for taking datapump backup jobs and sending them across the network, but I believe that is external to Oracle, meaning Oracle is not aware of this, unlike RMAN being aware of tape backups because of the MML that links the libobk.so file.</p>
<p>For help on the command structure and parameters of datapump export and import you can issue: expdp help=y and impdp help=y. There are many options with datapump and to get the exact specifics I would recomment reading Sam Alapati&#8217;s Oracle 10g study guide and / or refer to the Oracle documentation. What I intend to go over are some of the highlights and strong points for the exam. (What I think you need to know).</p>
<p>Benefits of Datapump technology:</p>
<ul>
<li>Ability to restart data pump jobs</li>
<li>Parallel execution capabilities</li>
<li>Ability to attach to running jobs</li>
<li>Database to Database direct transfer using DB Links and SQL Net</li>
<li>Finegrained data import capability</li>
<li>Remap schemas, tablespaces, and filenames</li>
<li>Ability to estimate space requirements.</li>
</ul>
<p>What does the datapump technology consist of?</p>
<ol>
<li>The DBMS_DATA_PUMP package</li>
<li>The DBMS_METADATA package</li>
<li>expdp and impdp command line utilities.</li>
</ol>
<p>There are two data access methods.</p>
<ol>
<li>Direct Path
<ul>
<li>Part of the direct path API. Much faster load and dump times.</li>
</ul>
</li>
<li>External Tables
<ul>
<li>Read and write data to OS files. This gives a lot of flexibility and I have seen many people use this in place of SQL Loader for getting data from those files inside the database.</li>
</ul>
</li>
</ol>
<p>With the Direct path option, you want to be aware of clustered tables, active triggers on tables, single partitions with global indexes, referential integrity constraints, domain indexes on LOB columns, fine grained access control enabled in the insert mode, and tables with BFILE or opaque column types.</p>
<p>WHEW, now I can breath. : )</p>
<p>Data pump creates a dump file which is a proprietary format file holds your data. You also have the option of log files and SQL Files which will give you all the DDL statements it will use for importing. You specify this by setting the SQLFILE parameter. You will also have to setup Directory objects. Once you identify this, you have to grant a user read and write access to the directory. The oracle user or whoever the DB runs as also needs permissions to this directory on the operating system.</p>
<p>A simple datapump export command will look something like this:</p>
<p>expdp / directory=data_pump_dir dumpfile=dumpfilename.dmp</p>
<p>You also have the option of using a parameter file much in the same way you did in the original imp/exp commands. It would look something like this for datapump:</p>
<p>expdp parfile=myparfile.par</p>
<p>You can decide to do interactive data pump if you would like but the thing to remember is it will not give you as much control or as many option as explicitly defining everything in the command line.</p>
<p>There are 4 types of exports that you can do.</p>
<ol>
<li>Full export mode</li>
<li>Schema mode</li>
<li>Tablespace mode</li>
<li>Table mode</li>
</ol>
<p>In data pump there are so many options that I am not going to go through them here. I would recommend Sam Alapati&#8217;s book or going directly to the Oracle documentation. I would also go ahead and play with it and try some of the things out in order to get comfortable with it. I will also talk about some of the import functionality but also refer to the documentation to find all the answer&#8217;s and to get some experience with it.</p>
<p>Data pump import lets you manipulate your data in many way.</p>
<ul>
<li>Filtering (Include or Exclude items even based on a Query)</li>
<li>Remap Schema</li>
<li>Remap Tablespace</li>
<li>Remap Datafiles</li>
<li>Transform (ability to exclude certain attributes like storage and tablespace clauses, modify the DDL)</li>
<li>Flashback Time (import data consistent to a flashback time &#8211; some restrictions)</li>
</ul>
<p>If you want to view data pump jobs in the data dictionary to be able to attach to them using either expdp or impdp, it is DBA_DATAPUMP_JOBS.</p>
<p>External Tables is another thing that has been enhanced in 10g. External Tables used to have the restriction of being read only. You now have the ability to read and write to external tables. There are two types. The Oracle_loader type and the Oracle_datapump type. The Oracle_loader is the traditional and default. It will not write to an external table but the new Oracle_datapump will. The reason is because they use 2 different access drivers. Datapump does write it&#8217;s external tables using a proprietary format. Another restriction on external tables is that you cannot index them or use DML against them. You can however use them on another database if you&#8217;d like. You can also populate external tables utilizing parallel operations.</p>
<p>Transportable tablespaces is the last item I will cover. You use datapump to export the metadata and import it into the new database. If you want to transport the tablespace across platforms then you will have to make sure the endianess matches or modify the file. You can query the v$transportable_platform view to see which endian formats are used on which platform. If you have to modify the tablespace, then you can use RMAN on the source or destination machine to do so. Some other restrictions are the tablespace must be in read only mode prior to exporting metadata and copying the datafiles and the compatibaility level on both databases must be at 10.0.0 or higher.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclerant.com/?feed=rss2&amp;p=6</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>10g OCP Installation</title>
		<link>http://www.oraclerant.com/?p=5</link>
		<comments>http://www.oraclerant.com/?p=5#comments</comments>
		<pubDate>Wed, 23 May 2007 02:39:17 +0000</pubDate>
		<dc:creator>Thomas Roach</dc:creator>
				<category><![CDATA[10g DBA OCP]]></category>

		<guid isPermaLink="false">http://www.oraclerant.com/?p=5</guid>
		<description><![CDATA[The Oracle 10g installation is much quicker than previous installations and much smaller too! With 9i, you needed to use 3 disks to do an install, with 10g, you only need one. What Oracle has done is separated the installs. To install the client, it has it&#8217;s own CD and to install the database, it [...]]]></description>
			<content:encoded><![CDATA[<p>The Oracle 10g installation is much quicker than previous installations and much smaller too! With 9i, you needed to use 3 disks to do an install, with 10g, you only need one. What Oracle has done is separated the installs. To install the client, it has it&#8217;s own CD and to install the database, it has it&#8217;s own CD.</p>
<p>To install on Windows, it is pretty straight forward. You pop in the disk and go. With unix / linux / solaris you have to use XWindows. At home, many people just run the GUI that is installed with the Linux installation, but in most production environments the GUI and XWindows are not run on the server as to not impact performance. What you have to do is run an XWindows server such as exceed or cygwin on your machine if it is Linux, you can just use that.</p>
<p>At work I have a Windows XP laptop with Cygwin (free GUI), and I have a Linux laptop running Ubuntu. I have the Oracle Client installed on both (10.2.0.3) and SQL Developer (free IDE). Both work great. I&#8217;m not going to get into the actual XWindows and how to use it, but you can find it in Oracle&#8217;s installation documentation quite easily.</p>
<p>So what has changed with the 10g installation?</p>
<p><span id="more-5"></span></p>
<p>The good news about the Oracle installation is that is does a precheck to ensure that that your system meets all the system requirements. If you are installing on an &#8220;unsupported&#8221; Linux such as Ubuntu, you will need to run the installer with the -ignoresysprereqs flag. For example, ./runInstaller -ignoresysprereqs which will skip the check. With Ubuntu, you will have to do a few things to make DB or client installations work but it is not something you need to know for the exam, so it will be in another post. The main benefit of the pre-installation check is that it verifies the operationg system, version, OS patches and packages, kernel or OS parameters, if the Oracle Home is empty, and that you have sufficient memory and file system space to do the install.</p>
<p>Well for starters, you have 2 different options for your management choices. You can use the default OEM Database Control (local management) or you can choose the OEM Grid Control which is a separate install. If you don&#8217;t choose the default local Database Control option then you will need to install OEM Grid Control on a separate set of servers. On top of that, you will then need to install an Agent on every host you want to monitor regardless of the number of databases or homes on that machine. The Agent then feeds monitoring information back to the Grid Control servers. Both the OEM Grid Control and local OEM Database Control are html based. That means, you can access either from a Web Browser. On some further posts later, I will get into OEM Grid Control installation, troubleshooting, and use. I will even show some screen shots but for the 10g OCP, the local Database Control that comes with the standard default installation will suffice. To find which port your local OEM database control runs on, type emctl status dbconsole from the command line. It will give you a port number. Then to access, just enter http://hostname:&lt;port#&gt;/em to access it. You can use your database id, you can use sys or system, and you can even use sysman once you unlock that user acccount. If you did not select the local OEM Database Control and want to install it after the fact for your database, you need to use the emca or emca.bat script to install it. If it is installed and not running, you can enter emctl start dbconsole (emctl stop dbconsole to stop it). Make sure you ORACLE_HOME is set before you do this and that the ORACLE_HOME/bin is in your path.</p>
<p>You are also prompted for your backup options. It will only let you use this if you have chosen the default local OEM Database Control.</p>
<p>File storage options gives you the choice of ASM (Automated Storage Management), Raw Devices, and File Systems. I would recommend either ASM (for it&#8217;s dynamic, pooling, load balancing capabilities) or File System, for the flexibility that it gives you. I would be willing to be that 95% of installations out there right now use filesystem but there is a huge push for us internally to go to ASM because of the performance gains we have seen.</p>
<p>With Oracle Cluster Ready Services you can start the install from one node in the cluster and have it install on all nodes in the cluster. How does it do this? Before you setup CRS, you have to do a bunch of things but basically something called user equivalence is enabled which allows the oracle user to ssh across the interconnect to any machine in the node. You then have the /etc/hosts file setup where it knows where the other nodes are. It is then able to copy the install files to the other servers and do the install behind the scenes. I plan on doing some interesting posts on doing a RAC install on a machine that has 2GB of memory with VMWare and shared VMWare disks. It will be something you all can build at home and play with, however, it is not a requirement for the OGP upgrade exam. Just know it is an option. You install CRS before you install RAC.</p>
<p>Oracle has also given you the option of giving it your metalink credentials and then being able to check for any patches or updates and notify you about them. You have to have either Grid Control or Database Control to use this feature. I&#8217;ve played with it and will blog about it. I still have a knack for doing this the manual way of downloading the file and applying the patch/update.</p>
<p>The requirements are 256MB for the DB and 512 if you want the DB Control. You would only install on this kind of memory if playing at home and learning. If you are using this for production, you will obviously want a bigger box : ) The space requirements are 2.5GB for the installation, 1GB of swap space, and 400MB in /tmp.</p>
<p>The deinstallation is also much cleaner. Before you had to clean things out, but now it does a much better job of removing everything. Before doing an uninstall, make sure you shutdown all databases, your database control, and your listeners.</p>
<p>The response file is another option. It allows you to perform installation silently and you do not need an xserver&#8230;. really : )</p>
<p>DBCA also has some enhancements. What you will notice is one of the options is to create an ASM instance. This is where you use either raw disks / devices or disks controlled by ASMLIB if on Linux. It will enable you to create tablespaces and have your new databases use ASM for the file options. The SYSAUX tablespace is now a new requirement in 10g. The SYSAUX tablespace is where Oracle stores most of it&#8217;s tools. By default, DB Control, AWR, ADDM, RMAN etc gets consolidated in this tablespace now instead of the SYSTEM tablespace. This makes it much easier to manage.</p>
<p>Another option is the FLASH RECOVERY AREA. How are we using it? Well if you don&#8217;t specify backup locations or places to put your archive logs, they will go here. We are sizing our Flash Recovery Area at 125% of the size for our database. We then have all archive logs go here as well as our backups. It can be file system or another ASM diskgroup (could be the same but not recommended). We are actually putting 1 uncompressed level 0 and then putting uncompressed level 1&#8242;s each night using a blok changing file. We then merge the level 1 with the level 0 to create a new level 0 and then ship that off to tape.  We then run backup validate database to check for corruption. Not needed for OCP but is something I will write about when I finish the OCP and get into many of the things I am doing at work. To query information about the flash recovery area, you can do a describe on the V$FLASH_RECOVERY_FILE_DEST view.</p>
<p>In older versions you could set the compatibility setting to a higher version and then go back by using alter database reset compatibility. This is now deprecated and you are unable to do this in 10g. You cannot go back once going forward.</p>
<p>In 10g you can also track database usage statistics. The view is DBA_FEATURE_USAGE_STATISTICS. It will tell you how you are using a feature, if it is currently being used, as well as the first and last time it was used. You can also view the HWM of the feature. The features you can track are Advanced Replication, Oracle Streams, Virtual Private Database etc&#8230; You can also track the HWM for things like tables, datafiles, session, and segments.</p>
<p>So what collects all these statisics?</p>
<p>You guessed it! (maybe you didn&#8217;t) Oracle has a new process called MMON. So what does that mean? It&#8217;s called the Manageability Monitor Process. If you do a ps -ef in Unix, Linux, or Solaris, you will see it. With Windows you won&#8217;t, because Windows uses threads and you would need something to peak inside the process to see the MMON thread. You can also use the Register_DB_Feature and Register_High_Water_Mark procedures in the new DBMS_FEATURE_USAGE package to track usage. You can also see these inside of OEM (Grid Control or DB Control).</p>
<p>So what are the supported upgrade paths?</p>
<p>Anything under 8.1.6 must be upgraded to at least 8.1.7 with the exception of 8.0.6 before upgrading to 10g. All of 9i can go straight to 10g as well.</p>
<p>Upgrading?</p>
<p>It used to be that the DBA had to run a bunch of scripts and follow a bunch of manual steps in order to upgrade the database. Oracle also has the DBUA &#8211; Database Upgrade Assistant. This enables you to startup a GUI and it will connect to the database and run the scripts in the proper order and issue the proper commands to upgrade your database. I have used this a few times and it worked really well.</p>
<p>Oracle also includes an Upgrade Information Tool to help the DBA collect information before upgrading. It does a few things. It makes sure you have a SYSAUX tablespace. The redo logs must be at leats 4MB in size. Tablespace sizes are checked. Init parameters are checks. Versions and compatibilities are checked. It will also tell you how long it things the upgrade will take. To invoke it, access utlu101i.sql.</p>
<p>There is also a new post ugprade tool which is script utlu101s.sql. You can also query the DBA_SERVER_REGISTRY view to see if the proper components were upgraded and if the status is VALID or INVALID.</p>
<p>This was chapter 1 in Sam Alapti&#8217;s book. It was actually 49 pages but these are my notes. I would highly recommend you go and buy his book online or from your local bookstore <img src='http://www.oraclerant.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclerant.com/?feed=rss2&amp;p=5</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle 10g OCP &#8211; 1Z0-040</title>
		<link>http://www.oraclerant.com/?p=4</link>
		<comments>http://www.oraclerant.com/?p=4#comments</comments>
		<pubDate>Tue, 22 May 2007 01:22:10 +0000</pubDate>
		<dc:creator>Thomas Roach</dc:creator>
				<category><![CDATA[10g DBA OCP]]></category>

		<guid isPermaLink="false">http://www.oraclerant.com/?p=4</guid>
		<description><![CDATA[I am currently an 8i and 9i OCP. I have procrastinated about upgrading my certification to 10g because I have been busy with the SOUG, work, and other things. I also setup a website at securitydb.com (that will get some attention as well) and I plan on focusing on that site as well. I am [...]]]></description>
			<content:encoded><![CDATA[<p>I am currently an 8i and 9i OCP. I have procrastinated about upgrading my certification to 10g because I have been busy with the SOUG, work, and other things. I also setup a website at securitydb.com (that will get some attention as well) and I plan on focusing on that site as well. I am hoping that this becomes addicting. I am also hoping that it will inspire me to study and give me something to blog about.</p>
<p>My goal is to get 5 posts out this week about the 10g DBA OCP upgrade exam.</p>
<p>So what am I using to study for the exam? Well this will be the first post: Study Material!</p>
<p>The Oracle Education site explains what all the requirements of the exam are as well as where you can get some training and study material. Since I am self-studying, I have decided to just use the exam topics to guide me. To view those topics, <a target="_blank" href="http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&amp;p_org_id=1001&amp;lang=US&amp;p_exam_id=1Z0_040" title="click here">click here</a>.</p>
<p>Next, we can discuss where you can learn about those topics. One site that anyone working with Oracle cannot live without is the <a target="_blank" href="http://www.oracle.com/pls/db102/homepage?remark=tahiti" title="Oracle documentation">Oracle Documentation</a>. The other website that Oracle provides is <a target="_blank" href="http://otn.oracle.com" title="OTN (Oracle Technology Network)">OTN (Oracle Technology Network)</a>. There are several books you can buy. I have chosen the <a target="_blank" href="http://www.amazon.com/OCP-Oracle-Database-10g-Administrators/dp/0072258624/ref=sr_1_2/102-3862574-1404145?ie=UTF8&amp;s=books&amp;qid=1179796534&amp;sr=8-2" title="OCP Oracle Database 10g">OCP Oracle Database 10g: New Features for Administrators Exam Guide</a> by Sam Alapati. So far, it looks like an excellent read. I will write a review on here and also post it at <a target="_blank" href="http://amazon.com" title="Amazon">Amazon.com </a>and our user group site <a target="_blank" href="http://www.soug.org" title="SOUG">SOUG.org</a>. It looks like Sybex also has a book and Cramsession has a free <a target="_blank" href="http://cramsession.com/certifications/exams/oracle10g-ocp-upgrade.asp?exam_id=757" title="Cramsession Studyguide">studyguide</a> to help you as well. As with any exam, do not depend on any one source for your study material. Chances are, they will miss something.</p>
<p>What I plan on blogging about next is Installation and New Feature Support for the 10g OCP. My plan is to have about 15-20 posts on the 10g OCP and my exam experience. I look forward to blogging about it and hope that this pushes me to get this done! : )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclerant.com/?feed=rss2&amp;p=4</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
