Good summary. Two important items. 1) The materialized view is essentially a normal table under the hood with query logic for populating it thus you can index it, etc. 2) The data is basically static until you refresh it at which time it's flushed and the data is replaced by the result of the query at the new run time. They're particularly good when the performance to run the query is poor but the data doesn't have to be exact or up to the last second. For example, if you wanted to run a query that generates a report for the previous day you could create the materialized view to get the data from yesterday and run it on a schedule after midnight. Then the user can query the materialized view with a select * in the morning and get quick results without waiting on the query to execute against the base data. Sometimes it makes sense to have the materialized view to contain most of the result set and then some optimized query to just pull data from the current day, hour, etc. and union the results together.
@DaveThomson Жыл бұрын
you can also refresh the MV using a function and run that function from a trigger based on some conditions.
@MacPG-rc8tiАй бұрын
@@DaveThomson Thanks for this hint. Do you mind sharing a practical scenario about this?
@naguleshwarg23202 жыл бұрын
Hello TFQ.. Really loved the way you teach SQL concepts. It would be great if you could make videos on Trigger, Cursor, Function, Index, Record, Exception Handling, Package and Partitions. It would be of immense help for every aspiring data scientists.
@falconmack9 ай бұрын
Extremely helpful video, I didn't know nothing about views, and now I feel like an expert. THANK YOU SO MUCH
@srinivaskattunga77782 жыл бұрын
The BEST Training for SQL learners, the teaching concepts are "JUST AMAZING"
@clumsy_weirdo Жыл бұрын
It the the best tutorial for understanding. I'm really glad that I can recognize English speech because in my native language I didn't find any information about. Author, thank you!
@kpoddarmeasme Жыл бұрын
I like the way you explain each and every concept in detail.If I don't understand any concept in SQL, I immediately switch to your channel and it really helps.
@asutoshkumar179311 ай бұрын
Great Explanation, also Pronunciation for View is "vu" 😊
@techTFQ11 ай бұрын
Thanks & noted
@aap18032 жыл бұрын
Hello Toufiq, I hope you are doing good. I'm learning PL/SQL for almost last 6 months now but i have struggled to hold grasp on PLSQL concepts but after watching your videos and how clearly you explain i was able to understand very good. Like your video on Materialized View i knew how it work but after watching your video i understood the concept fully. I would really thank you for your work. Same goes with Procedure, Joins. I have a request if you could make PLSQL videos on Trigger, Cursor,Function,Index,Record,Exception Handling,Package and other if you could. Thanks for the awesome work you are doing.
@techTFQ2 жыл бұрын
Hi Achal, I am fine and thank you 🙏🏼 Noted on the request, I’ll plan it
@nirmala38472 жыл бұрын
@@techTFQ my request also same sir please make videos for all the important components your explanation is very good iam from telugu I don't know English very well but i understand your English it is very simple and understandable
@techTFQ2 жыл бұрын
Thank you Nirmala 🙏🏼 I will plan it
@smrutimohanty85608 ай бұрын
very nice. Even though I am a PM and do not work technically on SQL , I could understand the concepts. Keep up the good work
@amartyakumarsaha3382 жыл бұрын
The way you have explained it is amazing and thanks for this incredible content.
@engalibadouin5222Ай бұрын
Really the best tutor i see in database
@sudarshanmhaisdhune1039 Жыл бұрын
Short, simple & easy to understand. Thanks Taufiq!
@shahid98132 жыл бұрын
Learnt from you previous video instead of generate_series() function we can use Recursive . CREATE TABLE random_for_matvw ( id INT PRIMARY KEY, value INT ); WITH RECURSIVE rand(id, value) as ( SELECT 1 as id, 1 as value UNION ALL SELECT id + 1, value + 1 from rand where id < 100000 ) INSERT INTO random_for_matvw(id,value) SELECT id, value FROM rand;
@karennguyen70832 жыл бұрын
Hi techTFQ, thanks for uploading amazing video, I learned a lot from you. And now I have a question. I am confused about these syntax: - create view - create materialized view - create temporary table - with clause These syntax can store a subset data to reuse then, but when to use it? I knew we can use With clause when using specific subqueries many times but how are other syntax? Thank you so much.
@techTFQ2 жыл бұрын
Hi Pham, I understand your confusion but difficult to explain it in comment here.. perhaps will do in a video
@karennguyen70832 жыл бұрын
@@techTFQ Happy to wait and thank you so much ^^
@suviikshetty29692 жыл бұрын
Hi tfq, worth watching . It was great and clear. Thanks for the video.
@techTFQ2 жыл бұрын
Glad this helped
@sridhargoud84572 жыл бұрын
Trigger, Cursor,Function,Index,Record,Exception Handling,Package Please do these videos as soon as possible
@Blowjin Жыл бұрын
Thank you! So, as I understood, matetrialized view is a kind of cache. It store query and it's result. Menwhile a just view stores query only. Nevermind, just my synopsis 😅
@kevinlovely20987 ай бұрын
You made this very simple to understand. Thanks!
@jvkk1232 жыл бұрын
Thanks for sharing your knowledge, It's great that you provide training, i would like to get started
@basil6909 Жыл бұрын
In my work area we refresh the materialized view twice a day. One in the morning and one in the evening.
@prabhakarraokaranam7192 жыл бұрын
awesome Tafaq .. thanks alot .. please continue sessions on Materialized views .. with all refresh methods .. it is very nice of you. Thanks once again
@techTFQ2 жыл бұрын
Thank you and noted bro
@STTPwithRajani2 жыл бұрын
Thanks a lot🙏 u are doing unique work... please add more information integration and application videos in ur playlist...it will be great help...I am phd cse in IIIT Delhi...ur videos are helping 🙂add data warehousing view, virtual view etc if u will add more IIA videos I will suggest this channel to no of my classmates🙏
@Refreshment012 жыл бұрын
REQUEST: Please make advanced video odf postgres Regular Expressions. Your videos & blog are among the best on DBMS topics. 👍
@umidkurbanov549510 ай бұрын
Bro, you're awesome. Very clearly explained
@bindiyarastogi87932 жыл бұрын
Your videos are really helpful and clear the concepts. Please make a series on pl/sql
@techTFQ2 жыл бұрын
Noted Bindiya
@gangajairaman87422 жыл бұрын
Hi Tfq, your explanation about the concept is very good. Could you please upload the separate video for Oracle materialized view and view? Thanks
@techTFQ2 жыл бұрын
Thank you and noted bro
@CodeChaos_9 ай бұрын
yes need materialized view in oracle
@artrixmotion58852 жыл бұрын
Very Helpful, Kindly make separate video for MS SQL materialized View sir. Thanks ahead & more power
@harshusaaho76232 жыл бұрын
I took your course broah ...I hope I get a lot of insights !!!
@techTFQ2 жыл бұрын
Great, see you in the class
@arunsundar37392 ай бұрын
beautiful explained, fundamentals of MV & how it can be really powerful in analytics use cases :)
@kancharalaparameshwarreddy38372 жыл бұрын
sir your class videos are awesome ,i used to watch often sir if possible plz provide one or two classes on TRIGGERS AND JOB creation in postgresql
@hammadyasir21745 ай бұрын
Excellent Sir.I really appreciate your effort
@archanachaube70272 жыл бұрын
Thanks for explaining concepts so clearly and simplifying complexed ones! Also can you make videos on Group by extensions (rollup, grouping sets.cube)
@ShiviSrivastava-p9n Жыл бұрын
This was very well explained and it was easy to understand. Please make a seperate video for Oracle as well. It would be great help.
@oscararmandocisnerosruvalc85032 жыл бұрын
Hello TFQ , Thanks a lot for all the knowledge you share. can you create a list using SQL for data engineering purposes pls, it would be great to see how you address this topic. Regards from Mexico !!!
@mohammedbadah55372 жыл бұрын
Very clear video ... Please show us materialized view in Oracle Thank you so much Toufig
@techTFQ2 жыл бұрын
Your welcome buddy and sure will do
@fathimafarahna26332 жыл бұрын
👌🏻👌🏻👌🏻👌🏻👌🏻on point
@techTFQ2 жыл бұрын
Thank you 🙏🏼
@shanmukhpriya4 ай бұрын
You are really champ sir
@EverydayKarma2 ай бұрын
Nicely explained. Thanks
@flowerpower63452 жыл бұрын
all your videos are very simple and helpful. Thank you. Can you please create a video on oracle performance tuning tips and also on how to partition oracle tables to improve sql performance
@techTFQ2 жыл бұрын
thank you and noted on the request bro
@illiasukonnik99669 ай бұрын
Thanks, greate video!! So materialized view is a form of denormalization, when we store precalculated data. viv ))
@thefireclipse2 жыл бұрын
This was a great video to watch, thank you! Please do make a video on how Oracle materialized views have more functionalities than Postgres :)
@techTFQ2 жыл бұрын
Your welcome and sure wil do
@rameshthanikonda7027 Жыл бұрын
Hi Toufiq, Firstly thanks for the video. Kindly explain the concept of materialized view in Oracle Database as well. Thank you once again..
@akashgoel6012 жыл бұрын
Great video.. Pls consider making video for materialised view in oracle and it's different functionality.. Cheers!!
@techTFQ2 жыл бұрын
Thank you and noted bro
@milindjogdand86302 жыл бұрын
@@techTFQ Thanks Sir. Please make video for materialized view in Oracle.
@MST_Finvest2 жыл бұрын
Hello Brother, Awesome explanation with clarity.Please do video for mviews on oracle DB with many types of refreshes as you said and also can we have a view or mview on DML's instead of sql queries?
@mohammedshahil48982 жыл бұрын
Awesome👌 Very well explained🙌🏻
@techTFQ2 жыл бұрын
Thank you bro
@skdonsingh Жыл бұрын
Just Wow.. Thank you.
@nalinisathyanarayanan86662 жыл бұрын
Hi sir, Great work 👍 Really it's very helpful for learners like me... Expecting video by explaining Oracle materialized view concepts and refreshing methods too
@techTFQ2 жыл бұрын
Thank you Nalini and will do that soon
@jirehla-ab1671 Жыл бұрын
Hi , i remember oraclr offering free entperse edition of oracle 21c (non-commercial use only), but i cant find the same equivalent for 23c since the 23c develop edition haa 12gb ram limit.
@rockymarquiss8327 Жыл бұрын
Took a while to figure out what you were saying when you're saying view - sounds like veev... LOL I can see a number of usual uses of materialized views.
@govindkeot86682 жыл бұрын
Explained Very well,Thanks
@MDNASIR-d8c4 ай бұрын
Best Explanation........
@sangameshwarhippargi20072 жыл бұрын
Thanks for this wonderful video. Please do create video on Oracle materialized view and it's refresh types. Thanks in advance.
@techTFQ2 жыл бұрын
Noted and will do
@venukumargadiparthy82332 жыл бұрын
Hello , your videos are really helpful, please do a video on MS SQL materialized views
@techTFQ2 жыл бұрын
Noted bro
@kavithara96042 жыл бұрын
Yes, Please cover materialized view in Oracle.
@techTFQ2 жыл бұрын
Noted Kavi
@anupamyadav52572 жыл бұрын
Thanks for making video..... Please make video for Oracle on both the views in detail
@techTFQ2 жыл бұрын
Noted bro
@endalekinfe33916 ай бұрын
Some database systems, like SQL Server with indexed views, maintain the materialized view in real-time. Any changes to the base tables are immediately reflected in the materialized view. This means the view is always up-to-date,
@vinothvinuable Жыл бұрын
Great ! It would be good if you could explain the index on view.
@rajkumartripathi28559 ай бұрын
Yes i appreciate it😊
@siddhartharao84902 жыл бұрын
Sir, Kindly make a video on Materialized views in Oracle also.! Thanks for explanation!
@techTFQ2 жыл бұрын
Sure will do it, thank you
@SM-km4gs2 жыл бұрын
Thanks for the explanation...please make video on oracle as well.
@techTFQ2 жыл бұрын
your welcome and sure will do
@pauladams78505 ай бұрын
Vera level bro
@no-one21775 ай бұрын
bro did he cover all the concepts in this course??
@AD-qk6zh Жыл бұрын
Hey Thoufiq, the content on materialized view was really useful, you make the concept very clear and easy to understand. Would be really glad if you could make the materialized view content using oracle too. Also , in your views tutorial :: was used . Could you please teach as how this is done in oracle . Thanks a lot :)
@sravanikolluru8129 Жыл бұрын
Super explanation
@sayalishiledar83772 жыл бұрын
Very well explained 👍
@pratikhonrao7339 ай бұрын
Hello TFQ - what's the difference between Materialized Views and TEMP tables?
@omkarmore21982 жыл бұрын
great explaination ....
@techTFQ2 жыл бұрын
Thanks Omkar 🙏🏼
@sudarshanreddy943 Жыл бұрын
Really awesome 😎😎
@Englishwavesodia123-c4i4 ай бұрын
Good explanation 😊
@Alexpudow10 ай бұрын
In Qlik we use qvd the same way, and incremental load if need.
@victor.ruto.79192 жыл бұрын
Thank you, can you kindly make one for Oracle? had problem refreshing mv in Oracle
@thamaraikannan73872 жыл бұрын
Bro, I don't have complete knowledge in mv views, only a little bit, if possible make a video for oracle mviews refresh method and auto refresh features how it's working. Thanks in advance.
@techTFQ2 жыл бұрын
Noted bro and will do
@hasanmougharbel80302 жыл бұрын
Hey dear, god bless your efforts in this channel. I have a general enquiry as a new sql learner. How could i create a pipeline to extract and load data from existing accounting program into our SQL server instances. How can i know if the export mechanism in the software permits me to undertake this extraction process, and how can i know if an application have an api? Thanks for taking care of my enquires. Looking forward to gain more knowledge from you.
@mohit33002 жыл бұрын
thank you very much for this great tutorial sir. I want to know if, in the MS SQL server all process is the same or not?
@SandeepSingh-qd1qy Жыл бұрын
It was really nice explanation. Yaa could you please create video for oracle
@Avatar9112 жыл бұрын
When user updates base table we can create trigger to refresh the materialised view right ? In this way we can retrieve updated data is it good practice?
@shivinmehta73682 жыл бұрын
Please create a full course on SQL on the udemy platform. It will be beneficial for learners
@techTFQ2 жыл бұрын
Probably in the future bro
@pavanmunagasetty6930 Жыл бұрын
This video is nice
@sivap52412 жыл бұрын
Hi bro, video explanation is very clear about mview. I tryed to worked that in SQL developer. I can't create the random_tab like you create. What's the syntax for SQL developer bro
@pawansahu1672 жыл бұрын
Thoufiq Bro, Can you make a video on Joins, tables with only one column each, How to tell number of rows just by observing tables, columns also contain null values,
@joshuabnguyen872 жыл бұрын
What is the difference between a materialized view and a temporary table?
@CaribouDataScience2 жыл бұрын
A materialized table isn't temporary.
@techTFQ2 жыл бұрын
I’ll make separate video about it
@AtulSingh-be1jk2 жыл бұрын
Hello sir, Thank you so much for this . Can you please make a separate video on the materialized view in Oracle. 🙏🙏
@gtsanthosh9568 Жыл бұрын
Yes, please make a video on Oracle materialized views..
@PradeepKumar-gq3jd Жыл бұрын
Pls post a video about execution plan cardinality optimization
@muninderkomire5617 Жыл бұрын
Great explanation. When are you going to conduct live sessions again?
@SravanthiKovvuri10 ай бұрын
If possible can you please make separate video of oracle views.
@s0m30n3Jr Жыл бұрын
please make a video of materialized view for Oracle. thank you.
@pavanmunagasetty6930 Жыл бұрын
Please make a video how to execute materialized view in oracle, Microsoft sql server, mysql workbench
@deepakshrikanttamhane2852 жыл бұрын
great
@techTFQ2 жыл бұрын
Thank you 🙏🏼
@neerajchouksey37618 ай бұрын
thanks
@mirageman22 жыл бұрын
Hi I would be interested in Materialized Views in Oracle and which options are at hand there.
@channabasava96622 жыл бұрын
Hi sir ur explanation good I have a 1 doubt in joints Without common column or name how to join the multiple tables
@SC-mx4wp Жыл бұрын
Nice Bro
@aniketjagdale776510 ай бұрын
Hi pls create videos on indexes and constraints in SQL
@kanishkark42267 ай бұрын
Any video for indexes?
@rahuldeshmukh82212 жыл бұрын
Can you please make one full video about SQL?
@ShilpavathiSB2 жыл бұрын
Can we create a Materialized view over normal view, how does this internally work. How would be the performance.
@sugandhitasharma64172 жыл бұрын
Can you please make a video on interview questions for data analysis please
@techTFQ2 жыл бұрын
Let me consider it
@sohailkan17 Жыл бұрын
Can you make a video on registered servers and stored procedures creation and execution
@ashmaywagh2 жыл бұрын
can you make video from starting SQL i m a beginner in this field. it's humble request to you.
@geethikasumana73638 ай бұрын
Hi can u please do video on materialized views in Oracle