Oracle Analytic Views
Version 12.2

General Information
Library Note Morgan's Library Page Header
For how many years have you been working with physical servers that are starving your database of the memory necessary to deploy important new performance features such as the Result Cache, Memoptimize Pool, In-Memory Aggregation, In-Memory Column Store, and Full Database Caching? Too long? Contact me to learn how to improve all queries ... not just some queries.
Purpose A view is a logical entity: A SQL statement stored in the database in the system tablespace. Data for a view is built in a table created by the database engine in the TEMP tablespace.
Dependencies
ALL_ANALYTIC_VIEW_COLUMNS DBA_ANALYTIC_VIEW_COLUMNS USER_ANALYTIC_VIEW_COLUMNS
CDB_ANALYTIC_VIEW_COLUMNS DBMS_HIERARCHY  
System Privileges
ALTER ANY ANALYTIC VIEW CREATE ANY ATTRIBUTE DIMENSION DROP ANY ANALYTIC VIEW
ALTER ANY ATTRIBUTE DIMENSION CREATE ANY HIERARCHY DROP ANY ATTRIBUTE DIMENSION
ALTER ANY HIERARCHY CREATE ATTRIBUTE DIMENSION DROP ANY HIERARCHY
CREATE ANALYTIC VIEW CREATE HIERARCHY SELECT ANY TABLE
CREATE ANY ANALYTIC VIEW    
 
Create Analytic View
??? CREATE OR REPLACE ANALYTIC VIEW <view_name> AS
SELECT <column_name>
FROM <table_name>
conn sys@pdbdev as sysdba

GRANT create analytic view TO uwclass;

conn uwclass/uwclass@pdbdev
   
   
 
Force View
???  
 
 
Parameterized View
???  
 
   
 
Alter Analytic View
Recompile an invalid view  
 
 
Commenting Views and View Columns
   
 
   
 
 
Drop Analytic View
   
 

Related Topics
Built-in Functions
Built-in Packages
Editioning Views
In-Line View
Materialized View
Object Views
Views
XML Views
What's New In 18cR3
What's New In 19cR3

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2019 Daniel A. Morgan All Rights Reserved
DBSecWorx