Oracle Interview Question - oracle difference between view and materialized view

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 161

  • @Ram.k93
    @Ram.k93 2 роки тому +3

    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.

  • @tusharshreshth
    @tusharshreshth 3 роки тому +1

    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...

  • @vishalmoradia4888
    @vishalmoradia4888 3 роки тому

    Best explanation I found on internet. Thank You.

  • @ShrutiVerma-v5k
    @ShrutiVerma-v5k Рік тому

    very helpful, explained in a very simple way, thanks for the amazing content.

  • @anilk3233
    @anilk3233 4 роки тому +5

    Thank you for your "Crystal Clear Explanation" Siva. Appreciate it. Thanks again and keep up the good work.

  • @newpatron7054
    @newpatron7054 3 роки тому +1

    Best explaination till date.

  • @AbhishekTiwari-ol6gv
    @AbhishekTiwari-ol6gv Рік тому

    your videos are so much helping brother

  • @gsraj511
    @gsraj511 2 роки тому +1

    Very Informative and Clear Explanation... Thank you so much Siva.. Keep up the Good work !!!

  • @vickypatekar9532
    @vickypatekar9532 5 років тому +3

    Awesome Explaination Sir Thanks alot 👌

    • @SivaAcademy
      @SivaAcademy  5 років тому

      @vicky, thanks for your comments bro 🙏

  • @dnyaneshchavan7227
    @dnyaneshchavan7227 2 роки тому

    You are rock man...good explain in very simple language and example

  • @geetika.shrivastava
    @geetika.shrivastava 3 роки тому +5

    Can u give some scenarios- when views should be used and when materialized view should be used ?

    • @kuntalbanerjee6903
      @kuntalbanerjee6903 3 роки тому +5

      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 Рік тому

      ​@@kuntalbanerjee6903thnkyou ❤

  • @AtulKumar-tw3gm
    @AtulKumar-tw3gm 4 місяці тому

    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.

  • @devilsgaming5915
    @devilsgaming5915 4 роки тому +1

    Thanks for the video ,i have got clarity on these concepts very well

    • @SivaAcademy
      @SivaAcademy  4 роки тому

      Welcome 🙏, its my pleasure 🙂

  • @hridayborah9750
    @hridayborah9750 5 років тому

    It's in external level , modification done on base table will not affect the views of the end user

  • @rahulsingh-sw3yt
    @rahulsingh-sw3yt 5 років тому

    Well explained.... All topics....really appreciated for such type of help....

  • @jksharma7
    @jksharma7 4 роки тому

    Siva Sireeee....... You explained it very well. Tahnks.

  • @aniketjagdale7765
    @aniketjagdale7765 7 місяців тому

    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.

  • @tusharsonwane8468
    @tusharsonwane8468 2 роки тому

    Superb superb explanation sir thank you for such great information 🙏

  • @purnachandrajena7948
    @purnachandrajena7948 6 років тому +1

    Excellent... Kindly Upload the the concept of performance and tunning

    • @SivaAcademy
      @SivaAcademy  6 років тому +1

      Thanks for your comment.
      Working on performance tuning series of videos, will upload once done.

  • @ramanhasan9398
    @ramanhasan9398 2 роки тому +1

    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)

  • @funmastisagar
    @funmastisagar Рік тому +1

    Can we create index on view or Mview and can we perform DML on Mview ??

  • @shaikrasheed2861
    @shaikrasheed2861 4 роки тому +1

    Excellent sir,we need more updates

    • @SivaAcademy
      @SivaAcademy  4 роки тому +1

      🙏 thanks, please stay tuned for more videos

  • @VaddeThimmu
    @VaddeThimmu Рік тому

    Hi shiva, which sceneries view and Mview will use, please make the video

  • @sachinjadhav3566
    @sachinjadhav3566 3 роки тому

    On performance basic is mv is used if there is frequent dml operation?

  • @bhushanpalse516
    @bhushanpalse516 3 роки тому

    Excellent teaching of Concept sir,. Keep it on, best wishes

  • @Rathod-P_Raj
    @Rathod-P_Raj 3 роки тому +3

    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

    • @rsreddy1737
      @rsreddy1737 2 місяці тому

      You can't create direct Mview for Fast refresh. 1st create logs then create Mview

  • @aashokprusty
    @aashokprusty 3 роки тому +1

    When will we go for a view and when will go for Materialized view

  • @KarthikRampur-ql2td
    @KarthikRampur-ql2td 4 роки тому +1

    where exactly M-View gets stored ? Does it store as table data/file ??? Also can we update materialized view ?

  • @mateen161
    @mateen161 4 роки тому +1

    Nice explanation. Thank you!

  • @abhigoswami6668
    @abhigoswami6668 3 роки тому

    Excellent Explanation...very very good work siva..keep it up

  • @priyankadesai9848
    @priyankadesai9848 3 роки тому +1

    Hi please post separate video on materlized view.... Refresh methods.

  • @anshumanmishra571
    @anshumanmishra571 4 роки тому

    Awesome explanation sir and its very informative

  • @pradipsaudar4077
    @pradipsaudar4077 2 роки тому

    Thank for clarification ... Bless you

  • @maboodahmad7289
    @maboodahmad7289 3 роки тому

    Thank so much sir, cristal clear explanation.. ❤️

  • @kumargaurav4961
    @kumargaurav4961 4 роки тому

    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 ?

  • @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

  • @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

  • @asishkumar4376
    @asishkumar4376 2 роки тому

    Clear Explanation. sir

  • @deepshikhakhatri14
    @deepshikhakhatri14 2 роки тому

    my doubts are all clear, thanks

  • @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

  • @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 .

  • @vskroyal4565
    @vskroyal4565 3 роки тому

    Can u make video on below question

  • @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

  • @SanjayKumar-ng7zp
    @SanjayKumar-ng7zp 4 роки тому

    Please create video on types of refresh in materialized view and more advance features in mv

  • @gauravdutta5486
    @gauravdutta5486 3 роки тому +1

    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

  • @sidhantpasricha5356
    @sidhantpasricha5356 4 роки тому

    Very well explained..Thanks

  • @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 ?😃

  • @lehuuphuc0909
    @lehuuphuc0909 3 роки тому

    Thanks for your explain...

  • @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

  • @anjalishende662
    @anjalishende662 2 роки тому

    When to use view and materialized view ?

  • @shankark7584
    @shankark7584 2 роки тому

    thank u bro clean explanation

  • @BewithuNnk
    @BewithuNnk Рік тому

    Please upload this video with an example? Views are created on top of materialized views ? And How?

  • @suchismitamishra2248
    @suchismitamishra2248 2 роки тому

    Quite informative

  • @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 ua-cam.com/video/UO-dJqCqjo8/v-deo.html

  • @suryamadank3626
    @suryamadank3626 Рік тому

    Can we do DML om MV?

  • @nitu.mishra.549
    @nitu.mishra.549 2 роки тому

    Hello sir...
    Can we perform dml statement in base table through view??

    • @SivaAcademy
      @SivaAcademy  2 роки тому +1

      Yes, for simple view, its possible, for complex its not possible, please look into this video ua-cam.com/video/UO-dJqCqjo8/v-deo.html

  • @learntolive5001
    @learntolive5001 Рік тому

    what is the purpose of creating materialized view??

  • @sushmasakore2562
    @sushmasakore2562 Рік тому

    How to add columns in view

  • @ManojKumar-il8vt
    @ManojKumar-il8vt 6 років тому

    Sir pls share some more interview questions asked vedios like triggers concept & indexing part

    • @SivaAcademy
      @SivaAcademy  6 років тому

      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.

  • @sabariraj-sh7hg
    @sabariraj-sh7hg 2 роки тому

    Ji enable query write ku , seperate video poduga ji,, it will helpful for us

    • @SivaAcademy
      @SivaAcademy  2 роки тому

      Sure Sabari, can you please eloborate little bit more ji

  • @pankajdubey8197
    @pankajdubey8197 5 років тому

    Materialize view can be created on different schemes/database..... can we do the same view also ?

  • @ManishaKumari-jb9xg
    @ManishaKumari-jb9xg 3 роки тому

    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 3 роки тому

      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.

  • @rahulsingh-sw3yt
    @rahulsingh-sw3yt 5 років тому

    Plz provide some more topic on performance tunning

    • @SivaAcademy
      @SivaAcademy  5 років тому

      @rahul, sure will be posting, please stay tuned

  • @vskroyal4565
    @vskroyal4565 3 роки тому

    Sir can u make difference between group by and partition by????

  • @suraj454
    @suraj454 4 роки тому

    Please make video on types of Materialised view in detail???

    • @SivaAcademy
      @SivaAcademy  4 роки тому +1

      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 👍

  • @ashokkumar-hm5on
    @ashokkumar-hm5on Рік тому

    create or replace materialized view vw_emp as select * from employees where department_id=50; not working in sql devoloper

  • @crazycom9807
    @crazycom9807 3 роки тому

    Hi Sir,
    Please make tutorial on MV... refresh types etc.,

  • @arunrocketz
    @arunrocketz 4 роки тому

    what is the default refresh method in Mv?

  • @namratanikam7566
    @namratanikam7566 3 роки тому

    Great👍🤟

  • @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.

  • @Vishal-e9p5c
    @Vishal-e9p5c Рік тому

    Pls improve sound quality

  • @bhargavasrirambhatla4002
    @bhargavasrirambhatla4002 5 років тому

    Hi sir
    Can you please explain what is pass by value and pass by reference, thanks in advance

    • @SivaAcademy
      @SivaAcademy  5 років тому +1

      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

  • @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

  • @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 роки тому +1

      Thank you, I believe recent videos volume is good?

  • @SanjayKumar-ng7zp
    @SanjayKumar-ng7zp 4 роки тому

    nice presentation

  • @ManojKumar-il8vt
    @ManojKumar-il8vt 6 років тому

    Mainly index types & use

    • @SivaAcademy
      @SivaAcademy  6 років тому

      Sure Manoj.

    • @SivaAcademy
      @SivaAcademy  6 років тому

      Started posting index related questions, Please check and share your views

  • @mhalappatengale8980
    @mhalappatengale8980 3 роки тому

    We can do same things using table then why need materialized views ?

    • @SivaAcademy
      @SivaAcademy  3 роки тому +1

      Mviews provide additional advantages over table, like refresh etc.

    • @mhalappatengale8980
      @mhalappatengale8980 3 роки тому

      @@SivaAcademy thank u so much

  • @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

  • @hiralalpawar1506
    @hiralalpawar1506 3 роки тому

    very nice sir

  • @kaushikkhanra941
    @kaushikkhanra941 2 роки тому

    why do we need materialized view ?

    • @Englishwavesodia123-c4i
      @Englishwavesodia123-c4i 4 місяці тому

      For fat access the data . data will stay in cache memory after execution of query

  • @mahammadshoyab9717
    @mahammadshoyab9717 4 роки тому

    Good video bro,

  • @reddysrkhar
    @reddysrkhar 6 років тому

    Explain performance tuning concept deep explain video upload

  • @sudarsanrout5787
    @sudarsanrout5787 Рік тому

    👍👍👍👍

  • @Prasma2win
    @Prasma2win 3 роки тому

    Thank u

  • @ManojKumar-il8vt
    @ManojKumar-il8vt 6 років тому

    Superb

  • @ajinkyagawade7176
    @ajinkyagawade7176 2 роки тому

    Video ok but voice very low

  • @surendrabisht2523
    @surendrabisht2523 3 роки тому

    👌

  • @ssss-uy6jh
    @ssss-uy6jh 5 років тому

    It's very nice teaching sir...can u please explain about joins and subquery

    • @SivaAcademy
      @SivaAcademy  5 років тому +1

      @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.
      ua-cam.com/video/Ylm2f7tSAu0/v-deo.html
      ua-cam.com/video/fvjCmlbpcYw/v-deo.html
      ua-cam.com/video/bPSRKq-zjSQ/v-deo.html
      ua-cam.com/video/Or_jlWc-w8E/v-deo.html
      Regards, Siva

    • @ssss-uy6jh
      @ssss-uy6jh 5 років тому +1

      Thank u sir

  • @ru2979
    @ru2979 2 роки тому

    82k view 😂