Count Millions of Rows Fast with Materialized Views: Databases for Developers: Performance #6

Опубликовано: 29 Апрель 2026
на канале: The Magic of SQL
34,627
1k

Querying returning totals per day, week or month can process billions of rows. But only return a handful.

You can make these queries orders of magnitude faster by precomputing the result using materialized views.

Watch this video to learn how these work.

For details on fast refresh restrictions, see:
https://www.oracle.com/pls/topic/look...

Need help with SQL?

Ask us over on AskTOM: https://asktom.oracle.com

Twitter:   / chrisrsaxon  
Daily SQL Twitter tips:   / sqldaily  
All Things SQL blog: https://blogs.oracle.com/sql/
Test your SQL Skills on the Oracle Dev Gym: https://devgym.oracle.com/

============================
The Magic of SQL with Chris Saxon

Copyright © 2020 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.