Oracle Interview Question - oracle difference between view and materialized view

  Рет қаралды 124,081

Siva Academy

5 жыл бұрын

Oracle Interview Question - Difference between view and materialized view?
List of all the SQL and PLSQL interview questions @ sivakacademy.blogspot.com/p/sql-plsql-interview-questions.html

Пікірлер: 160
@user-up3wh3nl6q
@user-up3wh3nl6q 11 ай бұрын
very helpful, explained in a very simple way, thanks for the amazing content.
@AbhishekTiwari-ol6gv
@AbhishekTiwari-ol6gv 11 ай бұрын
your videos are so much helping brother
@vishalmoradia4888
@vishalmoradia4888 2 жыл бұрын
Best explanation I found on internet. Thank You.
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Welcome 💐💐🙏👍
@gsraj511
@gsraj511 2 жыл бұрын
Very Informative and Clear Explanation... Thank you so much Siva.. Keep up the Good work !!!
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Thank you very much bro
@tusharshreshth
@tusharshreshth 3 жыл бұрын
Thank you very much for sharing your knowledge...If am not wrong need below correction. For point no 2. in comparison of View and MV @9.55. For view, online data from underlying base tables and for MV it should be Offline/delayed data from MV instead of underlying base tables as last refresh data is returned...
@anilk3233
@anilk3233 4 жыл бұрын
Thank you for your "Crystal Clear Explanation" Siva. Appreciate it. Thanks again and keep up the good work.
@SivaAcademy
@SivaAcademy 4 жыл бұрын
My pleasure!
@AtulKumar-tw3gm
@AtulKumar-tw3gm 5 күн бұрын
Hi sir, I watch your all sql videos and it is very helpful for me. Thanks a lot for these videos. Can you please make a video on how we can refresh materialized view or a detailed video on materialized view.
@rahulsingh-sw3yt
@rahulsingh-sw3yt 5 жыл бұрын
Well explained.... All topics....really appreciated for such type of help....
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@rahul, welcome bro 🙏
@abhigoswami6668
@abhigoswami6668 3 жыл бұрын
Excellent Explanation...very very good work siva..keep it up
@SivaAcademy
@SivaAcademy 3 жыл бұрын
My pleasure, thank you
@jksharma7
@jksharma7 3 жыл бұрын
Siva Sireeee....... You explained it very well. Tahnks.
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Welcome
@devilsgaming5915
@devilsgaming5915 4 жыл бұрын
Thanks for the video ,i have got clarity on these concepts very well
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Welcome 🙏, its my pleasure 🙂
@vickypatekar9532
@vickypatekar9532 4 жыл бұрын
Awesome Explaination Sir Thanks alot 👌
@SivaAcademy
@SivaAcademy 4 жыл бұрын
@vicky, thanks for your comments bro 🙏
@dnyaneshchavan7227
@dnyaneshchavan7227 Жыл бұрын
You are rock man...good explain in very simple language and example
@SivaAcademy
@SivaAcademy Жыл бұрын
My pleasure bro
@kumargaurav4961
@kumargaurav4961 3 жыл бұрын
Hi Shiva , your videos are great and very informative ... just wanted to know if we can create view with unique column or like unique sequence id ?
@newpatron7054
@newpatron7054 3 жыл бұрын
Best explaination till date.
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Thank you 💐
@Ram.k93
@Ram.k93 2 жыл бұрын
Nice explanation. Few points to add- 1. While creating Mviews, internal tables and index are created in same schema along with mview. 2. We can have partitions and indexes for mviews.
@bhushanpalse516
@bhushanpalse516 2 жыл бұрын
Excellent teaching of Concept sir,. Keep it on, best wishes
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Welcome bro
@tusharsonwane8468
@tusharsonwane8468 Жыл бұрын
Superb superb explanation sir thank you for such great information 🙏
@SivaAcademy
@SivaAcademy Жыл бұрын
Welcome bro
@aniketjagdale7765
@aniketjagdale7765 3 ай бұрын
Hello sir it was a very good explanation but please make a detailed video on materialized view as you have make on index and view.
@anshumanmishra571
@anshumanmishra571 4 жыл бұрын
Awesome explanation sir and its very informative
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Welcome 🙏👍
@maboodahmad7289
@maboodahmad7289 2 жыл бұрын
Thank so much sir, cristal clear explanation.. ❤️
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Thank you
@ramanhasan9398
@ramanhasan9398 2 жыл бұрын
Thank you very much for the great content! Could tell me where could I find the Video related to last part of the video? (about the question: in which scenarios should we use wich concept)
@mateen161
@mateen161 4 жыл бұрын
Nice explanation. Thank you!
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Welcome
@shaikrasheed2861
@shaikrasheed2861 4 жыл бұрын
Excellent sir,we need more updates
@SivaAcademy
@SivaAcademy 4 жыл бұрын
🙏 thanks, please stay tuned for more videos
@hridayborah9750
@hridayborah9750 4 жыл бұрын
It's in external level , modification done on base table will not affect the views of the end user
@sidhantpasricha5356
@sidhantpasricha5356 4 жыл бұрын
Very well explained..Thanks
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Welcome
@sachinjadhav3566
@sachinjadhav3566 2 жыл бұрын
On performance basic is mv is used if there is frequent dml operation?
@purnachandrajena7948
@purnachandrajena7948 5 жыл бұрын
Excellent... Kindly Upload the the concept of performance and tunning
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Thanks for your comment. Working on performance tuning series of videos, will upload once done.
@pradipsaudar4077
@pradipsaudar4077 2 жыл бұрын
Thank for clarification ... Bless you
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Welcome bro
@funmastisagar
@funmastisagar 11 ай бұрын
Can we create index on view or Mview and can we perform DML on Mview ??
@deepshikhakhatri3338
@deepshikhakhatri3338 2 жыл бұрын
my doubts are all clear, thanks
@SivaAcademy
@SivaAcademy 2 жыл бұрын
You are welcome
@lehuuphuc0909
@lehuuphuc0909 3 жыл бұрын
Thanks for your explain...
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Welcome 💐🙏
@arijitroy7253
@arijitroy7253 3 жыл бұрын
If materialised views have their separate physical storage then why shld v not create a subset of the main table, why a materialised view only ! If u may answer pls .
@Rathod-P_Raj
@Rathod-P_Raj 2 жыл бұрын
ora - 12015 cannot create a fast refresh materialized view from a complex query Cause: Neither ROWIDs and nor Primary key constraints are supported for complex queries..Plz make one video on this topic
@asishkumar4376
@asishkumar4376 2 жыл бұрын
Clear Explanation. sir
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Thank you
@shankark7584
@shankark7584 2 жыл бұрын
thank u bro clean explanation
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Welcome bro
@tej1316
@tej1316 Жыл бұрын
Appreciate your hard work! Well as per my experience : If you practice this playlist you are good to clear any service based firm for PLSQL role ! can't we use CREATE OR REPLACE MATERIALIZED VIEW mv_name ; syntax ?😃
@pravingaddam8541
@pravingaddam8541 Жыл бұрын
Hi Sir , nice explanation. I have one query, currently I'm creating one Mview (base on 2-3 table) monthly on first date but while using that Mview, in next day some of the packages (base on Mview) going in invalid objects status . So kindly clarify why this packages going in invalid objects status and how to avoid it ? Thanks in advance
@user-wu7dq6fc1i
@user-wu7dq6fc1i 11 ай бұрын
Hi shiva, which sceneries view and Mview will use, please make the video
@suchismitamishra2248
@suchismitamishra2248 Жыл бұрын
Quite informative
@SivaAcademy
@SivaAcademy Жыл бұрын
Thank you
@KarthikRampur-ql2td
@KarthikRampur-ql2td 4 жыл бұрын
where exactly M-View gets stored ? Does it store as table data/file ??? Also can we update materialized view ?
@SanjayKumar-ng7zp
@SanjayKumar-ng7zp 4 жыл бұрын
nice presentation
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Thank you
@namratanikam7566
@namratanikam7566 3 жыл бұрын
Great👍🤟
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Thank you
@bharatbagul9292
@bharatbagul9292 4 жыл бұрын
Good One...please make videos on performance tunning... if particular doesn't give the performance what we have to check...or what is basic methods of tunning the query
@SivaAcademy
@SivaAcademy 4 жыл бұрын
sure, please stay tuned
@rahulbadhe5930
@rahulbadhe5930 5 жыл бұрын
nice sir .. 1) what is dynamic sql?explain in details. 2) what is ref-cursor?expain in details. this above questions plz make a videos sir ...interview point of plz...
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@Rahul, Thanks for your comment, Sure, I will post a video on dynamic SQL, and ref cursor soon, Pls stay tuned... Thanks
@sudarsanrout5787
@sudarsanrout5787 Жыл бұрын
👍👍👍👍
@ManojKumar-il8vt
@ManojKumar-il8vt 5 жыл бұрын
Superb
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Thanks Manoj
@BewithuNnk
@BewithuNnk Жыл бұрын
Please upload this video with an example? Views are created on top of materialized views ? And How?
@aashokprusty
@aashokprusty 3 жыл бұрын
When will we go for a view and when will go for Materialized view
@Pras2winma
@Pras2winma 2 жыл бұрын
Thank u
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Welcome
@kameshrajdevaraj
@kameshrajdevaraj Жыл бұрын
Hi Shiva, your way of teaching is quite interesting .have an question on this part whether we able to do any modification in created M-view without dropping.
@SivaAcademy
@SivaAcademy Жыл бұрын
Thank you bro, I guess no, however I will check and post back with detailed information
@slyroy7562
@slyroy7562 3 жыл бұрын
When we perform an DML Statements in view table will it be effect on base table or not??
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Yes, please check this video kzbin.info/www/bejne/i4CQlX2neNadpZo
@geetika.shrivastava
@geetika.shrivastava 3 жыл бұрын
Can u give some scenarios- when views should be used and when materialized view should be used ?
@kuntalbanerjee6903
@kuntalbanerjee6903 2 жыл бұрын
Views generally used in database application where number of data are less like daily transaction and number of table that need to join to retrieve data are less then we use view.But we use materialized views where the query is complex and in the mat view many tables need to join and time consuming.In this scenario we use materialized view.In normal OLTP application we use views but for data warehouse application and business intelligence application where we generate reports based on some complex query and join we use materialized views.
@krishnaadabala169
@krishnaadabala169 11 ай бұрын
​@@kuntalbanerjee6903thnkyou ❤
@hiralalpawar1506
@hiralalpawar1506 3 жыл бұрын
very nice sir
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Thank you
@SanjayKumar-ng7zp
@SanjayKumar-ng7zp 4 жыл бұрын
Please create video on types of refresh in materialized view and more advance features in mv
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Sure please stay tuned
@suryamadank3626
@suryamadank3626 Жыл бұрын
Can we do DML om MV?
@ManojKumar-il8vt
@ManojKumar-il8vt 5 жыл бұрын
Sir pls share some more interview questions asked vedios like triggers concept & indexing part
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Sure Manoj, Already posted on trigger concept & types., Next video i will cover DML trigger types and its concepts. send if you have any specific question on DML trigger, i will answer as part of that video.
@vskroyal4565
@vskroyal4565 3 жыл бұрын
Can u make video on below question
@gauravdutta5486
@gauravdutta5486 3 жыл бұрын
Hello Sir , just a question Suppose we have a materialized view which we refresh periodically ! and then we just drop the base table of that M_VIEW ! What will happen when M_VIEW will e refreshed the next time ? I believe we will get some kind of error like source table do not exist
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Yes we will get error
@mahammadshoyab9717
@mahammadshoyab9717 3 жыл бұрын
Good video bro,
@SivaAcademy
@SivaAcademy 3 жыл бұрын
👍👍
@mahammadshoyab9717
@mahammadshoyab9717 3 жыл бұрын
@@SivaAcademy hi siva, how to find no of weeks for a month in sql
@mahammadshoyab9717
@mahammadshoyab9717 3 жыл бұрын
Also,how to change snowflake schema to star schema.
@sushmasakore2562
@sushmasakore2562 Жыл бұрын
How to add columns in view
@priyankadesai9848
@priyankadesai9848 3 жыл бұрын
Hi please post separate video on materlized view.... Refresh methods.
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Sure, please stay tuned
@surendrabisht2523
@surendrabisht2523 2 жыл бұрын
👌
@SivaAcademy
@SivaAcademy 2 жыл бұрын
🙏💐
@ManishaKumari-jb9xg
@ManishaKumari-jb9xg 2 жыл бұрын
Sir, Could you please answer this question- why we are going for a Materialized? I mean as view doesn't store any data so there will not be any space issue but Materialized view stores data in a physical memory location so it will take space then also use Materialized view why?
@kuntalbanerjee6903
@kuntalbanerjee6903 2 жыл бұрын
There are many application where space is not the primary concern but the query time is more important like data warehouse and BI application where we use materialized views.
@nitu.mishra.549
@nitu.mishra.549 2 жыл бұрын
Hello sir... Can we perform dml statement in base table through view??
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Yes, for simple view, its possible, for complex its not possible, please look into this video kzbin.info/www/bejne/i4CQlX2neNadpZo
@anjalishende662
@anjalishende662 2 жыл бұрын
When to use view and materialized view ?
@sabariraj-sh7hg
@sabariraj-sh7hg Жыл бұрын
Ji enable query write ku , seperate video poduga ji,, it will helpful for us
@SivaAcademy
@SivaAcademy Жыл бұрын
Sure Sabari, can you please eloborate little bit more ji
@learntolive5001
@learntolive5001 11 ай бұрын
what is the purpose of creating materialized view??
@rahulsingh-sw3yt
@rahulsingh-sw3yt 5 жыл бұрын
Plz provide some more topic on performance tunning
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@rahul, sure will be posting, please stay tuned
@pankajdubey8197
@pankajdubey8197 4 жыл бұрын
Materialize view can be created on different schemes/database..... can we do the same view also ?
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Yes.. Using db links
@ashokkumar-hm5on
@ashokkumar-hm5on Жыл бұрын
create or replace materialized view vw_emp as select * from employees where department_id=50; not working in sql devoloper
@Crazy-Trainings
@Crazy-Trainings 25 күн бұрын
Don't use Replace ,it will work.
@reddysrkhar
@reddysrkhar 5 жыл бұрын
Explain performance tuning concept deep explain video upload
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Sure,I Will do.
@utubemovies1
@utubemovies1 3 жыл бұрын
Very informative video. Most of the videos voice is low. Hope it will be taken care
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Hopefully recent videos are better
@crazycom9807
@crazycom9807 3 жыл бұрын
Hi Sir, Please make tutorial on MV... refresh types etc.,
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Yes, please stay tuned
@arunrocketz
@arunrocketz 4 жыл бұрын
what is the default refresh method in Mv?
@Crazy-Trainings
@Crazy-Trainings 25 күн бұрын
Force Refresh
@ur8946
@ur8946 5 жыл бұрын
Can we fire DML statement on Materialized view ?
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@ur, DML operation is not possible on read-only materialized views, however, you can do DML on updatable materialized view.
@Murthy3333
@Murthy3333 Жыл бұрын
Hi Siva, Could you please confirm how many Mviews are there.Could you please make a video on How to create types of Materialized view 1. READ ONLY 2. WRITABLE3. UPDATABLE Note: particularly How to create Updatable Mview and give us an example of how to update the base table through Updatable Mview. Thanks in Advance...
@SivaAcademy
@SivaAcademy Жыл бұрын
Sure, definitely, please stay tuned, will cover in upcoming videos
@bhargavasrirambhatla4002
@bhargavasrirambhatla4002 5 жыл бұрын
Hi sir Can you please explain what is pass by value and pass by reference, thanks in advance
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Sure bro, please stay tuned, will post soon
@bhargavasrirambhatla4002
@bhargavasrirambhatla4002 5 жыл бұрын
@@SivaAcademydo we get any message or how do we know that u have updated videos
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@bhargava, click the bell icon next to subscribe button, to enable the notification, after that for any new video uploaded you will get a notification
@Mini-vv1gz
@Mini-vv1gz 2 жыл бұрын
you videos are good but volume is very low , we have to keep 100 then ony can hear you properly .
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Thank you, I believe recent videos volume is good?
@vskroyal4565
@vskroyal4565 3 жыл бұрын
Sir can u make difference between group by and partition by????
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Sure bro, please stay tuned
@ManojKumar-il8vt
@ManojKumar-il8vt 5 жыл бұрын
Mainly index types & use
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Sure Manoj.
@SivaAcademy
@SivaAcademy 5 жыл бұрын
Started posting index related questions, Please check and share your views
@user-wi5ui4me5q
@user-wi5ui4me5q Жыл бұрын
Pls improve sound quality
@suraj454
@suraj454 4 жыл бұрын
Please make video on types of Materialised view in detail???
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Sure Suraj, please stay tuned 👍
@pallavideb9300
@pallavideb9300 4 жыл бұрын
please make videos on types of materialised view and refresh methods in detail..
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Sure please stay tuned 👍
@mhalappatengale8980
@mhalappatengale8980 3 жыл бұрын
We can do same things using table then why need materialized views ?
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Mviews provide additional advantages over table, like refresh etc.
@mhalappatengale8980
@mhalappatengale8980 3 жыл бұрын
@@SivaAcademy thank u so much
@bharathipandian45
@bharathipandian45 3 жыл бұрын
What is the difference between view and synonyms?
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Ideally we should not compare both, view is just a named query, that executes and returns value, whereas synonyms are alternative name for any database objects
@ajinkyagawade7176
@ajinkyagawade7176 2 жыл бұрын
Video ok but voice very low
@ssss-uy6jh
@ssss-uy6jh 5 жыл бұрын
It's very nice teaching sir...can u please explain about joins and subquery
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@Madhavi, Thanks for your comment, Subquery I have already covered as part of interview question series, Links given below for your easy reference. Joins I will cover in upcoming videos, please stay tuned. kzbin.info/www/bejne/j53QY5ltqbh0q5I kzbin.info/www/bejne/nKfNdKCil9WWj9k kzbin.info/www/bejne/mIG2g36nYt-dibM kzbin.info/www/bejne/haPCm5-NmJKqbqc Regards, Siva
@ssss-uy6jh
@ssss-uy6jh 5 жыл бұрын
Thank u sir
@kaushikkhanra941
@kaushikkhanra941 2 жыл бұрын
why do we need materialized view ?
@Moodfood145
@Moodfood145 3 күн бұрын
For fat access the data . data will stay in cache memory after execution of query
@ru2979
@ru2979 Жыл бұрын
82k view 😂
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 16 МЛН
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Tynalieff Shorts
Рет қаралды 2,1 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 6 МЛН
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 435 М.
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 2 МЛН