From the course: Complete Guide to Oracle Database 23ai: From Beginner to Advanced
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Views, object views, JSON views, and materialized views - Oracle Database Tutorial
From the course: Complete Guide to Oracle Database 23ai: From Beginner to Advanced
Views, object views, JSON views, and materialized views
- [Instructor] Let's jump into secondary database objects which provide enhanced performance and ease of management. The first topic we'll cover are views, which are essentially named queries that can simplify complex logic by presenting it as an object. Understanding how to use and interact with views is crucial for efficient database management. Views can provide users with an object name to replace complex SQL code, but it can also degrade performance if too complex of code is included. Always look at the cost of a step in an explained plan before deciding what should be included in where clauses when designing a view. Another common problem is views which join to other views, which is called nested views. The scenario can complicate the work for the Oracle optimizer when choosing the most optimal explain plan, especially when a secondary where clause is added to a simple select not realizing a more complex SQL statement is behind the view. As data grows and demands on how data is…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Schema objects: All about tables2m 43s
-
(Locked)
Indexing in Oracle 23ai4m 4s
-
(Locked)
Views, object views, JSON views, and materialized views2m 50s
-
(Locked)
Segment partitioning2m 18s
-
(Locked)
The data dictionary and dynamic performance views3m 20s
-
(Locked)
Final project countdown: Schema objects recap40s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-