Тёмный

Real-Time Materialized Views in Oracle Database 12.2 Onward 

ORACLE-BASE.com
Подписаться 15 тыс.
Просмотров 15 тыс.
50% 1

This video gives a quick demonstration of the Collation functionality available from Oracle Database 12cR2 onward. For more information see:
Real-Time Materialized Views in Oracle Database 12c Release 2 (12.2)
oracle-base.com/articles/12c/...
Materialized Views in Oracle
oracle-base.com/articles/misc...
Website: oracle-base.com
Blog: oracle-base.com/blog
Twitter: / oraclebase
Cameo by Maria Colgan :
Blog: sqlmaria.com/
Twitter : / sqlmaria
Cameo appearances are for fun, not an endorsement of the content of this video.
All trademarks, product names and logos are the property of their respective owners.

Наука

Опубликовано:

 

28 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@anithadeepak4106
@anithadeepak4106 4 года назад
Awesome! Very precise and short video! Thanks much!
@WALEED197908
@WALEED197908 Год назад
Great video, thank you Tim !
@grvmavi
@grvmavi 3 года назад
Thank you Tim . Well Explained 👍
@lucianosimonini9477
@lucianosimonini9477 5 лет назад
Good job, as always!
@haroon9445
@haroon9445 4 года назад
Hi Tim, If I use Force refresh, then how do I know which method is being used for refresh... complete or Fast. Thanks
@oracle-base
@oracle-base 4 года назад
It will attempt a FAST using materialized view logs. If that is not possible it will attempt a partition change tracking refresh. If that is not possible it will do a complete refresh. Short answer. If you have materialized view logs, it's going to do a FAST.
@haroon9445
@haroon9445 4 года назад
@@oracle-base Thanks a lot for the answer
@kyuvarajbe1
@kyuvarajbe1 4 года назад
If we use complex query as select statement then which method of MV is preferable?
@oracle-base
@oracle-base 4 года назад
If it's too complication, as in not capable of a fast refresh, your only choice is a complete refresh. If you can do a fast refresh, but you need guaranteed up to date data, then real-time is good. If you can tolerate a little lag between refreshes, then a normal fast refresh is fine. It all depends what you need. There is rarely a "best".
@kyuvarajbe1
@kyuvarajbe1 4 года назад
@@oracle-base Thanks Tim. As you said, we have complete refresh only. But whenever we want to recreate the materialized view, it takes more time about 30 min to drop the MV. Is there anyway to drop fast and recreate.
@oracle-base
@oracle-base 4 года назад
@@kyuvarajbe1 Not sure why you would you drop and recreated, rather than just run a complete refresh. For a full refresh it's going to take as long as it takes.You can't do much about it except tun the query that populates it or get faster kit, to improve the speed of whatever is performance bottleneck.
@nuthan315
@nuthan315 2 года назад
Can we replace a view with a real time materialized view ( wherever fast refresh is applicable) What is the difference between a normal view and real time materialized view Does Its better to replace all view with realtime materialized views ( wherever fast refresh is applicable) which will impore performance and genereate similar output like normal views
@oracle-base
@oracle-base 2 года назад
A view is a stored query. Every time you run the view, you are running the query. If you add predicates or joins, they are merged into the stored query and run. A view is the same as a query. A materialized view stores the rows that would be returned by "select * from view" in a table segment, so when you query the materialized view, you are actually querying the materialized view segment, not the base tables. This means complex queries can be simplified as the hard work is done up front, when populating the materialized view. The problem is that population has to happen, and be kept up to date. Depending on the nature of the query, that can be a big overhead, and remember also you are storing the resulting rows, which can mean a lot of space used. Depending on how you refresh the MView, the can be a lag, so changes in the base tables are not reflected in the materialized view. A real-time materialized view solves some of he lag issue, but allowing the current session to wind forward any changes in memory. Once the query is complete, they are lost, so this doesn't refresh the materialized view. To answer your question, not, you should not replace all views with MViews. If you have specific problematic views, it might be worth considering a MView, or a real-time MView, but there is a though process you have to go through, including the additional space and processing required, and does that yield sufficient benefits from a performance perspective.
@nuthan315
@nuthan315 2 года назад
@@oracle-base Thank you soo much for your time and the knowledge
Далее
Become a Materialized View SUPER HERO !
7:05
Просмотров 8 тыс.
How to utilize Real-Time Materialized Views
8:18
Просмотров 5 тыс.
[Smart4] Oracle. Про View.
44:21
Просмотров 196
Materialized views in oracle - Part 1
19:03
Просмотров 74 тыс.
Online Segment Shrink for Tables : Free Unused Space
3:31
Apache Kafka in 5 minutes
5:21
Просмотров 963 тыс.
💅🏻Айфон vs Андроид🤮
0:20
Просмотров 736 тыс.
Main filter..
0:15
Просмотров 12 млн
ДЕШЕВЫЙ НОУТБУК C OZON ЗА 17000р
13:00