Materialized View In Oracle - Part 3

  Рет қаралды 25,608

Tech Coach

Tech Coach

Күн бұрын

This video explains the different modes using which you can refresh your materialize views and the different scenarios in which you should opt for these strategies.
#MaterializedView #ViewvsMaterializedview #Techcoach

Пікірлер: 68
@akhiln1370
@akhiln1370 5 жыл бұрын
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. kzbin.info/www/bejne/fZ-5n2ajhaeFsJY
@sureshnamala6776
@sureshnamala6776 7 ай бұрын
Great explanation on this series. Thanks a lot!!
@fityko
@fityko 4 жыл бұрын
I feel back in college, Great explanation!!! I'm blown away by these materialized views Thanks for sharing your knowledge.
@TechCoach
@TechCoach 4 жыл бұрын
Thanks oldroof for the kind words, I have a small request. I am working on this new KZbin channel.I would really appreciate if you watch and subscribe to it. Your support is my motivation. kzbin.info/www/bejne/ZqSvhmuPlr6latk
@girishpandey9758
@girishpandey9758 5 жыл бұрын
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?
@ruksraman50
@ruksraman50 6 жыл бұрын
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?
@ranajparida5412
@ranajparida5412 6 жыл бұрын
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.
@09sitaram
@09sitaram 6 жыл бұрын
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 жыл бұрын
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. kzbin.info/www/bejne/fnO0eZihgpaIaMU
@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?
@SalluBhai85
@SalluBhai85 6 жыл бұрын
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.
@funwithus8160
@funwithus8160 4 жыл бұрын
Very nice explanation every time in your video.
@TechCoach
@TechCoach 4 жыл бұрын
Thanks a lot Shashi for the kind words :)
@grvmavi
@grvmavi 3 жыл бұрын
Thank you .. Well Explained 👍
@shaiknazeerbasha3901
@shaiknazeerbasha3901 5 жыл бұрын
Can we alter the MV from on Demand to on commit refresh?
@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.
@skrashidali
@skrashidali 6 жыл бұрын
Is query rewrite supported in FAST refresh?
@priyankapriyadarsini7840
@priyankapriyadarsini7840 5 жыл бұрын
Can we do update or any dml operations in MV?
@TechCoach
@TechCoach 5 жыл бұрын
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. kzbin.info/www/bejne/fZ-5n2ajhaeFsJY
@mayuriwankhade574
@mayuriwankhade574 3 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
@@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 жыл бұрын
@@TechCoach thanks keep up the good work
@TechCoach
@TechCoach 3 жыл бұрын
@@mayuriwankhade574 thanks :) Please consider subscribing to my other channel as well it will really help me kzbin.info/www/bejne/bHiUqXqfYqlopdk
@celinehm9630
@celinehm9630 2 жыл бұрын
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 ?
@codewithovi997
@codewithovi997 4 жыл бұрын
Outstanding explanation
@TechCoach
@TechCoach 4 жыл бұрын
Thanks a lot buddy for the kind words :)
@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.
@udayabanunagarajan5401
@udayabanunagarajan5401 4 жыл бұрын
Great explanation!
@rahulgiri5645
@rahulgiri5645 5 жыл бұрын
Please add next video for materialized view
@SudhirBhajnawale
@SudhirBhajnawale 4 жыл бұрын
Nicely explained ... Thanks a lot
@TechCoach
@TechCoach 4 жыл бұрын
Thanks Sudhir for the kind words :) , You made my day :)
@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. kzbin.info/www/bejne/Z2KnfGClrrekopI
@KrishnaPaneri
@KrishnaPaneri 4 жыл бұрын
Explained very well! 👌🏿
@TechCoach
@TechCoach 4 жыл бұрын
Thanks a lot Krishna for the kind words :)
@chasemarler5568
@chasemarler5568 4 жыл бұрын
Great video - thanks!
@TechCoach
@TechCoach 4 жыл бұрын
Thanks Chase Marler for the kind words, I have a small request. I am working on this new KZbin channel.I would really appreciate if you watch and subscribe to it. Your support is my motivation. kzbin.info/www/bejne/ZqSvhmuPlr6latk
@psaikishore3210
@psaikishore3210 5 жыл бұрын
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. kzbin.info/www/bejne/h6PTgZZjjLOdpbc
@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..
@uditech7736
@uditech7736 4 жыл бұрын
Clearly explained.
@TechCoach
@TechCoach 4 жыл бұрын
Thanks a lot for the kind words :)
@mallikarjunam3239
@mallikarjunam3239 4 жыл бұрын
Thank you so much for your information
@TechCoach
@TechCoach 4 жыл бұрын
Thanks Mallikarjuna for the kind words, I have a small request. I am working on this new KZbin channel.I would really appreciate if you watch and subscribe to it. Your support is my motivation. kzbin.info/www/bejne/ZqSvhmuPlr6latk
@shourabhpayal1198
@shourabhpayal1198 4 жыл бұрын
Great video
@TechCoach
@TechCoach 4 жыл бұрын
Thanks buddy for the kind words :)
@shourabhpayal1198
@shourabhpayal1198 4 жыл бұрын
@@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
@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 :)
@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
@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. kzbin.info/door/oLdaMxhfDgdgIAcRGlUvkg
@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 :)
Indexing in Oracle :B-Tree,Bitmap Indexing
25:47
Tech Coach
Рет қаралды 89 М.
Materialized views in oracle - Part 1
19:03
Tech Coach
Рет қаралды 75 М.
Violet Beauregarde Doll🫐
00:58
PIRANKA
Рет қаралды 52 МЛН
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 4,3 МЛН
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН
Range Partitioning in Oracle
15:00
Tech Coach
Рет қаралды 24 М.
Partitioning in Oracle - Performance Basics
28:35
Tech Coach
Рет қаралды 52 М.
Indexes in Oracle :Index Scan Methods :Part 2
30:18
Tech Coach
Рет қаралды 36 М.
Oracle views explained with real project examples
24:33
Tech Coach
Рет қаралды 59 М.
Hash Partitioning in Oracle
16:25
Tech Coach
Рет қаралды 29 М.
How to utilize Real-Time Materialized Views
8:18
Uwe Hesse about Database Technology
Рет қаралды 5 М.