Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1-22 through 11-28 are based on the Problems and Exercises 11-22 through 11-28 are description of the Fitchwood Insurance Company that was in duced in

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

1-22 through 11-28 are based on the Problems and Exercises 11-22 through 11-28 are description of the Fitchwood Insurance Company that was in duced in the context of Problems and Exercises 9-46 through 9-54 in Chapter 9. Problems 9-46 through 9-54 are based on the Fitchwood Insurance Company case study, which is described next. Fitchwood Insurance Company, which is involved pri- marily in the sale of annuity products, would like to design a data mart for its sales and marketing organi- zation. Presently, the OLTP system is a legacy system residing on a shared network drive consisting of approxi- mately 600 different flat files. For the purposes of our case study, you can assume that 30 different flat files are going to be used for the data mart. Some of these flat files are transaction files that change constantly, The OLTP system is shut down overnight on Friday evening beginning at 6 P.M. for backup. During that time, the flat files are cop- ied to another server, an extraction process is run, and the extracts are sent via FTP to a UNIX server. A process is run on the UNIX server to load the extracts into Oracle and rebuild the star schema. For the initial loading of the data mart, all information from the 30 files was extracted and loaded. On a weekly basis, only additions and updates will be included in the extracts. Although the data contained in the OLTP system are broad, the sales and marketing organization would like to focus on the sales data only. After substantial analysis, the ERD shown in Figure 9-24 was developed to describe the data to be used to populate the data mart. From this ERD, you get the set of relations shown in Fig- ure 9-25. Sales and marketing is interested in viewing all sales data by territory, effective date, type of policy, and face value. In addition, the data mart should be able to provide reporting by individual agent on sales as well as commis- sions earned. Occasionally, the sales territories are revised (i.e., zip codes are added or deleted). The Last Redistrict attri- bute of the Territory table is used to store the date of the last revision. Some sample queries and reports are listed here: Total sales per month by territory, by type of policy. Total sales per quarter by territory, by type of policy. Total sales per month by agent, by type of policy. Total sales per month by agent, by zip code. Total face value of policies by month of effective date. Total face value of policies by month of effective date, by agent. Total face value of policies by quarter of effective date. Total number of policies in force, by agent. Total number of policies not in force, by agent. Total face value of all policies sold by an individual agent. Total initial commission paid on all policies to an agent. Total initial commission paid on policies sold in a given month by agent. Total commissions earned by month, by agent. Top-selling agent by territory, by month. Commissions are paid to an agent on the initial sale of a policy. The InitComm field of the policy table contains the percent- age of the face value paid as an initial commission. The Com- mission field contains a percentage that is paid each month as long as a policy remains active or in force. Each month, com- missions are calculated by computing the sum of the commis- sion on each individual policy that is in force for an agent. 11-27. Fitcimwond is a relatively small company (annual pre miul revenues less than $1 billion per year) that insures slightly inore than 500,000 automobiles and about 200,000 1-22 through 11-28 are based on the Problems and Exercises 11-22 through 11-28 are description of the Fitchwood Insurance Company that was in duced in the context of Problems and Exercises 9-46 through 9-54 in Chapter 9. Problems 9-46 through 9-54 are based on the Fitchwood Insurance Company case study, which is described next. Fitchwood Insurance Company, which is involved pri- marily in the sale of annuity products, would like to design a data mart for its sales and marketing organi- zation. Presently, the OLTP system is a legacy system residing on a shared network drive consisting of approxi- mately 600 different flat files. For the purposes of our case study, you can assume that 30 different flat files are going to be used for the data mart. Some of these flat files are transaction files that change constantly, The OLTP system is shut down overnight on Friday evening beginning at 6 P.M. for backup. During that time, the flat files are cop- ied to another server, an extraction process is run, and the extracts are sent via FTP to a UNIX server. A process is run on the UNIX server to load the extracts into Oracle and rebuild the star schema. For the initial loading of the data mart, all information from the 30 files was extracted and loaded. On a weekly basis, only additions and updates will be included in the extracts. Although the data contained in the OLTP system are broad, the sales and marketing organization would like to focus on the sales data only. After substantial analysis, the ERD shown in Figure 9-24 was developed to describe the data to be used to populate the data mart. From this ERD, you get the set of relations shown in Fig- ure 9-25. Sales and marketing is interested in viewing all sales data by territory, effective date, type of policy, and face value. In addition, the data mart should be able to provide reporting by individual agent on sales as well as commis- sions earned. Occasionally, the sales territories are revised (i.e., zip codes are added or deleted). The Last Redistrict attri- bute of the Territory table is used to store the date of the last revision. Some sample queries and reports are listed here: Total sales per month by territory, by type of policy. Total sales per quarter by territory, by type of policy. Total sales per month by agent, by type of policy. Total sales per month by agent, by zip code. Total face value of policies by month of effective date. Total face value of policies by month of effective date, by agent. Total face value of policies by quarter of effective date. Total number of policies in force, by agent. Total number of policies not in force, by agent. Total face value of all policies sold by an individual agent. Total initial commission paid on all policies to an agent. Total initial commission paid on policies sold in a given month by agent. Total commissions earned by month, by agent. Top-selling agent by territory, by month. Commissions are paid to an agent on the initial sale of a policy. The InitComm field of the policy table contains the percent- age of the face value paid as an initial commission. The Com- mission field contains a percentage that is paid each month as long as a policy remains active or in force. Each month, com- missions are calculated by computing the sum of the commis- sion on each individual policy that is in force for an agent. 11-27. Fitcimwond is a relatively small company (annual pre miul revenues less than $1 billion per year) that insures slightly inore than 500,000 automobiles and about 200,000

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions