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:
[ Ссылка ]
Need help with SQL?
Ask us over on AskTOM: [ Ссылка ]
Twitter: [ Ссылка ]
Daily SQL Twitter tips: [ Ссылка ]
All Things SQL blog: [ Ссылка ]
Test your SQL Skills on the Oracle Dev Gym: [ Ссылка ]
============================
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.
Ещё видео!