GeekInterview.com
Series: Subject: Topic:

Real time Oracle Interview Questions

Showing Questions 1 - 20 of 25 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

Block corruption

Asked By: vikrant.dixit | Asked On: Jul 16th, 2008

Where we can find block corruption? Which view desc block corruption?

Answered by: naveenkumar on: Apr 3rd, 2012

we can find corrupted block by this command in sql>select * from database_block_corruption;

we can also find the corrupted block from unix command by database verify $ dbv file=path block size=8192;

Answered by: sangeethaso on: Aug 26th, 2010

Block corruption can be viewed from the view v$database_block_corruption there is no view like v$block_corruption.Using RMAN backup – block media recovery (oracle 10g database)i.) Select * from ...

All the users are complaining that their application is hanging. How you will resolve this situation in oltp

Asked By: Interview Candidate | Asked On: Aug 17th, 2005

Answered by: Kunal Mishra on: Oct 10th, 2011


Please check archive log destination has enough space, 100% full archivelog destination makes database hanged.

Answered by: Kunal Mishra on: Oct 10th, 2011

First check the Alert log file if any error related to hang issue such. Then I would like to suggest one important step, that is please check archive log destination whether it has enough space, some ...

How to do the scheduled task/jobs in UNIX platform

Asked By: Interview Candidate | Asked On: Mar 15th, 2005

Answered by: Nandu on: Aug 11th, 2011

By using the command

crontab

Answered by: matabrez on: Jan 15th, 2011

Using crontab we can schedule task/jobs to run at particular time, date, day basis. steps. 1. Login to unix 2. At $prompt 'crontab -l' use this command to check what jobs are already schedule...

Very next day on the prodction box it looks some procedres/packages got invlidated. What command I should give to know how many packges are invalidated. If suppose thousands are the packages invalidated...

Asked By: agarwalk_2000 | Asked On: Mar 17th, 2006

Answered by: Sharath on: Jul 27th, 2011

you just validate it.. by using validate procedure and validate package commands.. ok don't worry

Answered by: vaddapalli on: May 2nd, 2009

we can use the  @?/rdbms/admin/utlrp.sql

The below listed are the scripts that were executed to valid the DBMS_STAT on particular databses.


@?/rdbms/admin/dbmsstat.sql

@?/rdbms/admin/prvtstas.plb

@?/rdbms/admin/prvtstat.plb

Schema a has some objects and created one procedure and granted to schema b. Schema b has the same objects like schema a. Schema b executed the procedure like inserting some records. In this case where...

Asked By: Interview Candidate | Asked On: Aug 30th, 2005

Answered by: eshwar prasad on: Sep 2nd, 2010

Schema B

Answered by: harshljica on: Aug 25th, 2009

By default in Schema A the table will be updated

Dual table explain. Is any data internally storing in dual table. Lot of users are accessing select sysdate from dual and they getting some millisecond differences. If we execute select sysdate from emp;...

Asked By: Interview Candidate | Asked On: Sep 8th, 2005

Answered by: rajesh_bu2001 on: Aug 24th, 2009

Dual is a single row table in the system tablespace accessible to all the schema users. Selecting from the DUAL table is useful for computing a constant expression with the SELECT statement. Because D...

Answered by: P.Sathe on: Jul 19th, 2006

You can issue "sysdate" from any table, but the result will be as many rows as your table , that you used.

The whole idea behind using "DUAL" table is to meet the the criteria as defined by RDBMS , that you have to use "Select.. from" syntax to get the values from column.

See, if the export dump is in one characterset and the target database which has to be imported is in another characterset how could we import that particular duMPFIle into target database ?

Asked By: S. Raheem | Asked On: Mar 11th, 2006

Answered by: aravindhreturns on: Jul 1st, 2009

First look into your character set by using this command:-
select * from v$nls_parameters;

There will be a character set column in it.
Copy it and
EXPORT NLS_LANG=(Paste it here before you start your import.)

I bet it'll work.

Answered by: Faraz on: May 24th, 2006

 In 10g exp/imp can be used to convert to character set but it can result in some data loss or data corruption.consier also when we are migrating form character set A to set B make sure to avod data loss that  B is a superset of A.

If the large table contains thousands of records and the application is accessing 35% of the table which method to use: index searching or full table scan

Asked By: Interview Candidate | Asked On: Aug 25th, 2005

Answered by: Kedar_Risbud on: Jun 22nd, 2009

Usually, whenever MORE THAN 2 to 4 % of rows in a table are going to be returned by  a query, a full table scan is preferred over an indexed scan. So in this case, as 35% of rows of the table are accessed by the application, a full table scan will be used.

Answered by: Surya Peri on: Feb 18th, 2007

Hi,
15% of 100 million rows is still a lot of rows and would take lot of time if there is a full table scan.

If you disable the index, can you use it or not?

Asked By: ddkdhar | Asked On: Mar 1st, 2007

Answered by: samareshp on: Apr 20th, 2009

yes you can use it ...but need to enable the index

Answered by: askvenki on: Dec 21st, 2007

we can disable index so that we can write query

The DBA has added state column to the customers table and has asked you to add acorresponding state item to the customers block of the orders form. You want to make it easier for order entry clerks to...

Asked By: Beena | Asked On: Sep 16th, 2005

Answered by: sun_5 on: Dec 25th, 2008

Combo Box will be useful in this Scenario

Answered by: msathishkumar_be on: Mar 12th, 2007

The Combo Box is the best option for this cause it is only accept the user input when
compare with other list styles.

You are regularly changing the package body part. How will you create or what will you do before creating that package

Asked By: Interview Candidate | Asked On: Aug 25th, 2005

Answered by: sun_5 on: Dec 25th, 2008

We need to Create the Package Specification before creating the Package Body

Answered by: B.Vijay Karthik on: Aug 25th, 2005

Create package specifications before creatin package body.

Explain few real time scenarios related to deadlock, flashback queries and autonomous transaction

Asked By: girishcsam | Asked On: Mar 16th, 2007

Answered by: lanka_satya on: Sep 12th, 2008

mutation of triggers is an example of deadlock.......for flashback we can use to being tables from recyclebin

How to check to memory gap once the sga is started in restricted mode

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Answered by: chiragblitz on: Aug 25th, 2008

V$SGA - Provided that the user is granted DBA access

What are the differences you have seen while installing Oracle on NT and UNIX platform

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Answered by: kkalluri on: Oct 27th, 2007


Hi

I strongly feel, with OUI, installtion is more or less same on Windows and Unix.
there is nothing great about Unix installation.

krishna

Answered by: Chiranjeevi Manne on: Mar 30th, 2007

1. installing oracle on Windows is piece of cake which requires less DBA intervention.2. While installing Oracle on Linux is a laborious process which involves ina. creating the groups (oinstall, orac...

In exception handling we have some not_found and others. In inner layer we have some not_found and others. While executing which one whether outer layer or inner layer will check first

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Answered by: chinna on: Jun 29th, 2007

Once you got inside the OUTER_LOOP, it comes out only after the NOTFOUND statement.

So OUTER_LOOP will be valuated first.Its similar to C language, first OUTER_LOOP will valuated followed by an INNER_LOOP.

Answered by: vishal on: May 30th, 2005

inner layer. execution carry on furthur without going to outer exception blocks.

If the SQL * plus hangs for a long time, what is the reason

Asked By: Interview Candidate | Asked On: Aug 25th, 2005

Answered by: Natesh on: Apr 26th, 2007

when we try access a  table which is locked or manipulated by another user

Answered by: J Lehew on: Aug 25th, 2005

You are running a cartisian query, typically by mistake. Make sure every table has a join criteria specified for it.  You are working on a table with 100+million rows.  The databa...

In which situation whether peak time or off peak time you will execute the analyze table command. Why

Asked By: Interview Candidate | Asked On: Jun 16th, 2005

Answered by: Chiranjeevi Manne on: Mar 30th, 2007

The ANALYZE requires significant system resources, So it is always better to run the ANALYZE command during off peak hours.

Answered by: hema on: Jun 16th, 2005

You have to run the analyze command during off peak time only because it actually performs full table scan.

If the entire disk is corrupted how will you and what are the steps to recover the database

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Answered by: prakashpichika on: Oct 4th, 2006

Entire Disk is corrupted???1) Production database runs on RAID Levels or on HUGE EMC Storage! 2) Changes are less for data loss on all disks - if it's on RAID! Yes - if there is a failure with Disk Co...

Answered by: Ritesh Singh on: Jul 7th, 2006

if the entire disk is corrupted and no backup is there don nothing sit and relax their is no possibility of recovery ...a backup is required for restoration and for recovery redo log and archive logs....

What are the differences between database designing and database modeling

Asked By: Interview Candidate | Asked On: Sep 8th, 2005

Answered by: opbang on: Sep 27th, 2006

Database Modelling is  - Logical and Physical Modelling.  Logical Modelling is independent of Type of Database.. Once Logical Database Model is built.  You can create Phsical Model depe...

Answered by: dimple on: Sep 8th, 2005

refer http://www.aisintl.com/case/library/R-Theory_vs_ER/r-theory_vs_er.html 
 
it says, database modeling comprises: discovery, design, documentation, communication, DDL generation, re engineering

What is bulk SQL

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Answered by: Santanu Maity on: Jun 22nd, 2006

Bulk sql are forall and bulk collect INTO statement,
For performence reason the bulk bind is used to eleminate the context switching between two sql and pl/sql eng.

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.