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

Oracle Database Sql Processing

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

About

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 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





Discover More
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...



Share this page:
Follow us:
Task Runner