Question

What is an index. Give an example of table that might have an additional index other...

What is an index. Give an example of table that might have an additional index other than the keys?

Homework Answers

Answer #1

In database systems, an index is a data structure which improves the speed of data retrieval from database. The downside is that having an index require additional writes and additional storage for maintaining index structure.

In a relational database, a table may require additional indexes other than keys when those attributes are often used to select or filter out records. This is especially required if table volume is high. For example, EMPLOYEE table (which contain information about employees of a company) may have social security number (ssn) as primary key and thus we have a key index on ssn. However, attribute Department_ID (which represent the department to which the employee belong) is often used in queries to filter out employee records based on particular departments. Then it makes sense to have index on Department_ID as well.

Know the answer?
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
Similar Questions
[10pts] What is an externality?  Give an example (other than those given in other questions) of a...
[10pts] What is an externality?  Give an example (other than those given in other questions) of a positive and negative externality.  Be sure to discuss why they are positive and negative externalities.  
Topic: Thermophysics What is a variational principle? give an example other than Hamiltonian.
Topic: Thermophysics What is a variational principle? give an example other than Hamiltonian.
a) Give an example of the option to delay a project. When might this be valuable?...
a) Give an example of the option to delay a project. When might this be valuable? b) Give an example of the option to abandon a project. When might this be valuable?
Is it possible to have a healthcare database with a table that consists only of a...
Is it possible to have a healthcare database with a table that consists only of a primary key and many foreign keys? If so, could you give an example?
Explain what a derivative is and give an example of how someone might use a derivative....
Explain what a derivative is and give an example of how someone might use a derivative. (Not sure if it is the same derivative in calculus but a question from a finance course)
What are tax clienteles? Give an example. Why might we not observe tax clienteles in practice?
What are tax clienteles? Give an example. Why might we not observe tax clienteles in practice?
What is an iatrogenic effect? Give an example of one. Why might a juvenile group home...
What is an iatrogenic effect? Give an example of one. Why might a juvenile group home designed to improve behavior produce an iatrogenic effect? Explain using a theory.
Please give a detailed example for the following: Pricing Discrimination Provide an example of when additional...
Please give a detailed example for the following: Pricing Discrimination Provide an example of when additional charges are applied base on time/day and explain rather or not the overcharge was appropriate.
6. What are ethos, pathos, and logos? Give an example of how you might use each...
6. What are ethos, pathos, and logos? Give an example of how you might use each of these three modes of persuasion in a persuasive speaking situation.
Give an example of how the range of a data set might not be an accurate...
Give an example of how the range of a data set might not be an accurate measure of spread.