Category: SQL

mv_prebuilt

Understanding Materialized View ON PREBUILT TABLE

The “ON PREBUILT TABLE” clause is used when you have already created a replicated table using “CTAS” and now want…

mv_prebuilt

Understanding DML Statements on a SQL Join View

A join view is a view based on a join. Special considerations apply when you issue a DML(INSERT, UPDATE, or…

mv_prebuilt

Understanding Oracle SYS_CONTEXT

The SYS_CONTEXT function is used in both SQL & PL/SQL to return information about the Oracle environment that you’re working…

mv_prebuilt

Understanding Oracle External Tables

External tables are read-only tables that allow Oracle to query data that is stored outside the database in flat files….

join_methods

Understanding Join Methods In Oracle Database 19c

A join method is the mechanism for joining two row sources. Depending on the statistics, the optimizer chooses the method…

deterministic_result_cache

Understanding Clustering In Oracle Database

Clustering is a method of storing tables that are intimately related and often joined together into the same area on…

mv_prebuilt

Understanding RealTime Materialized View In Oracle Database 19c

In earlier Oracle version, QUERY REWRITE feature used to stop working as soon as the materialized view become STALE, unless…

mv_query_rewrite

Understanding Materialized View Query Rewrite

When base tables contain large amount of data, it is expensive and time-consuming to compute the required aggregates or to…