|
INTERVIEW QUESTIONS
ORACLE
DETAILS
Question: Diffrence between VIEW and MATERIALIZED VIEW?
Answer: Views are the latest snapshot of the database at any instance of time..whereas Mat Views are the snapshots of Database at a particular instance. For Eg: If there exists a table Emp containing 10 records against which there is a view Like (Select emp, emp_id from emp) and there exists a MAT view with the same query( Select emp, emp_id from emp), if you fire a query at let say 10.15 a.m as SELECT * FROM EMP_VIEW This will return 10 records, If you fire the same query against MVIEw it will retuen 10 records. If aat 10.30 I insert one more record in emp table and then If I fire a query SELECT * from EMP_VIEW it will return me 10 rows but the MVIEW query will still return me 10 rows as it is the snapshot of the database at 10.15
|
|
|
Category |
Oracle Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7291 users |
Added on |
1/13/2013 |
Views |
72657 |
Rate it! |
|
|
Question:
Diffrence between VIEW and MATERIALIZED VIEW?
Answer:
Views are the latest snapshot of the database at any instance of time..whereas Mat Views are the snapshots of Database at a particular instance. For Eg: If there exists a table Emp containing 10 records against which there is a view Like (Select emp, emp_id from emp) and there exists a MAT view with the same query( Select emp, emp_id from emp), if you fire a query at let say 10.15 a.m as SELECT * FROM EMP_VIEW This will return 10 records, If you fire the same query against MVIEw it will retuen 10 records. If aat 10.30 I insert one more record in emp table and then If I fire a query SELECT * from EMP_VIEW it will return me 10 rows but the MVIEW query will still return me 10 rows as it is the snapshot of the database at 10.15 Source: CoolInterview.com
Answered by: Reema Gupta | Date: 4/24/2008
| Contact Reema Gupta
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
I would like to know the detail coding and procedure of connecting Oracle and Sql with VB and VB.Net
|
View Answer
|
|
What are Drawback of cursor?
|
View Answer
|
|
What is a basic difference between having and where clause?
|
View Answer
|
|
Why oracle is the best database?
|
View Answer
|
|
I WANT TO BECOME A DBA ADMINISTRATOR. SO,FOR THAT WHAT CAN I PREPARE NOW?
|
View Answer
|
|
What is Trigger at one Line?
|
View Answer
|
|
If the application is running very slow? At what points you need to go about the database in order to improve the performance?
|
View Answer
|
|
Explaint the nvl2 function
|
View Answer
|
|
what is place holder column? where we can use other than formula column?
|
View Answer
|
|
What is the difference between groupby and orderby?
|
View Answer
|
|
What is the process of upgrading oracle forms /reports from older version to new versions?
|
View Answer
|
|
How many codds rule should oracle satisfies
|
View Answer
|
|
What is the difference between object library and pl/sql library
|
View Answer
|
|
List out differences between Oracle Server 9i and Oracle Server 10g.
|
View Answer
|
|
Explain truncate with restore option with example
|
View Answer
|
|
What is the difference between Anonymous Block and subprogram? Can we call a procedure from Anonymous PL/SQL block?
|
View Answer
|
|
How to get a calender in date field in oracle forms?
|
View Answer
|
|
I have a server with 2GB RAM.Who is the optimal size for the shared pool size The shared pool reserved size is 1/10 to shared pool size Is there a mathematic type for compute the shared pool size ?
|
View Answer
|
|
I want to know that..is there any special way to login into oracle SQL*PLUS Editor directly..Rather than every time u have enter user,password,host string...what should i do with login.sql script.. i Put it in /Bin directory..but not working..
|
View Answer
|
|
Explaint the nvl2 function
|
View Answer
|