Question

Why you need to have multiple indexing schemes if you want to search through a database...

Why you need to have multiple indexing schemes if you want to search through a database based on different keys?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

ANSWER :-

Indexing: Indexing is a data structure technique to efficiently retrieve records from the database files based on some attributes on which the indexing has been done. Indexing in database systems is similar to what we see in books.

Multiple Indexing Schemes

Data block 0 Index Block 0 Data block 1 Index Block 1 outer index Data block 2 Inner index Data block 3

"Multiple indexing schemes improves the performance of searching for a record based on a specified indexing field value."

  • Multiple indexing is created when a primary index does not fit in memory. In this type of indexing method, you can reduce the number of disk accesses to short any record and kept on a disk as a sequential file and create a sparse base on that file.
  • Index records comprise search-key values and data pointers. Multiple index is stored on the disk along with the actual database files. As the size of the database grows, so does the size of the indices. There is an immense need to keep the index records in the main memory so as to speed up the search operations. If single-level index is used, then a large size index cannot be kept in memory which leads to multiple disk accesses.
  • Multiple Index helps in breaking down the index into several smaller indices in order to make the outermost level so small that it can be saved in a single disk block, which can easily be accommodated anywhere in the main memory.
Add a comment
Know the answer?
Add Answer to:
Why you need to have multiple indexing schemes if you want to search through a database...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • c++ Imaginethatyouhavebeenassignedtoimplementasimplesequentialsearch on an array. The problem is that you want the search to be as...

    c++ Imaginethatyouhavebeenassignedtoimplementasimplesequentialsearch on an array. The problem is that you want the search to be as general as pos- sible. This means that you need to support arbitrary record and key types. Describe ways to generalize the search function to support this goal. Con- sider the possibility that the function will be used multiple times in the same program, on differing record types. Consider the possibility that the func- tion will need to be used on different keys (possibly with...

  • Search Engines Search engines are the opening portals to internet. When we have questions, doubts or...

    Search Engines Search engines are the opening portals to internet. When we have questions, doubts or want to search an answer to a particular topic, search engines like Google, Yahoo, Microsoft edge are used to get answers. In short, search engines provide answers to the questions, requests or queries of its users. But there is lot of process that goes behind displaying correct pages to the front-end users. Everyday trillions of data is generated and stored in databases. So, search...

  • Hello, I need help with following question; "You want to search a list for a key...

    Hello, I need help with following question; "You want to search a list for a key and return the keys of the two elements that come before it and the keys of the two elements the come after it. Which would be the most appropriate linked list methods to implement this application?  double linked list or circular linked list or with header and trailer nodes?

  • 7.4. If you want to synthesize ferrocene, you need cyclopentadiene. Search for a supplier. You wi...

    7.4. If you want to synthesize ferrocene, you need cyclopentadiene. Search for a supplier. You will not find it. Why not? Explain using molecular orbitals and your vast knowledge of organic chemistry. 7.4. If you want to synthesize ferrocene, you need cyclopentadiene. Search for a supplier. You will not find it. Why not? Explain using molecular orbitals and your vast knowledge of organic chemistry.

  • Database a) Roughly describe how a binary search works. You don’t need to give pseudocode or an e...

    Database a) Roughly describe how a binary search works. You don’t need to give pseudocode or an exact algorithm, but explain the principle or point of how it works. b) In a binary search, does the number of operations required grow roughly exponentially or logarithmically with the number of items to be searched?        c) Can a binary search be done on a “heap” file? Explain why or why not. d) Explain why hashing can (usually) provide very fast lookups (retrieval)...

  • Intro to database systems question: Question2 (20 points, 5 points each) Consider the following relational schema as part of a university database Prof(sin, pname, o_ce, age, sex, specialty, dept did...

    Intro to database systems question: Question2 (20 points, 5 points each) Consider the following relational schema as part of a university database Prof(sin, pname, o_ce, age, sex, specialty, dept did) Dept(did, dname, budget, num majors, chair sin) Assume the following queries are the most common queries in the workload for this university and they are almost equivalent in frequency and importance Assume that both B+ trees and hashed indexes are supported by the DBMS and that both single and multiple-attribute...

  • You have been hired as database administrator for Athabasca University and the computing services director asked you to...

    You have been hired as database administrator for Athabasca University and the computing services director asked you to tune the following database that is too slow for query processing. The database has two relations: Professor(sin, prof_name, office_no, age, gender, specialty, dept_did) Department(did, dept_name, budget, nbr_programs, chair_sin) After examining the application you found that the following queries are the five most common queries in the workload for this university application and that all are roughly equivalent in frequency and importance: o...

  • You are a database consultant with Ace Software, Inc., and have been assigned to develop a...

    You are a database consultant with Ace Software, Inc., and have been assigned to develop a database for the Johnson Video Store in town. The owners have been keeping their records of videos and DVDs purchased from distributors and rented to customers in stacks of invoices and piles of rental forms for years. They have finally decided to automate their record keeping with a relational database. You sit down with the owners to discuss their business and watch their operation...

  • You were requested to design a database to store the data concerning a large mechanic shop....

    You were requested to design a database to store the data concerning a large mechanic shop. Your database has to store the following: For each car, you want to store the make, model, year, color, engine info, license plate, VIN (vehicle identification number), and a field for general notes. Additionally, for each car, you need to keep information about the owner. For each owner, you need to store the client ID, the name, address information, phone number, and email. An...

  • Questions: Assume you are creating a database for IS paint store. Suppose you have an ER diagram ...

    Questions: Assume you are creating a database for IS paint store. Suppose you have an ER diagram like the following: Please answer the following questions. Explain your answer. 1. Convert the ER diagrams to relational tables. 2. Specify primary keys and foreign keys in each table. For foreign keys, specify which primary key it references to. 3. Please create the tables in SQL for the relational tables in our ER diagrams. You also need to define primary keys and foreign...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT