Materialized View In Oracle - Part 3

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

КОМЕНТАРІ • 68

  • @sureshnamala6776
    @sureshnamala6776 8 місяців тому

    Great explanation on this series. Thanks a lot!!

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

    I feel back in college, Great explanation!!! I'm blown away by these materialized views Thanks for sharing your knowledge.

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

      Thanks oldroof for the kind words, I have a small request.
      I am working on this new UA-cam channel.I would really appreciate if you watch and subscribe to it.
      Your support is my motivation.
      ua-cam.com/video/0sLU8YaYr4w/v-deo.html

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

    I have watched many videos on mv your explaination makes me to remember the basis for a longer time. Thanks for sharing knowledge

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

      Thanks Akhil for the kind words I have a small request
      I am working on this new youtube channel, I Would love it if you watch and subscribe to it as well.
      ua-cam.com/video/GnVn3mPBRz4/v-deo.html

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

    Great video, as mentioned at the end of the video, Is there a part 4 video for DML operations on Materialized views? I don't see it in the channel.

  • @09sitaram
    @09sitaram 6 років тому +2

    Thank u for such valuable videos. Could u please create a video specially on Query Rewrite. On what cases the query rewrite works and in which cases it does not work? Please explain with example. Request you to pause while explaining.

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

      Thanks for such valuable feedback I will try to improve my video delivery style.
      Sure I will try to explain query rewrite a little more in my next video.
      I have a small request I am working on this new youtube channel, Please help me build by watching and subscribing to it.
      ua-cam.com/video/HBQHekM1U2c/v-deo.html

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

    Vivek, Thanks a lot for detailed explanation. It is very useful during my interview preparation. I had a interview question on MV. 5 MV's are created on 5 different servers (all the MV query are same) and base tables on different server. All the 5 MV's are scheduled for FAST refresh by midnight. If one of the MV's is not available, then how the 'missed' MV will get refreshed? In FAST refresh, once the data is refreshed the MV log file will be cleared. In this case, since one of the MV is not updated yet, how the oracle will handle it?
    Another question is: does the refresh method uses pull or push mechanism?
    Can you help me on these questions?

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

    Really helpful . I have view with nested view in it which are non materialized so would it be advisable to make all view materialized or only which are giving poor performance should be replaced ? Can we used non materialized view inside materialized view please reply .

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

      If the performance is poor and the view/data is used/queried frequently you can consider using MV.
      View inside MV should work but I have never tried it personally.

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

      @@TechCoach thanks for quick reply , one more query in posgrey I don't see any option to refresh on commit automatically do u have any idea on that . What I got is we need to call scheduler to refresh materialized view . Please advice.

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

      @@mayuriwankhade574 I am not sure about Postgre Mayuri, may be they don't have this functinality and we will have to schedule it

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

      @@TechCoach thanks keep up the good work

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

      @@mayuriwankhade574 thanks :)
      Please consider subscribing to my other channel as well it will really help me
      ua-cam.com/video/6G1xGi-D5ow/v-deo.html

  • @ranajparida5412
    @ranajparida5412 6 років тому +2

    Hi Vivek,
    If you want to really educate the people like me who are really interested then please 1 humble request.
    Please create all videos for the specific topic and upload it finally by which we will get the complete information. I saw may cases that you posts are very useful and nice but it is incomplete. For example the post on oracle analytic function, materialize view which you want to describe DML operation on materialize view.
    Please upload the post at a time..it might take time but finally when it come to us it would work like a package of complete information.
    Regards,
    Ranaj

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

      Thanks Ranaj.I will keep it in mind.

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

    Very nice explanation every time in your video.

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

      Thanks a lot Shashi for the kind words :)

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

    Outstanding explanation

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

      Thanks a lot buddy for the kind words :)

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

    Thank you .. Well Explained 👍

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

    Can we create index on materialize view?? And please share your video of dml operation on materialize view as well

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

      SalluBhai85 Yes you can create Index on materialize view. I shall post it soon.

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

    Great explanation!

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

    NIce explainations for all the videos, proved to be quiet helpful (Y)

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

      Thanks a lot Pradipti for the kind words, I am glad I could help.

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

    Great video

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

      Thanks buddy for the kind words :)

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

      @@TechCoach I am using 3-4 tables to make the materialized view and setting refresh strategy as COMPLETE on commit but it shows an error as ORA-12054: cannot set the ON COMMIT refresh attribute for the materialized view
      Note : I have not included any primary key column in my view definition like id from parent table.
      Can you please advice what can be the probable cause ?
      Thanks

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

    Nicely explained ... Thanks a lot

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

      Thanks Sudhir for the kind words :) , You made my day :)

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

    Thanks
    Can you tell us how to refrech the data warehouse then with these materialised views please?

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

      You should use a mature ETL process instead of using MV entirely for your datawarehouse.

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

      @@TechCoach thank un fort your response😍 i have a little homework fort tommorow and I need you to tell me just how
      In our case our teacher dont use ETL but ans SQL batch
      Can i send you à mail please ?

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

    While complete Refresh the materialized view create exclusive locks on the Mview which is being truncated and inserted ? Creating lot many Mviews does not affect the memory space usage since it is a physically stored DB object?

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

    Please add next video for materialized view

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

    Great video - thanks!

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

      Thanks Chase Marler for the kind words, I have a small request.
      I am working on this new UA-cam channel.I would really appreciate if you watch and subscribe to it.
      Your support is my motivation.
      ua-cam.com/video/0sLU8YaYr4w/v-deo.html

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

    Explained very well! 👌🏿

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

      Thanks a lot Krishna for the kind words :)

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

    Clearly explained.

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

      Thanks a lot for the kind words :)

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

    Complete refresh is happening and somebody tries to access mview what will happen - You havent discussed this point -> Data will be fetched from redo logs?

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

    thanks that was very helpful and easy to understand

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

      Thanks a lot for the kind words.
      I need a small help I am working on this new youtube channel and would really appreciate if you watch and subscribe to it.
      ua-cam.com/video/11DK-oyRql0/v-deo.html

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

    waiting for next video bayya .......

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

      Thanks for the kind words Sai.I have a small request, I am working on this new channel and would really appreciate if you watch and subscribe to it.
      ua-cam.com/video/QrpPc-WNjoU/v-deo.html

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

    Can we alter the MV from on Demand to on commit refresh?

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

    Thank you so much for your information

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

      Thanks Mallikarjuna for the kind words, I have a small request.
      I am working on this new UA-cam channel.I would really appreciate if you watch and subscribe to it.
      Your support is my motivation.
      ua-cam.com/video/0sLU8YaYr4w/v-deo.html

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

    Can we do update or any dml operations in MV?

    • @TechCoach
      @TechCoach  5 років тому +2

      Hi Priyanka,
      The short answer is No.
      You can use "for update " clause to update the materialized view but the changes won't be done in the base table. Which means as soon as the base table and materialized view are refreshed again the changes done via updates will be lost.
      I hope this helps.
      Priyanka, I have a small request
      I am working on this new youtube channel, I Would love it if you watch and subscribe to it as well.
      ua-cam.com/video/GnVn3mPBRz4/v-deo.html

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

    Is query rewrite supported in FAST refresh?

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

    Do we need to commit in case of fast refresh?

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

      IF U PROVIDE THE OPTION OF COMMIT IT WILL GET INCREMENTALLY REFRESHED WHEN THERE IS A COMMIT ON OTHER SIDE ..OR U CAN PROVIDE THE OPTION OF ON DEMAND INCREMENTAL REFRESH..

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

    Thanks for this video. Please give your patreon or create a community.

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

      Thanks buddy for the kind words, i din't understand the 2nd part.

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

      www.patreon.com or buymeacoffee.com. I was suggesting adding something like these in your about info so that you can generate some revenue :).

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

      @@anuswadh thanks a lot for the valuable suggestion, I will consider adding it :)

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

    LOVE TO LISTEN U WITHOUT ANY BREAK....

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

      Thanks Syeda for the kind words,I have a small request
      I am working on this new youtube channel, I Would love it if you watch and subscribe to it as well.
      Please share with ur friends also.
      ua-cam.com/channels/oLdaMxhfDgdgIAcRGlUvkg.html

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

    not clear

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

      I am sorry I would try to do better next time.

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

      Thank you!..All the very Best@@TechCoach

  • @SatyendraSingh-ul5iq
    @SatyendraSingh-ul5iq 4 роки тому

    Don’t say -please subscribe my channel, it sounds very cheap. You r a talented guy then y begging 🥺 for subscription.

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

      Thanks for the advice Satyedra :)