<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1415466133590436071</id><updated>2012-02-16T20:32:57.793+04:00</updated><category term='Oracle 9i Flash Back'/><category term='LogMinor'/><category term='UNDO tablespace'/><category term='Backup and Recovery'/><category term='Oracle 9i Backups'/><category term='Oracle 9i Backup'/><title type='text'>thinkora - Think Oracle</title><subtitle type='html'>ThinkOra is created to share my Oracle Database and development knowledge and experience, Tips and tricks, oracle scripts and many more....</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-2011753342758919243</id><published>2011-07-14T11:35:00.000+04:00</published><updated>2011-07-14T11:35:35.335+04:00</updated><title type='text'>Oracle 10g/11g OCA Preparation Guidelines</title><summary type='text'>

The road map which help the people who are looking for Oracle 1og and 11g Certification exam, where to start.

What are the required steps for getting Oracle certified?

1. Select a track
2. Prepare for the test
3. Schedule the test

Step 1. Select the track

Oracle Database Administrator:


Oracle 11g (OCA, OCP, OCM)
Oracle 10g DBA (OCA, OCP, OCM)
Oracle 9i DBA (OCA, OCP, OCM)

Oracle 9i or </summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/2011753342758919243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=2011753342758919243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/2011753342758919243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/2011753342758919243'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2011/07/oracle-10g11g-oca-preparation.html' title='Oracle 10g/11g OCA Preparation Guidelines'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-2978458368794580288</id><published>2011-07-14T11:33:00.000+04:00</published><updated>2011-07-14T11:33:15.833+04:00</updated><title type='text'>Change the Table Column Datatype with data using SQL</title><summary type='text'>Follow the simple steps to change the column datatype which is also having a data inside.
Normally, it’s not possible to change the column datatype with the existing data.

Steps: 

1. Add New temp Column with desired datatype.

SQL&gt; Alter Table 
Add temp datatype(size);


2. Update the data into new column. 

SQL&gt; Update 
set temp = 
where  is not null;


3. Drop the original Column.

SQL&gt; Alter</summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/2978458368794580288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=2978458368794580288' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/2978458368794580288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/2978458368794580288'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2011/07/change-table-column-datatype-with-data.html' title='Change the Table Column Datatype with data using SQL'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-7691621414327299063</id><published>2011-07-14T11:31:00.000+04:00</published><updated>2011-07-14T11:31:02.163+04:00</updated><title type='text'>Oracle Database Performance Tuning</title><summary type='text'>

For many people, Oracle database performance tuning is a hard thing and difficult 
to achieve. Actual user will not see any change done by the experts 
after the application deployment, So, I will start writing some articles
 on the Oracle performance tuning, required by any Application built on 
Oracle Database.

Most of issues of performance tuning will auto resolved, if the database design </summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/7691621414327299063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=7691621414327299063' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/7691621414327299063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/7691621414327299063'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2011/07/oracle-database-performance-tuning.html' title='Oracle Database Performance Tuning'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-8014261172638961607</id><published>2011-07-14T11:29:00.000+04:00</published><updated>2011-07-14T11:29:44.985+04:00</updated><title type='text'>Close Oracle Reporting Engine Procedure</title><summary type='text'>In the Application development, during running the oracle report engine every time you run the report.
Below is the code to close the reporting engine, if required by the application.



You can make this procedure using Oracle Forms Builder 6i

———————————————-
PROCEDURE close_rbe IS  v_win_handle NUMBER;  timer_id TIMER;  BEGIN  v_win_handle  := win_api_session.findAppwindow(’Reports Background</summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/8014261172638961607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=8014261172638961607' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/8014261172638961607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/8014261172638961607'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2011/07/close-oracle-reporting-engine-procedure.html' title='Close Oracle Reporting Engine Procedure'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-7401666911390311168</id><published>2011-07-14T11:26:00.001+04:00</published><updated>2011-07-14T11:27:30.502+04:00</updated><title type='text'>DBMS_METADATA Error</title><summary type='text'>     
Applies to: Oracle Server - Enterprise Edition - Version: 9.2.0.7  Information in this document applies to any platform. 
 
SQL&gt; select dbms_metadata.get_ddl(’TABLE’,’mytable‘,’myuser‘) from dual; 
ORA-06502: PL/SQL: numeric or value error
LPX-00210: expected '&lt;' instead of 'n'
ORA-06512: at "SYS.UTL_XML", line 0
ORA-06512: at "SYS.DBMS_METADATA_INT", line 3688
ORA-06512: at "</summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/7401666911390311168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=7401666911390311168' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/7401666911390311168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/7401666911390311168'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2011/07/dbmsmetadata-error.html' title='DBMS_METADATA Error'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-700867020297636107</id><published>2008-04-26T09:02:00.005+04:00</published><updated>2008-04-26T09:25:31.996+04:00</updated><title type='text'>ORA-19206: Invalid value for query or REF CURSOR parameter</title><summary type='text'>Today, while i import the schema into testing db (oracle 9i), it gives me following error,then i realize that i didn't run the catalog scripts after the db creation.So, if you create the database by yourself, then always run these scripts under the sys schema. see the solution below:ORA-19206: Invalid value for query or REF CURSOR parameterWhat causes this error?The queryString argument passed to</summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/700867020297636107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=700867020297636107' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/700867020297636107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/700867020297636107'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/04/ora-19206-invalid-value-for-query-or.html' title='ORA-19206: Invalid value for query or REF CURSOR parameter'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-7953106127657296154</id><published>2008-04-19T15:07:00.000+04:00</published><updated>2008-04-19T15:10:01.166+04:00</updated><title type='text'>Oracle BI Forum in Dubai</title><summary type='text'>Oracle  Business Intelligence ForumLearn More About  Oracle’s Business Intelligence Applications At this event you will: Learn how Oracle Business  Intelligence delivers intuitive, role-based intelligence for everyone in an  organization—from frontline employees to senior management—and enables better  decisions, actions, and business processes  Get an overview of how  Oracle’s hot-pluggable BI </summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/7953106127657296154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=7953106127657296154' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/7953106127657296154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/7953106127657296154'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/04/oracle-bi-forum-in-dubai.html' title='Oracle BI Forum in Dubai'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-2268647445354633141</id><published>2008-03-27T08:13:00.002+04:00</published><updated>2008-03-27T08:18:59.122+04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LogMinor'/><title type='text'>LogMiner session</title><summary type='text'>Tip # 2: Starting, using, and ending a LogMiner sessionWe are now ready to mine for gold, well, SQL. Suppose Scott calls you and says he deleted rows from his emp table (where empno is greater than 7900). It was a mistake, and he needs the data restored to his table. The first step is to start LogMiner and populate v$logmnr_contents. This view or "table" is what you query against to extract the </summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/2268647445354633141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=2268647445354633141' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/2268647445354633141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/2268647445354633141'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/03/logminer-session.html' title='LogMiner session'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-2230763011638239</id><published>2008-03-27T08:06:00.001+04:00</published><updated>2008-03-27T08:11:06.339+04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='UNDO tablespace'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 9i Flash Back'/><title type='text'>Tip # 1: flashback query 9i+</title><summary type='text'>Tip: Two powerful tools make queries on past data available now (9i+)If you recently upgraded to 9i or 10g, you have powerful new tools for taking snapshots of data from the past.The UNDO tablespace and its associated UNDO_RETENTION setting give you and your users:* The ability to run reports from a certain point in time.* The ability to use a SQL script to re-create accidentally changed or </summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/2230763011638239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=2230763011638239' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/2230763011638239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/2230763011638239'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/03/tip-1-flashback-query-9i.html' title='Tip # 1: flashback query 9i+'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-6852698492950466653</id><published>2008-03-23T08:56:00.001+04:00</published><updated>2008-03-23T08:56:59.200+04:00</updated><title type='text'>Oracle 9i Recovery (Loss of Server Parameter File)</title><summary type='text'>Loss of Server Parameter File (spfile)     If your server parameter file (spfile) becomes corrupt, and you haven't been creating a textual init.ora parameter file as a backup, you can pull the parameters from it using the strings command in UNIX to create an init.ora file.  You will need to edit the resulting file to get rid of any garbage characters in it (but don't worry about the "*." </summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/6852698492950466653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=6852698492950466653' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/6852698492950466653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/6852698492950466653'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/03/oracle-9i-recovery-loss-of-server.html' title='Oracle 9i Recovery (Loss of Server Parameter File)'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-8096274426084279794</id><published>2008-03-23T08:55:00.000+04:00</published><updated>2008-03-23T08:56:07.729+04:00</updated><title type='text'>Oracle 9i Recovery (Failure During Hot Backup)</title><summary type='text'>Failure During Hot Backup:    If you have a failure while you are doing a hot backup on a tablespace, besides doing any recovery that is needed for the particular failure, you will also need to bring those tablespace datafiles back out of hot backup mode.  To do this, while the database is in a mount state, do an "end backup" on each of those datafiles before opening the database.     sqlplus "/ </summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/8096274426084279794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=8096274426084279794' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/8096274426084279794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/8096274426084279794'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/03/oracle-9i-recovery-failure-during-hot.html' title='Oracle 9i Recovery (Failure During Hot Backup)'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-9044533277396037841</id><published>2008-03-23T08:53:00.001+04:00</published><updated>2008-03-23T08:55:07.916+04:00</updated><title type='text'></title><summary type='text'>Loss of TEMP Datafile:Symptoms: On large sorts (select distinct, order by, group by, union) that can't be done in memory, the sort will fail with "ORA-01157: cannot identify data file 3 - file not found" if the loss happened in the middle of the sort, or "ORA-01116: error in opening database file 3" if the loss happened before the sort started, along with the file name "ORA-01110: data file 3: '/</summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/9044533277396037841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=9044533277396037841' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/9044533277396037841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/9044533277396037841'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/03/loss-of-temp-datafile-symptoms-on-large.html' title=''/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-5181609451285441048</id><published>2008-03-23T08:51:00.002+04:00</published><updated>2008-03-23T08:52:05.699+04:00</updated><title type='text'>Oracle 9i Recovery (Loss of Control Files)</title><summary type='text'>Loss of Control Files :  Symptoms: May be none until you try to shutdown and startup the database.  On shutdown, if the control files were deleted, you would get"ORA-00210: cannot open control file 'path/ctrl_PROD_01.ctl'", or, if the control files were overwritten, you would get "ORA-00201: control file version incompatible with ORACLE version" along with their names.  On startup for both cases,</summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/5181609451285441048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=5181609451285441048' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/5181609451285441048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/5181609451285441048'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/03/oracle-9i-recovery-loss-of-control.html' title='Oracle 9i Recovery (Loss of Control Files)'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-7436977069334631090</id><published>2008-03-23T08:51:00.001+04:00</published><updated>2008-03-23T08:51:29.773+04:00</updated><title type='text'>Oracle 9i Recovery (Tablespace Recovery)</title><summary type='text'>3) Tablespace Recovery:  The Recover Tablespace option is used to recover all datafiles needing recovery in a tablespace up to the point of failure, synchronizing them with the other datafiles (complete recovery only).    C:\&gt;    sqlplus "/ as sysdba"SQL&gt; startup mountSQL&gt; alter database datafile '/u03/oradata/PROD/devl_PROD_01.dbf' offline;SQL&gt; alter database open;SQL&gt; alter tablespace </summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/7436977069334631090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=7436977069334631090' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/7436977069334631090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/7436977069334631090'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/03/oracle-9i-recovery-tablespace-recovery.html' title='Oracle 9i Recovery (Tablespace Recovery)'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-6172085282837950722</id><published>2008-03-23T08:50:00.002+04:00</published><updated>2008-03-23T08:50:47.841+04:00</updated><title type='text'>Oracle 9i Recovery (Datafile Recovery)</title><summary type='text'>2) DATAFILE RECOVERY  Recover Datafile is performed either from the MOUNT state (after a shutdown), with the datafile ONLINE or OFFLINE, or from the OPEN state, with the datafile OFFLINE. A bad datafile must be taken offline before the database can be opened.  The basic steps for Recover Datafile from the OPEN state (except for SYSTEM):    c:\&gt; sqlplus "/ as sysdba"SQL&gt; alter database datafile '/</summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/6172085282837950722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=6172085282837950722' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/6172085282837950722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/6172085282837950722'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/03/oracle-9i-recovery-datafile-recovery.html' title='Oracle 9i Recovery (Datafile Recovery)'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-2024076003142757448</id><published>2008-03-23T08:48:00.000+04:00</published><updated>2008-03-23T08:49:46.600+04:00</updated><title type='text'></title><summary type='text'>1) Database Recovery:  First make a BACKUP of your datafiles, control files, archive log files, and initialization parameters file (init.ora) for your database that crashed.A) Complete Recovery: Recover all datafiles needing recovery up to the point of failure. &lt;!--[endif]--&gt;  Check the datafiles needed recovery.COL df# FORMAT 999COL df_name FORMAT a20COL tbsp_name FORMAT a10COL status FORMAT </summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/2024076003142757448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=2024076003142757448' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/2024076003142757448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/2024076003142757448'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/03/1-database-recovery-first-make-backup.html' title=''/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-3421869303992523411</id><published>2008-03-23T08:47:00.000+04:00</published><updated>2008-03-23T08:48:16.894+04:00</updated><title type='text'>Oracle 9i Disaster Recovery</title><summary type='text'>Disaster Recovery OverviewThe first thing you should ALWAYS do when your database crashes is to make a BACKUP of your datafiles, control files, archive log files, and initialization parameters file (init.ora) for your database that crashed, either copying those files to tape or to another directory, or zipping them with something like GNU Zip, or making a tar file of them. DO NOT TRY TO RESTART </summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/3421869303992523411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=3421869303992523411' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/3421869303992523411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/3421869303992523411'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/03/oracle-9i-disaster-recovery.html' title='Oracle 9i Disaster Recovery'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-2012274301407410456</id><published>2008-03-23T08:23:00.001+04:00</published><updated>2008-03-23T08:44:18.040+04:00</updated><title type='text'>Backup Files</title><summary type='text'>What To Back Up:     &lt;!--[if !supportLists]--&gt;·         &lt;!--[endif]--&gt;Datafiles (for all tablespaces)&lt;!--[if !supportLists]--&gt;·         &lt;!--[endif]--&gt;Control Files (binary and textual versions)  &lt;!--[if !supportLists]--&gt;·         &lt;!--[endif]--&gt;Redo Log Files (cold backups only, not hot backups)  &lt;!--[if !supportLists]--&gt;·         &lt;!--[endif]--&gt;Archive Log Files (archived redo logs, if archivelog </summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/2012274301407410456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=2012274301407410456' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/2012274301407410456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/2012274301407410456'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/03/backup-files.html' title='Backup Files'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-6943079086298287436</id><published>2008-03-18T15:11:00.003+04:00</published><updated>2008-03-27T08:21:55.533+04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Backup and Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 9i Backup'/><title type='text'>Bullet proof your Oracle database</title><summary type='text'>Bulletproofing Oracle database:Yes, you really can bulletproof your database so that it is always up and available and you never lose any data from almost any disaster scenario - for a price, whether in dollars, storage, servers, and/or bandwidth. You can do things such as running parallel servers in separate locations with standby databases for quick switchovers using Oracle's Data Guard package</summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/6943079086298287436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=6943079086298287436' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/6943079086298287436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/6943079086298287436'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/03/bloot-proof-your-oracle-database.html' title='Bullet proof your Oracle database'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-8836339811515771877</id><published>2008-03-18T15:05:00.005+04:00</published><updated>2008-03-18T15:16:49.984+04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Backup and Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 9i Backups'/><title type='text'>Oracle Backup and Recovery 7-9i</title><summary type='text'>BackupsThe DBA's primary job is to make sure that the data is available and accessable by the users during those times that they need it, which means that a complete and well-tested backup and recovery procedure is in place and functioning. This section covers what files need to be included in that backup, the types of backups (cold backups and hot backups), and other processing that you could </summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/8836339811515771877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=8836339811515771877' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/8836339811515771877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/8836339811515771877'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/03/oracle-backup-and-recovery-7-9i.html' title='Oracle Backup and Recovery 7-9i'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1415466133590436071.post-8889729201601043843</id><published>2008-02-28T09:22:00.002+04:00</published><updated>2008-03-18T15:30:48.375+04:00</updated><title type='text'>Group by SQL Query Tuning.</title><summary type='text'>Comparison of two group by Queries:-- slower querySQL &gt; SELECT prod_id, cust_id, channel_id, SUM(quantity_sold)FROM salesWHERE cust_id &lt;&gt;-- faster querySQL&gt; SELECT prod_id, cust_id, channel_id, SUM(quantity_sold)FROM salesWHERE cust_id &lt;&gt; SQL&gt; select deptno, empno, ename, sum(nvl(sal,0)) from scott.emp group by grouping sets ((deptno),(empno, ename));    -- display totals for the deptno's.SQL&gt; </summary><link rel='replies' type='application/atom+xml' href='http://thinkora.blogspot.com/feeds/8889729201601043843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1415466133590436071&amp;postID=8889729201601043843' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/8889729201601043843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1415466133590436071/posts/default/8889729201601043843'/><link rel='alternate' type='text/html' href='http://thinkora.blogspot.com/2008/02/group-by-sql-query-for-running-totals.html' title='Group by SQL Query Tuning.'/><author><name>shoaib</name><uri>http://www.blogger.com/profile/12517160107177961421</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
