# Using Table 11.4 as an example, create two alternative access plans. Use the following assumptions: a. There are 8,000 employees. b. There are 4,150 female employees. c. There are 370 employees in area code 615. d. There are 190 female employees in area code 615.

### Database Systems: Design, Implemen...

13th Edition
Carlos Coronel + 1 other
Publisher: Cengage Learning
ISBN: 9781337627900

Chapter
Section

### Database Systems: Design, Implemen...

13th Edition
Carlos Coronel + 1 other
Publisher: Cengage Learning
ISBN: 9781337627900
Chapter 11, Problem 3P
Textbook Problem
195 views

## Using Table 11.4 as an example, create two alternative access plans. Use the following assumptions: a. There are 8,000 employees. b. There are 4,150 female employees. c. There are 370 employees in area code 615. d. There are 190 female employees in area code 615.

### Explanation of Solution

Creating two alternative access plans with the data that are provided:

The below table shows the two alternative access plans for the data that are provided:

Given:

Total Employee: 8000

Number of female Employee: 4500

Number of employee in the area code 615: 370

Number of female employees in the area code 615:190

Assumption:

Considering there are no indexes and reading each row will have I/O cost of “1”.

Table creation:

 Plan Step Operations I/O operations I/O cost Resulting row sets Total I/O cost A A1 Performs a full table scan in table “EMPLOYEE” Selects rows with EMP_SEX=’F’ and EMP_AREACODE=’615’ 8,000 8,000 190 8,000 A2 Perform SORT operations and select rows that match the given criteria (First Name and Last Name). 190 190 190 8,190 B B1 Performs Index scan for the given area code. (MY_NDX1). Select rows based on the area code. 370 370 370 370 B2 Performs table access based on ROWID in the table EMPLOYEE 370 370 370 740 B3 Selects rows that match the given criteria...

### Still sussing out bartleby?

Check out a sample textbook solution.

See a sample solution

#### The Solution to Your Study Problems

Bartleby provides explanations to thousands of textbook problems written by our experts, many with advanced degrees!

Get Started

Find more solutions based on key concepts
What are some basic database functions that a spreadsheet cannot perform?

Database Systems: Design, Implementation, & Management

What is the difference between a threat agent and a threat?

Principles of Information Security (MindTap Course List)

List five common sources for transmission fluid leaks.

Automotive Technology: A Systems Approach (MindTap Course List)

In Chapter 13, we explained that when a spring is stretched or compressed from its unstretched position, elasti...

Engineering Fundamentals: An Introduction to Engineering (MindTap Course List)

What is the difference between a CSO and a CISO?

Management Of Information Security

Convert 10,000 ft-lbf of energy into BTU, Joules, and kilojoules.

Fundamentals of Chemical Engineering Thermodynamics (MindTap Course List)

_____ refers to the number of bytes a storage medium can hold. Identify terms manufacturers use to determine th...

Enhanced Discovering Computers 2017 (Shelly Cashman Series) (MindTap Course List)

If your motherboard supports ECC DDR3 memory, can you substitute non-ECC DDR3 memory?

A+ Guide to Hardware (Standalone Book) (MindTap Course List)

What causes most firewall failures?

Network+ Guide to Networks (MindTap Course List)