Database indexing eotw | ISM6218 | University of South Florida

 

This group assignment provides an opportunity to gain some practical experience with indexing.  The “experiment of the week” assignments are intended to be more open, with your group picking the specific topics to investigate.  Basically, this gives you a chance to be a bit more creative and follow directions of specific interest to you (and more relevant to your career).  Besides creativity, you should try to pick experiments that are interesting and carry them out with good technical skill.  That does not mean the results have to be in line with your intuition, counter-intuitive yet interesting results are great.  Besides the topic of the week, such as indexing, you are free to bring in any past topics to complement your experiments.  For instance, you might develop some new queries that fit better with the current experiments or even try some database programming.

The deliverable is an “experiment of the week” write-up that includes an explanation of each experiment, along with screenshots, figures, and/or tables that highlight key steps or results.  Along with some ideas below, there are “hall of fame” examples that show fragments of past student projects.  These fragments and hints are selected because of interesting features, but are not guaranteed to be completely correct.  So, use them for inspiration and develop your own informed results (i.e., “trust but verify”).  Together these hints and ideas should help you complete your assignments and learn along the way.

Project Ideas

Idea 1: Investigating Selectivity

Look up selectivity in your database textbook.  Essentially, the optimizer makes a decision regarding index use based on the fraction of results returned. Indexes are most useful when selecting a small fraction of the available records.  You can conduct a simple experiment to find out where the cutoff percentage lies by developing a simple single table query and gradually shrinking (or growing) the query range.

Idea 2: Start Simple and Show that Indexing Works

You can start with a simple experiment that builds on your query writing.  Take a simple query and improve the performance by adding indexes (and/or using any subsequent techniques).  The idea is to take a query scenario based approached to performance tuning.  Then expand to more complex queries.

Idea 3: Primary Keys and Indexes

Why index a primary key?  Primary key constraints can be expensive to enforce, since any new values have to be unique (and compared with all existing values).  So, a fast lookup based on the primary key value is very useful (based on an index).  You could explore this by creating a table with no primary key constraint, but with a unique constraint on the candidate key column.  Do an INSERT and look at the execution plan and cost.  Now put a primary key constraint in place, which automatically creates an index.  How does the performance differ?  I have not tried this, but it sounds interesting.

Idea 4: Indexing for Different Query Types

There are many types of queries.  Some queries are highly focused and return a single row or small set (a “point queries”).  Other queries return larger sets based on ranges of specific attributes (range queries).  Report-like queries typically scan large amounts of data and often form aggregates for results (scan queries).  You could explore the importance of index structures under these different scenarios.

Idea 5: Function-Based Indexes

Database systems often provide methods for improving performance for computed columns.  It is often good practice to derive data from several existing columns.  However, these multi-column computations can be expensive to calculate at query time.  Several techniques such as materialized views or function-based indexes can improve performance in these situations.  In particular, function-based index structures store the calculated values for efficient retrieval.  As part of an experiment, you can create a computed attribute and try queries with and without function-based indexes.

Idea 6: Database Programming

You might also consider doing a bit of database programming based on the previous special topic.  For instance, you could write a stored procedure to generate data, such as fan ratings of movies (or craft beers).  You could also build utility procedures or functions for manipulating the data or computing derived information like a composite movie rating.

Duepapers
Calculate your paper price
Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional and Experienced Academic Writers

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

24/7 Customer Support

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

Essays

Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.

Admissions

Admission Essays & Business Writing Help

An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.

Reviews

Editing Support

Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.

Reviews

Revision Support

If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.