the ABC Case Study Question 1) Entities for ABC Database 1.1 Custoer Detai!s Customer No. Customer First Name Customer Middle Name Customer Surname Telephone No. Fax No. Mobile No. Home Address Office Address POBox mail Sales Header No. Pa!ment Method Credit "imit Salesperson#Sales Cler$ No. Sales "ocation %n&oice %nformation#Address Sales %n&oice Sales 'eli&er! Schedule 'iscount 1.2 Sa!es"erson Detai!s Salesperson No. Salesperson First Name Salesperson Middle Name Zubaidah Abdul Rehman, 20042080, BIS Analysis and Design Page 1 of 12 Activity 11.2: Database Design Exercise using the ABC Case Study Salesperson Surname Salesperson Title 'ate of (oinin) Sales *uota Bonus#%ncenti&es Sales Order Sales "ocation Telephone No. Fax No. Mobile No. mail 1.# Sa!es $rder %eader Detai!s Sales Header No. Order 'ate +e,uired 'ate Sales 'eli&er! Schedule %tem # Product No. Customer No. Pa!ment Method 1.& Sa!es $rder 'ine Detai!s Sales "ine No. Sales Header No. %tem # Product No. %tem # Product Price *uantit! 'iscount Zubaidah Abdul Rehman, 20042080, BIS Analysis and Design Page 2 of 12 Activity 11.2: Database Design Exercise using the ABC Case Study Total Pa!ment Sales %n&oice 1.( )te * +roduct Detai!s %tem # Product No. %tem # Product Name %tem # Product 'escription %tem # Product Cost %tem # Product Price 'iscount Zubaidah Abdul Rehman, 20042080, BIS Analysis and Design Page 3 of 12 Activity 11.2: Database Design Exercise using the ABC Case Study Question 2) Detai!s Definition ,Each -ab!e in the Database) 2.1 Custoer Detai!s Primar!# Forei)n -e!s Name Field Name 'ata T!pe Field Si.e /alidation +ules Primar! -e! Customer No. CustomerNo Number 0 Mandator! NA Customer First Name FirstName Text 12 Mandator! NA Customer Middle Name MiddleName Text 12 NA Customer Surname Surname Text 12 Mandator! NA Telephone No. Tel Number 3 Mandator!4 if no mobile number NA Fax No. Fax Number 3 NA Mobile No. Mobile Number 52 Mandator! NA Home Address HomeAddress Text 522 Mandator! NA Office Address OfficeAddress Text 522 Mandator!4 if no home address NA POBox POBox Number 1 Mandator! NA mail mail Text 522 Mandator! Forei)n -e! Sales Header No. SalesHeaderNo Number 52 Mandator! NA %n&oice %nformation#Address %n&oice%nformation#Address Text 522 Mandator!4 if customer re,uests to send in&oice of order NA Pa!ment Method Pa!mentMethod O" Ob6ect7 Cash Che,ue 8 +estricted "ist NA Credit "imit Credit"imit Number 52 Mandator! Forei)n -e! Salesperson#Sales Cler$ No. Salesperson#SalesCler$No Number 52 Mandator! NA Sales "ocation Sales"ocation O" Ob6ect7 +A- 8 +estricted "ist Zubaidah Abdul Rehman, 20042080, BIS Analysis and Design Page 4 of 12 Activity 11.2: Database Design Exercise using the ABC Case Study 9A* A6man Shar6ah Fu6airah 'ubai A' Al Ain NA Sales %n&oice Sales%n&oice Number 0 Mandator!4 if customer re,uests to send in&oice of order NA Sales 'eli&er! Schedule Sales'eli&er!Schedule 'ate#Time 52 Mandator!4 dd#mm#!!!! NA 'iscount 'iscount :es#No 5 Mandator!4 purchase of e&er! 52222 allot 8; discount Zubaidah Abdul Rehman, 20042080, BIS Analysis and Design Page 5 of 12 Activity 11.2: Database Design Exercise using the ABC Case Study 2.2 Sa!es"erson Detai!s Primar!#Forei)n -e!s Name Field Name 'ata T!pe Field Si.e /alidation +ules Primar! -e! Salesperson No. SalespersonNo Number 52 Mandator! NA Salesperson First Name SalespersonFirstName Text 12 Mandator! NA Salesperson Middle Name SalespersonMiddleName Text 12 NA Salesperson Surname SalespersonSurname Text 12 Mandator! NA Salesperson Title SalespersonTitle Text 522 Mandator! NA 'ate of (oinin) 'ateof(oinin) 'ate#Time 52 Mandator!4 dd#mm#!!!! NA Sales *uota Sales*uota Number 522222 Mandator!4 <522222 NA Bonus#%ncenti&es Bonus#%ncenti&es Number 1 Mandator!4 <522222 NA Sales Order SalesOrder Text 522 NA Sales "ocation Sales"ocation O" Ob6ect7 +A- 9A* A6man Shar6ah Fu6airah 'ubai A' Al Ain 8 +estricted "ist NA Telephone No. TelephoneNo. Number 3 Mandator!4 office and home landline NA Fax No. FaxNo. Number 3 Mandator!4 office facsimile NA Mobile No. MobileNo. Number 52 Mandator!4 business Zubaidah Abdul Rehman, 20042080, BIS Analysis and Design Page 6 of 12 Activity 11.2: Database Design Exercise using the ABC Case Study number of personal number in absence of business number NA mail 5 mail Text 522 Mandator!4 office email address NA mail 8 mail Text 522 Optional4 personal email address 2.# Sa!es $rder %eader Detai!s Primar!#Forei)n -e!s Name Field Name 'ata T!pe Field Si.e /alidation +ules Primar! -e! Sales Header No. SalesHeaderNo Number 58 Mandator! NA Order 'ate Order'ate 'ate#Time 52 Mandator!4 dd#mm#!!!! NA +e,uired 'ate +e,uired'ate 'ate#Time 52 Mandator!4 dd#mm#!!!! NA Sales 'eli&er! Schedule Sales'eli&er!Schedule 'ate#Time 52 Mandator!4 dd#mm#!!!! Forei)n -e! %tem # Product No. ProductNo Number 58 Mandator! Forei)n -e! Customer No. CustomerNo Number 0 Mandator! NA Pa!ment Method Pa!mentMethod O" Ob6ect7 Cash Che,ue 8 +estricted "ist 2.& Sa!es $rder 'ine Detai!s Primar!#Forei)n Name Field Name 'ata Field /alidation +ules Zubaidah Abdul Rehman, 20042080, BIS Analysis and Design Page 7 of 12 Activity 11.2: Database Design Exercise using the ABC Case Study -e!s T!pe Si.e Primar! -e! Sales "ine No. Sales"ineNo Number 58 Mandator! Forei)n -e! Sales Header No. SalesHeaderNo Number 58 Mandator! Forei)n -e! %tem # Product No. ProductNo Number 58 Mandator! NA %tem # Product Price ProductPrice Currenc! 52.= to 333333333.3333 Mandator! NA *uantit! *uantit! Number 8 Mandator!4 more than 33 should be separate order due to shipment limitations NA 'iscount 'iscount :es#No 5 Mandator!4 purchase of e&er! 52222 allot 8; discount NA Total Pa!ment TotalPa!ment Currenc! 52.= to 333333333.3333 Mandator! NA Sales %n&oice Sales%n&oice Number 0 Mandator!4 if customer re,uests to send in&oice of order 2.( )te * +roduct Detai!s Primar!# Forei)n -e!s Name Field Name 'ata T!pe Field Si.e /alidation +ules Primar! -e! %tem # Product No. ProductNo Number 51 Mandator! NA %tem # Product Name ProductName Text 522 Mandator! NA %tem # Product 'escription Product'escription Text 5222 Mandator! NA %tem # Product Cost ProductCost Currenc! 52.= to Mandator! Zubaidah Abdul Rehman, 20042080, BIS Analysis and Design Page 8 of 12 Activity 11.2: Database Design Exercise using the ABC Case Study 333333333.3333 NA %tem # Product Price ProductPrice Currenc! 52.= to 333333333.3333 Mandator! NA 'iscount 'iscount :es#No 5 Mandator!4 purchase of e&er! 52222 allot 8; discount Zubaidah Abdul Rehman, 20042080, BIS Analysis and Design Page 9 of 12 Activity 11.2: Database Design Exercise using the ABC Case Study Question #) +!anning for .ai!ed -ransactions There >ill be losses incurrin) durin) the e&ent of transactions failure. An! B%S anal!sis and desi)n should in&ol&e plannin) for reco&er! the loss and failure of data b! $eepin) record of it that is retrie&al >ith bac$up facilities. The plannin) and methods identification >ill be ta$in) place in the desi)n phase. Such methods and steps for reco&erin) the failed transaction due to po>er failure? soft>are bu) or &irus attac$ >ill allo> minimi.in) and a&oidin) loss of data that mi)ht on financial and or)ani.ation status and reputation. Question &) /eferentia! )ntegrity @hen there are similar contents? it >ill be affectin) different sources causin) &iolation of referential inte)rit!. Therefore? the desi)n of the database should be >ith identification of potential referential inte)rit! problems and such detection >ill allo> a&oidin) incompleteness or inconsistenc!. This is >ith all relationship that is in meanin) and not null forei)n $e! &alues. %n cascadin) delete? it should be to a&oid deletion of re,uired and related child record >hen parent record deleted sho>n in fi)ure 5. Therefore? the selection based on database desi)n >ill be chec$in) or unchec$in) it. On the other hand? it >ill be similar case for cascade updates. The impact >ill be on record >hen updatin) primar! $e! in parent record >ill be updatin) and affectin) all other record sho>in) as forei)n $e!. Fi)ure 57 Cascade in dit +elationships Zubaidah Abdul Rehman, 20042080, BIS Analysis and Design Page 10 of 12 Activity 11.2: Database Design Exercise using the ABC Case Study Question () Design to Safeguard Against 0edia1 +o2er .ai!ure or %ard2are Safe)uardin) is necessar! >ith bac$up strate)! >hen there are cases and e&ents of failure or disruption. This is to enable continuation of transactions rather than holdin) or dela!in) it due to disruption e&ent. %t is part of desi)n decision to ha&e multiple points of retrie&in) and restorin) data of the da! before >hen there is disruption. Therefore? >hen there is disruption? the bac$up strate)! >ill enable and ensure restorin) the data to continue transactions and >or$in). This applies to bac$up po>er suppl! too Aextra )enerators operatin) >ithin 1 minutes of po>er failureB not 6ust data because there is no point for restorin) data >hen there is no po>er suppl!. The decision for bac$up strate)! >ill be ta$in) place after testin) >hether it >ill be >or$in) successfull! usin) faultCtolerant ser&er. %t is to ma$e sure that bac$up desi)ned and planned should be dependable and reliable that >ill be definitel! >or$in). Such desi)n basis >ill be includin) archi&in) fre,uenc! from particular data amount to another. Question 3) /e"!ication +eplication allo>s maintainin) cop! of fra)ment at &arious different sites such as storin) of data for impro&in) the a&ailabilit! of data accessible from different sites? >hich mi)ht be full or partial replication. 'ependin) upon the amount of data? number of sites and location of sites such distribution of data and duplication done b! database &endors at &ar!in) price and tas$s. %t is allo>in) user mobilit! for data sharin) and communication? database reco&er!? anal!tic and transaction processin)? etc. >ith potential multiple database &endors for handlin) and distributin) it effecti&el!. Zubaidah Abdul Rehman, 20042080, BIS Analysis and Design Page 11 of 12 Activity 11.2: Database Design Exercise using the ABC Case Study Question 4) Database Si5ing Capacit! plannin) done is prior to installation of database >here en)ineer >ill be chec$in) the si.e of the database and capacit! of their ser&er to install it. The s!stem >ill be affected if database installed is not tolerable and ta$in) too much space b! ma$in) it slo> or do>n due to insufficient space. Question 6) Data 0igration The plannin) ta$es place in desi)n phase to mi)ration occurrin) in build phase. The ineffecti&e plannin) >ill result in poor data mi)ration b! missin) important data sources. The assessment >ill be includin) assessin) old s!stem and ne> s!stem for transfer of data. The addin) of data to the database is populatin) the database. There >ill be need for careful plannin) for data mi)ration before actuall! conductin) it. Zubaidah Abdul Rehman, 20042080, BIS Analysis and Design Page 12 of 12
Goal Setting for Entrepreneurship: The Beginners Guide for Setting Up a Business Plan, Achieving Your Business Goals, and Developing a Successful Entrepreneur Mindset
O Wandering Mind! (Rediscover Yourself....Find Your True-Self...)....Helps You To Re-Discover Your Self-Esteem,Self-Believe,Self-Confidence,Self-Reliance,Courage,Dreams,Happiness & Success.