subject

All tables are stored in packed form in blocks of length 4096 bytes. student has 10,000 tuples, each 200 bytes long. it is hashed on stuid, the primary key, and has a secondary non-clustered index on lastname, with three levels. there are 8000 values for lastname, 2000 values for firstname, 25 values for major, and 150 values for credit. faculty has 800 tuples of length 100 bytes. it has an index on facid, the primary key, with two levels. there is a secondary non-clustered index on department, with one level. facname has 650 values, department has 25 values, and rank has 4 values. class has 2500 tuples with length of 100 bytes. it is hashed on classname, the primary key, and has no secondary indexes. facid has 700 values here, schedule has 35 values, and room has 350 values. enroll has 50,000 tuples with length of 100 bytes. it has a composite index on the primary key, {class number, stupid}, with four levels, and it has no other index. the attribute grade has 10 values.

1) find the read cost only (no writing costs) of class |x| enroll using nested loops with:
- class as the outside loop and buffer size of only two blocks
- enroll as the outside loop and buffers size of two blocks
- class as the outside loop and buffer size of 10 blocks
- enroll as the outside loop and buffer size of 10 blocks

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 25.06.2019 05:00
How many meatballs required for a larty of 25 adults and 6 children
Answers: 1
question
Computers and Technology, 25.06.2019 13:00
Ok so im actually just wondering can you change you username
Answers: 2
question
Computers and Technology, 25.06.2019 21:10
Steps for turning off two step verification on ,for example, iphones.
Answers: 1
question
Computers and Technology, 26.06.2019 06:30
Given two points on the line, input the equation of the line in standard form ax+by= c reduce all fractional answers to lowest terms (6,1) (5,4)
Answers: 1
You know the right answer?
All tables are stored in packed form in blocks of length 4096 bytes. student has 10,000 tuples, each...
Questions
question
Mathematics, 20.09.2020 02:01
question
Geography, 20.09.2020 02:01
question
Biology, 20.09.2020 02:01
question
Mathematics, 20.09.2020 02:01
question
Mathematics, 20.09.2020 02:01
question
Mathematics, 20.09.2020 02:01
question
Mathematics, 20.09.2020 02:01
Questions on the website: 13722362