SQL Engine - (Access|Scan) (Paths|Method)

Oracle Database Sql Processing


Access paths are relational operator (ways, techniques) that retrieves data from the database.

When talking about the term access, you can also hear for the same term the word scan.

In general, index access paths should be used for statements that retrieve a small subset of table rows, while full scans are more efficient when accessing a large portion of the table. Online transaction processing (OLTP) applications, which consist of short-running SQL statements with high Oracle Database - Selectivity, often are characterized by the use of index access paths.

Decision support systems, on the other hand, tend to use partitioned tables and perform full scans of the relevant partitions.

To locate and retrieve any row in any table, several access path can be used :

How the Query Optimizer Chooses an Access Path

Check the following paragraph : Understanding the optimizer

Recommended Pages
Data System Architecture
Data Partition - Partition Pruning (Elimination)

Partition Pruning is access paths methods that occurs when a table is partitioned by the column in the predicate. In this case, the database will read only the partitions involved and not the full table....
Card Puncher Data Processing
Oracle Database

Documentation about the Oracle database
A Synchronous Read
Oracle Database - DISK_ASYNCH_IO parameter

For optimum performance make sure you use asynchronous I/Os. asynchronous stream TRUE is the default parameter value for the majority of platforms. These parameters enable or disable the operating...
Card Puncher Data Processing
Oracle Database - Index Scans

The Index Scans is a access path used by the query optimizer to produce the best . In this method, a row is retrieved by traversing the index, using the indexed column values specified by the statement....
Card Puncher Data Processing
Oracle Database - Rowid Scans operation

The rowidscan is a access path used by the query optimizer to produce the best explain plan. The rowid of a row specifies the datafile and data block containing the row and the location of the row in...
Card Puncher Data Processing
Oracle Database - Sample SQL Clause for Table Scans/Access

A sample table scan retrieves a random sample of data from a simple table or a complex SELECT statement, such as a statement involving joins and views. This access path is used when a statement's FROM...
Oracle Database Star Transformation
Oracle Database - Star Transformation

This article talk the application of the star query in Oracle which involve a star schema. Star transformation executes the query in two phases: retrieves the necessary rows from the fact table (row...
Card Puncher Data Processing
Oracle Database - The Query Plan Generator

The main function of the plan generator is to try out different possible plans for a given query and pick the one that has the lowest . The plan for a query is established by first generating subplans...
Oracle Database Sql Processing
SQL Engine - (Query Plan) Cost

in relational operation. The cost is an estimated value proportional to the expected resource use needed to execute the statement with a particular execution_plan. The plan estimator calculates the cost...
Oracle Database Sql Execution Parse Tree
SQL Engine - How to read a physical plan (Execution Plan | Execution Tree)

How to read a physical plan The figure below is an execution tree or physical plan, that shows the flow of row sources from one step to another. In general, the order of the steps (relational operator)...

Share this page:
Follow us:
Task Runner