Effective: Late Fall 8-Week, 2018/2019

CISS 402: Advanced Database

Back to Top

  Course Description

This course is a second course in database systems. Topics include: object-based models, storage architecture, data architecture, advanced SQL, NoSQL, transaction, performance tuning, distributed databases, security, social and ethical issues.

Prerequisite: CISS 202

Proctored Exams: Midterm and Final


As part of TruitionSM, students will receive their course materials automatically as described below.


  • Ricardo, Catherine M., and Susan Urban. (2017). Databases Illuminated (3). Burlington, MA: Jones & Bartlett Learning.  
    • Note: This text comes with an access code to supplementary resources. These resources are optional, and are not required for course completion.

Bookstore Information

Visit https://www.ccis.edu/bookstore.aspx for details.

eText Information

If a course uses an eText, (see Textbook information above) the book will be available directly in Desire2Learn (D2L) and through the VitalSource eText reader the Friday before the session begins, if registered for courses prior to that date.  Students will have a VitalSource account created for them using their CougarMail email address. Upon first login to VitalSource, students may need to verify their account and update their VitalSource password.  More information about how to use the VitalSource platform, including offline access to eTexts, can be found in D2L.  Students that would like to order an optional print-on-demand copy of eligible eTexts can do so through the VitalSource bookshelf at an additional cost.  Once orders are placed, it can take approximately five to seven business days for students to receive their print-on-demand books.

Physical Course Materials Information

Students enrolled in courses that require physical materials will receive these materials automatically at the address on file with Columbia College.  Delivery date of physical materials is dependent on registration date and shipping location.  Please refer to confirmation emails sent from Ed Map for more details on shipping status.

Returns: Students who drop a course with physical course materials will be responsible for returning those items to Ed Map within 30 days of receipt of the order.  More specific information on how to do so will be included in the package received from Ed Map.  See here for Ed Map's return policy. Failure to return physical items from a dropped course will result in a charge to the student account for all unreturned items.

Note: Students who opt-out of having their books provided as part of TruitionSM are responsible for purchasing their own course materials.

  Course Overview

This course provides an in-depth look at relational databases. Topics include E-R Design, SQL, transaction control, database security, distributed databases and query optimization. 

  Technology Requirements

Participation in this course will require the basic technology for all online classes at Columbia College:
  • A computer with reliable Internet access
  • A web browser
  • Acrobat Reader
  • Microsoft Office or another word processor such as Open Office

You can find more details about standard technical requirements for our courses on our site.

  Course Learning Outcomes

  1. Demonstrate an in-depth knowledge of database systems.
  2. Apply database development knowledge to build a moderately complex business application using a high-level programming language.


Grading Scale

Grade Points Percent
A 900-1000 90-100%
B 800-899 80-89%
C 700-799 70-79%
D 600-699 60-69%
F 0-599 0-59%

Grade Weights

Assignment Category Points Percent
Discussions (8) 200 20%
Dropboxes (8) 200 20%
Case Studies (3) 150 15%
Quizzes (6) 150 15%
Exams (2) 300 30%
Total 1000 100%

  Schedule of Due Dates

Week 1

Assignment Points Due
Discussion 1 25 Thursday/Sunday
Discussion: Introduction -- Sunday
Dropbox 1 25
Quiz 1 25

Week 2

Assignment Points Due
Discussion 2 25 Thursday/Sunday
Dropbox 2 25 Sunday
Case Study 1 50
Quiz 2 25
Proctor Information N/A

Week 3

Assignment Points Due
Discussion 3 25 Thursday/Sunday
Dropbox 3 25 Sunday
Quiz 3 25

Week 4

Assignment Points Due
Discussion 4 25 Thursday/Sunday
Dropbox 4 25 Sunday
Midterm 150

Week 5

Assignment Points Due
Discussion 5 25 Thursday/Sunday
Dropbox 5 25 Sunday
Case Study 2 50
Quiz 4 25

Week 6

Assignment Points Due
Discussion 6 25 Thursday/Sunday
Dropbox 6 25 Sunday
Quiz 5 25

Week 7

Assignment Points Due
Discussion 7 25 Thursday/Sunday
Dropbox 7 25 Sunday
Case Study 3 50
Quiz 6 25

Week 8

Assignment Points Due
Discussion 8 25 Thursday/Saturday
Dropbox 8 25 Saturday
Final 150
Total Points: 1000

  Assignment Overview


Each week there is a discussion on different database concepts. Your initial post to the discussion is due each week by Thursday at 11:59 pm Central Time (CT). Each week you must also respond to at least two other students by Sunday at 11:59 pm CT, except in Week 8 when the deadline is Saturday at 11:59 pm.

Your initial post should be a substantial, original contribution that completely answers the question or addresses the topic. You responses should also substantively add to and extend the conversation by adding new points or raising new questions. All posts should be well formatted, free from grammatical and spelling errors, and posted by the deadlines.  All discussions are set so that you must post your initial response before you can view the responses of your peers.


The eight dropbox assignments include designing a database, writing SQL commands to create/alter a database, and optimizing database operations. Dropbox assignments will be due by Sunday at 11:59 pm CT of the week they are assigned, except in Week 8 where they will be due by Saturday at 11:59 pm CT.

Case Study

You will complete three case studies that take a business problem and design, create, or modify a relational database for optimal efficiency.  I recommend you use Visual Studio Community (Free Version).  Each Case Study will be due by Sunday at 11:59 pm CT of the week it is assigned.  


Each week, you will take a quiz over the weekly readings. You will have 90 minutes to complete the quiz and you will only receive one attempt. Each quiz is worth 25 points and will include 25 multiple choice questions. The quiz is due by 11:59 PM CT on Sunday of the week it is assigned.


Your midterm and final exams are proctored tests located in the Quizzes area of the course. It is your responsibility to arrange a proctor following the procedures outlined in the Content area of the course. Both exams are closed book and will include a combination of 50 multiple choice and 5 short answer questions over the concepts covered in weekly readings. You will have 2 hours to complete each exam.

Each exam, worth 150 points, will be available beginning Wednesday at 12:00 am CT and you must take the exam before 11:59 pm CT on the day it is due. The Midterm will cover readings from Weeks 1-4 and the Final will cover readings from Weeks 5-8.

  Course Outline

Click on each week to view details about the activities scheduled for that week.

Learning Resources
  • Chapter 3
  • Chapter 7
  • Instructional Materials [Content area of the course]

Recommend: Reviewing Chapters 1 and 2

Discussion 1

What is an existence dependency between database entities? How do strong and weak entities differ? Provide an example of both strong and weak entities. Explain why your examples would be considered strong or weak entities.

Discussion: Introduction

Please post an introduction of yourself.  What is your background?  Do you have any work experience (either related to database design/development or unrelated)?  What do you hope to get out of the course? Anything else you would like us all to know about you?

Dropbox 1

A dentist’s office needs to keep information about patients, the number of visits they make to the office, work that must be performed, procedures performed during visits, charges and payments for treatment, and laboratory supplies and services. Assume there is only one dentist, so there is no need to store information about the dentist in the database. There are several hundred patients. Patients make many visits, and the database should store information about the services performed during each visit and the charges for each of the services. There is a standard list of charges, kept outside the database. The office uses three dental laboratories that provide supplies and services.

Draw an E-R diagram for this example.

Quiz 1

A 25 multiple-choice question quiz over required textbook readings. The quiz is available in the Quizzes area of the course.

Learning Resources
  • Chapter 5
  • Instructional Materials [Content area of the course]
Discussion 2

Triggers allow the DBMS to audit changes to the database as well as ensure the integrity of its data. Figure 5.6(B) in your text is an example of a trigger designed to update the total number of students enrolled in a class whenever another student enrolls.

For the Employee table below, write a trigger that will call a stored procedure which will create an audit trail that will track all updates to the salary field. The audit records will be written into the SalaryAudit table, as seen below. Explain the logic of each step of your trigger.

Employee (EmpID, lastName, firstName, department, salary, dateHired)

SalaryAudit (Date_of_update, EmpID, oldsalary, newsalary)

In your responses to other students, consider their logic for the trigger and how it compares to your own logic process.

Dropbox 2

Using the database provided in the course, add a field called numEmployeesAssigned to the Project table. Use the UPDATE command to insert values into the field to correspond to the current information in the Assign table. Then write a trigger that will update the field correctly whenever an assignment is made, dropped, or updated. Write the command to make these changes permanent.

Case Study 1

Create a relational database for the schema for the horse racing example as shown in Figure 4.8 (page 140) in the textbook. Make up data and enter records for at least 5 horses (name one of the horses “Lucky”), at least 10 people (owners, trainers, and jockeys), and at least 5 races, with at least 5 entries in every race.

Write SQL queries for each of the following; execute and save them:

  1. What are the name and telephone number of the person who trained Lucky?
  2. What was Lucky’s final position in a given race?
  3. What are the name and address of the jockey who rode the winning horse in a particular race?
  4. Create a trigger to track the number of first place finishes each jockey has earned.
Quiz 2

A 25 multiple-choice question quiz over required textbook readings. The quiz is available in the Quizzes area of the course.

Proctor Information
Submit your proctor form to the appropriate Dropbox folder by the end of the week. Remember to “Save” the form before placing it in Dropbox. See the Content area for more information.
Learning Resources
  • Chapter 8
  • Instructional Materials [Content area of the course]
Discussion 3

The CIA model of information security is a very fundamental concept in security. Ensuring the three sides of the CIA model is protected is an important step in designing a secure system. Do you feel the CIA model provides enough security for today’s systems? Why or why not? Provide an example that supports your belief. 

Dropbox 3

For each of the following, write SQL statements to create views where needed and to grant the indicated privileges for the University database with this schema:

Student (stuId, lastName, firstName, major, credits)
Faculty (facId, name, department, rank)
Class (classNumbe, facId, schedule, room)
Enroll (stuId, classNumber, grade)

  1. Give permission to read the tables Student and Class to user 201.
  2. Create a view of Enroll that does not include the grade attribute, and give user 201 permission to read and update the view.
  3. Create a role that includes reading Student, Class, and the view created in 2. Give that role to all clerks in the Deans office, which includes users 202, 203, 204, and 205.
  4. Give permission to user 206, an assistant dean, to read and modify (insert, delete, update) the Faculty and Class tables. This user can authorize others to read and modify Class but not Faculty.
  5. User 206 authorizes user 300 to read Class. Write the command to do this
Quiz 3

A 25 multiple-choice question quiz over required textbook readings. The quiz is available in the Quizzes area of the course.

Learning Resources
  • Chapter 9
  • Instructional Materials [Content area of the course]
Discussion 4

What options does a DBMS have to handle concurrent execution of transactions in a multi-user database? Which option do you feel is best, and why?

Dropbox 4

Assume the following transactions are to be performed:

Transaction S:


Transaction T:


  1. If the initial value of a is 10 and the initial value of b is 20, what are their final values if we perform the transactions serially, using order S,T?
  2. Using the same initial values, what are the final values of a and b if the order of execution is T,S?
  3. Does this result have any implications for serializability?
  4. Write a concurrent schedule for transactions S and T that illustrates the lost update problem.
  5. Apply the standard two-phase locking protocol to the schedule you devised in step 4. Will the protocol allow the execution of that schedule? Does deadlock occur?

An exam over Weeks 1 - 4, consisting of 50 multiple-choice and 5 short answer questions. The exam is available in the Quizzes area of the course.

Learning Resources
  • Chapter 10
  • Instructional Materials [Content area of the course]
Discussion 5

You have been charged with designing a distributed database system for a bank that has multiple branches in multiple small towns separated by hundreds of miles in a rural area. What architecture would you recommend? Why?

Dropbox 5

Use the data distribution scheme for a distributed University example [available in the course] to answer the following questions:

1. Describe two strategies for this query:

   a. Find the ClassNumber and the names of all students enrolled in all classes with schedule MWF9

2. Describe two strategies for this query:

   a. Find the ClassNumber, facId of the teacher, and the campus of all classes being taken by RosemaryHughes, who is a student at the North campus.

3. Consider the query “Find the ClassNumber, schedule, and lastName of all enrolled students for all classes being taught by Professor Smith of the North campus.” The query is entered at the North campus.

   a. Describe a strategy that does not use the semijoin

4. Consider the query “Find the ClassNumber, schedule, and lastName of all enrolled students for all classes being taught by Professor Smith of the North campus.” The query is entered at the North campus.

   a. Describe a strategy that does use a semijoin

Case Study 2

Using the schema in Exercise 10.5 on page 473 in the textbook. 

This company has 20 stores that stock about 15,000 different items. Each item comes from only one supplier, but there are different suppliers for different items. The database currently keeps track of what items are in what store, what items have been reordered at each store, and the reorder point (the minimum number of each item that each store wishes to keep in stock). This information is currently stored in a centralized database.

  • Use SQL to create and populate the fragments for this distributed database.
Quiz 4

A 25 multiple-choice question quiz over required textbook readings. The quiz is available in the Quizzes area of the course.

Learning Resources
  • Chapter 12
  • Instructional Materials [Content area of the course]
Discussion 6

This chapter looks at the five Vs of big data. Which of the five do you think is most important? Why? Which of the five do you think is least important? Why?

Dropbox 6

Select multiple Hadoop, NoSQL, and NewSQL products and conduct a detailed comparison of the similarities and differences between the tools that you select. For NoSQL products, include key-value pair systems, column-oriented systems, document-oriented systems, and graph-oriented systems. How would you determine which tool is the most appropriate to use for a given big data application?

Quiz 5

A 25 multiple-choice question quiz over required textbook readings. The quiz is available in the Quizzes area of the course.

Course Evaluation
Please evaluate the course. You will have an opportunity to evaluate the course near the end of the session. A link sent to your CougarMail will allow you to access the evaluation. Please note that these evaluations are provided so that I can improve the course, find out what students perceive to be its strengths and weaknesses, and in general assess the success of the course. Please do take the time to fill this out.
Learning Resources
  • Chapter 13
  • Instructional Materials [Content area of the course]
Discussion 7

What are database statistics, and why are they important? How are they obtained? Which optimizer statistics do you feel are most important for efficient database performance? Why?

Dropbox 7

Assume we have the following information about a University database:

  • 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 classNumber, 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, {classNumber, stuId}, with four levels, and it has no other index. The attribute grade has 10 values.

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
Case Study 3

A company publishes newspapers in multiple states, and wishes to have a distributed database to track all customer and subscription information. Each state will have its own customer table, housing only customers from that state, and its own newspaper table with information on that state's newspapers. Also, each state will have a subscriptions table, tracking who is subscribing to what. Design, create, and populate (with sample data) this distributed database.

From the database you created, answer the following questions: 

  1. What type of data fragmentation is needed for each table?
  2. What criteria was used to partition each distributed database?
  3. What type of distributed database operations must be supported at each remote site?
Quiz 6

A 25 multiple-choice question quiz over required textbook readings. The quiz is available in the Quizzes area of the course.

Learning Resources
  • Chapter 15
  • Instructional Materials [Content area of the course]
Discussion 8

Assume you have a position as a database administrator in a large corporation. The company has been collecting data about employees, including monitoring their working habits by recording their keystrokes, timing their telephone interactions with clients, and scanning their email for personal correspondence. As DBA, you are asked to help set up a record-keeping system to store such data. Does the company have a legal right to perform this kind of monitoring? What is your professional responsibility in this situation? How would you personally feel about this situation?

Dropbox 8

Assume you and a group of friends have developed an innovative piece of software for which you wish to protect your intellectual property rights. Identify the mechanism you would choose, and describe what you would need to do (if anything) to establish your ownership and enforce your ownership of the software. Would your rights be recognized in other countries? If not, is there any mechanism you can use to enforce them overseas?


An exam over Weeks 5-8, consisting of 50 multiple-choice and 5 short answer questions. The exam is available in the Quizzes area of the course.

  Course Policies

Student Conduct

All Columbia College students, whether enrolled in a land-based or online course, are responsible for behaving in a manner consistent with Columbia College's Student Conduct Code and Acceptable Use Policy. Students violating these policies will be referred to the office of Student Affairs and/or the office of Academic Affairs for possible disciplinary action. The Student Code of Conduct and the Computer Use Policy for students can be found in the Columbia College Student Handbook. The Handbook is available online; you can also obtain a copy by calling the Student Affairs office (Campus Life) at 573-875-7400. The teacher maintains the right to manage a positive learning environment, and all students must adhere to the conventions of online etiquette.

Plagiarism and Academic Integrity

Academic integrity is a cumulative process that begins with the first college learning opportunity. Students are responsible for knowing the Academic Integrity policy and procedures and may not use ignorance of either as an excuse for academic misconduct. Columbia College recognizes that the vast majority of students at Columbia College maintain high ethical academic standards; however, failure to abide by the prohibitions listed herein is considered academic misconduct and may result in disciplinary action, a failing grade on the assignment, and/or a grade of "F" for the course.

Additionally, all required papers may be submitted for textual similarity review to Turnitin.com for the detection of plagiarism. All submitted papers may be included in the Turnitin.com reference database for the purpose of detecting plagiarism. This service is subject to the Terms and Conditions of Use posted on the Turnitin.com site.


There will be no discrimination on the basis of sex, race, color, national origin, sexual orientation, religion, ideology, political affiliation, veteran status, age, physical handicap, or marital status.

Student Accessibility Resources

Columbia College is committed to creating a learning environment that meets the needs of its diverse student body. If you anticipate or experience any barriers to learning, communicate your concerns with the instructor. In addition to speaking with the instructor, the following resources are available to ensure an opportunity to learn in an inclusive environment that values mutual respect.

  • For students with disabilities/conditions who are experiencing barriers to learning or assessment, contact the Student Accessibility Resources office at (573) 875-7626 or sar@ccis.edu to discuss a range of options to removing barriers in the course, including accommodations.
  • For students who are experiencing conflict which is impacting their educational environment, contact the Office of Student Conduct at studentconduct@ccis.edu or (573) 875-7877.
  • For students who have concerns related to discrimination or harassment based on sex, gender identity, sexual orientation, pregnancy or parental status, please contact the Title IX Office at titleixcoordinator@ccis.edu. More information can be found at http://www.ccis.edu/policies/notice-of-non-discrimination-and-equal-opportunity.aspx

Online Participation

You are expected to read the assigned texts and participate in the discussions and other course activities each week. Assignments should be posted by the due dates stated on the grading schedule in your syllabus. If an emergency arises that prevents you from participating in class, please let your instructor know as soon as possible.

Attendance Policy

Attendance for a week will be counted as having submitted any assigned activity for which points are earned. Attendance for the week is based upon the date work is submitted. A class week is defined as the period of time between Monday and Sunday (except for week 8, when the work and the course will end on Saturday at midnight.) The course and system deadlines are based on the Central Time Zone.

Cougar Email

All students are provided a CougarMail account when they enroll in classes at Columbia College. You are responsible for monitoring email from that account for important messages from the College and from your instructor. You may forward your Cougar email account to another account; however, the College cannot be held responsible for breaches in security or service interruptions with other email providers.

Students should use email for private messages to the instructor and other students. The class discussions are for public messages so the class members can each see what others have to say about any given topic and respond.

Late Assignment Policy

An online class requires regular participation and a commitment to your instructor and your classmates to regularly engage in the reading, discussion and writing assignments. Although most of the online communication for this course is asynchronous, you must be able to commit to the schedule of work for the class for the next eight weeks. You must keep up with the schedule of reading and writing to successfully complete the class.

Late discussion posts, assignments, quizzes, and exams will not be accepted 

Course Evaluation

You will have an opportunity to evaluate the course near the end of the session. A link will be sent to your CougarMail that will allow you to access the evaluation. Be assured that the evaluations are anonymous and that your instructor will not be able to see them until after final grades are submitted.

Proctor Policy

Students taking courses that require proctored exams must submit their completed proctor request forms to their instructors by the end of the second week of the session. Proctors located at Columbia College campuses are automatically approved. The use of ProctorU services is also automatically approved. The instructor of each course will consider any other choice of proctor for approval or denial. Additional proctor choices the instructor will consider include: public librarians, high school or college instructors, high school or college counseling services, commanding officers, education service officers, and other proctoring services. Personal friends, family members, athletic coaches and direct supervisors are not acceptable.

  Additional Resources

Orientation for New Students

This course is offered online, using course management software provided by Desire2Learn and Columbia College. The course user guide provides details about taking an online course at Columbia College. You may also want to visit the course demonstration to view a sample course before this one opens.

Technical Support

If you have problems accessing the course or posting your assignments, contact your instructor, the Columbia College Technology Solutions Center, or the D2L Helpdesk for assistance. If you have technical problems with the VitalSource eText reader, please contact VitalSource. Contact information is also available within the online course environment.

Online Tutoring

Smarthinking is a free online tutoring service available to all Columbia College students. Smarthinking provides real-time online tutoring and homework help for Math, English, and Writing. Smarthinking also provides access to live tutorials in writing and math, as well as a full range of study resources, including writing manuals, sample problems, and study skills manuals. You can access the service from wherever you have a connection to the Internet. I encourage you to take advantage of this free service provided by the college.

Access Smarthinking through CougarTrack under Students -> Academics -> Academic Resources.