Tuesday, January 24, 2006
Oracle Interview Questions: Level 1
About Interview Questions on Oracle.
http://get-best.com/IT_Interview_Questions/dbaQA1.htm
http://get-best.com/IT_Interview_Questions/dbaQA2.htm
http://get-best.com/IT_Interview_Questions/dbaQA3.htm
http://get-best.com/IT_Interview_Questions/dbaQA4.htm
For more Technical Questions
http://blogs.ittoolbox.com/database/solutions/archives/006260.asp
Click the above link
Oracle Certification: OCP
Database Administrator: Database Administrators are responsible for administrative activities like installing database, taking backups, managing and fine-tuning performance over the network, and data recovery. They have the knowledge of basic architecture of the Oracle database. Visit Oracle DBA Certification Track page to gain detailed information about the exam, its details, types of questions, and how to prepare for the exam, if you are interested in taking the OCP-DBA certification.
http://www.whizlabs.com/ocp/oracle-dba.html
Oracle 9i DBA Path Details
Oracle Administrator track for Oracle 9i has been divided into the following three levels.
1.Associate Level (2 Exams). You need to clear the following exams:
Introduction to Oracle: SQL and PL/SQL OR
Introduction to Oracle 9i: SQL (online also)
Oracle 9i Database: Fundamentals I
Oracle 9i Database: Fundamentals II
Oracle 9i Database: Performance Tuning
*** To get OCP - Professional Level (2 Exams and one Oracle University hands-on course within the Oracle 9i DBA learning path). You need to clear the following exams:
How to check any deadlock and other locking issues
What a Oracle DBA can be?
"DBA is a Database Administrator who logs onto the multi-user operating system as internal or system with the appropriate password is recognized by the operating system as the rightful owner of resources on the Hard disk drive. This person then becomes the Oracle DBA". --- IVAN BAYROSS
For this I did not get right answer when I premeditated to take this line of work, but latter with perceptive of Oracle’s Workgroup I could able to learn that DBA’s are not only do backup, recover & tune the database but they design the database and more deeper I go I learned the depths of being a DBA. 10 months of expertise of mine and certification from Oracle made me to know the depths of being what a DBA holds.This is the first question always comes when we take up a new vocation – what I can, if I took up this line of work?So i put my solutions in this web log with the various works a DBA can handle.
There are DBAs who focus on logical design and DBAs who focus on physical design; DBAs who specialize in building systems and DBAs who specialize in maintaining and tuning systems; specialty DBAs and general-purpose DBAs.
Indeed, the job of system DBA usually exists only if the organization does not have an official
system administration or systems programming department.
Want to Become an Oracle DBA
Thursday, January 19, 2006
File System re-organization: Oracle Internal Error
Oracle Internal Error:
As a Oracle database administrator, we must keep the file system perfect, to make accessible for end users. Well this augments my issue for the internal error which kept me on toe. So I started to work on this to try with this and almost absolute and reasonable.
Unused columns (Why disorganized & what creates them to drop):- Refer my previous post
SQL> Alter table
SQL>Alter table
Before SQL Statement sets the columns and the next statement drops the columns, but make sure about the constraints on those columns – well why don’t we use cascade option to do this.
SQL>Alter table
And one more important thing must me noted - when you are doing these things, the table is not available to the users.
SQL>Alter index index_name monitoring usage;
SQL>Alter index index_name nomonitoring usage;
SQL>Select * from v$object_usage
Oracle 9.2 on Microsoft Windows 2003 (32 Bit OS)
Internal Error ORA-600[QXIDMACLOB]
We have automated script running daily to do export database for the development server, but to my strange I find Internal Error ORA-600[QXIDMACLOB].
Well this case is repeating from couple of days and I could not able to identify this but latter followed up to metal ink where I could find the correct solution for this
Cause
The error is related to Bug:1805146 and is caused by a data dictionary inconsistency left by the ALTER TABLE SET UNUSED statement.This statement mark/delete entries in the col$ table related to that object but, miss or fail to mark/delete rows in some tables called coltype$, lob$ and partlog$.Causing the inconsistency.
Solution
Use the following workaround:After drop a column, this is marked as UNUSED.In order to avoid this error, customer must drop al unused columns executing the following command:ALTER TABLE DROP UNUSED COLUMNS;If the table is really big, this statement can potentially use a lot of UNDO space.In order to avoid UNDO space errors, customer must use the following statement:ALTER TABLE DROP UNUSED COLUMNS checkpoint 100;Checkpointing cuts down the amount of undo logs accumulated during the drop column operation to avoid running out of rollback segment space.If you do not specify a number (integer) , Oracle sets the default of 512.
*** I tried working on this and could able to solve the problem.
Wednesday, January 18, 2006
Statspack Installation - Steps
Definition made simple: -
The Statspack package is a set of SQL, PL/SQL, and SQL*Plus scripts that allow the collection, automation, storage, and viewing of performance data. Statspack stores the performance statistics permanently in Oracle tables, which can later be used for reporting and analysis. The data collected can be analyzed using Statspack reports, which includes an instance health and load summary page, high resource SQL statements, and the traditional wait events and initialization parameters.
Approximately 64MB is required to install Statspack.
If you install the package in a dictionary-managed tablespace, then you should monitor the space used by the objects created and, if required, adjust the storage clauses of the segments.
*** If you install the package in a locally managed tablespace, then storage clauses are not required, because the storage characteristics are automatically managed.
Start SQL*Plus.
You need to enter default tablespace “Which Oracle recommends ‘TOOLS’
And its asks you to enter Temporary tablespace and that is your “TEMP” and within few minutes your Statspack ready to use.
PERSONALITY TRAITS OF A DBA
This indicates the a DBA should exhibit the following traits:
Self Confidence
Curiosity
Tenacity
Tactful
Self-starter
Detail oriented