SlideShare a Scribd company logo
Part A:
Ans 1. Differentlevelsatwhichdatabase backupscan be performed:
Full Database Backup:The firsttype database backupthatalmosteveryone isfamiliarwithisafull
backup.Whena full database backupistaken,thenall data files,file groups,andtransactionlogsare
backedup.A full database backupprovidesthe abilitytorestore the database tothe state that it
was at the time of the backup.
File GroupBackup: Everydatabase will have aprimaryfile groupwhichwill containthe primarydata
file.Considerafile groupafolderthatcan containzeroto manydata files.Tablesandindexesare
createdon file groupsandthe file grouphasdata filesthatthese objectsare thenstoredon.
File Backup: Every SQL Serverdatabase will containaminimumof one datafile,whichhasadefault
file extensionof “.mdf”anda logfile,whichhasan extensionof “.ldf“.The primarydatafile contains
all of the systemobjectsof thatdatabase and can containuserdefinedobjects.Additional files can
be addedto file groups,againtodistribute diskIOorto provide agranular meansof backupand
recovery.
Differential Backup: A differential backupbacksupall changesinthe database since the lastFULL
backup.If a full database backuphasnot beentaken,thenthe differentialwillfail.Keepinmindthat
the differential backuprecordsall changessince the lastFULLbackup soif a full backupistakenat
midnightanda differentialistakenat0100, 0200, 0300, and 0400, the differentialbackup takenat
0400 will containeverythingthatthe 0100, 0200, and 0300 have.
Transaction Log Backup: A transactionlogbackupbacks upthe active portionof the transactionlog.
The database recoverymodel mustbe setto full orbulkloggedanda full,file, orfile groupbackup
mustfirsthave beentaken.Afteratransactionlogbackup istaken,the transactionlogwill be
truncated.
Tail Log Backup: The tail logbackupis a transactionlogbackup,HOWEVER it isthe backup of the
transactionlogthat istakenbefore beginningthe restorationprocess.The syntax isidentical toa
transactionlogbackup,exceptthe clause WITH NORECOVERYisaddedthattellsSQLthat the
database isabout to be restored.
Copy OnlyBackup: A copy onlybackupisa full database backupEXCEPTthat IT isindependentof
the sequence of conventional SQLServerbackups.Usually,takingabackupchangesthe database
and affectshowlaterbackupsare restored.
Database Locks During Backups: Thisisa myth.SQL doesnotplace any lockson the database during
a backup.This misconceptionmostoftenarisesbecauseyoumaysee degradationinperformance
duringa backup.This isdue to diskIO,the readingof the filesandwritingtothe backupfiles,and
not due to locking.
Ans 2. Havinga perfectlyfittingdatabase managementsystem(DBMS) isakeycomponentfor
today’sbusinesssuccess.The DBMSmanagesthe interactionbetweenyourapplicationsandthe
underlyingdatabase.Itassuresthatthe correct data isavailable forthe requesteduser groupwhen
needed.WhenchoosingaDBMS fromthe varietyof conceptsand vendors,youshouldconsiderthe
followingpointsbefore makingadecision.
Data Model:For a longtime,the relational conceptwasdominant,howeverrecentlyNoSQL
databaseshave againbecome more successful.Relational vs.NoSQLisbasedonyourindividual
needsandtheirmainadvantage isthe data structure itself.Todecide onwhichmodel worksbestfor
you,youshouldask yourself:Doyouhave a data structure whichyoucan easily reflectinarelational
model ordo youneedto workwithunstructureddata?How doyou retrieve andworkwiththe
data? For example,analysisof hierarchical datainsequential filesisfasterinaNoSQL database then
ina relational one.Sincerelational databaseshave alonghistory,youfindalotof commercial
RDBMS (relationalDBMS),whereasNoSQLdatabasesare oftenavailableasopensource.
Data Consistency:Nowadays,collectingdataisnota big effortanymore.But,keepingthe data
consistentbecomesevenmore importantasmore sourcesfeedintothe database.Therefore,
consistencyrulesare veryimportantandthe abilitytodefinethese shouldbe consideredwhen
choosinga newDBMS.
Data Security: For mostcompanies,dataavailabilityisakey businesssuccessfactorandshouldbe
guaranteedatall times.The abilitytobackupand restore the databasesisessentialandneedstobe
possible withyourchosenDBMS.IT Administratorsshouldsetupaframeworkanda management
planfor data security andensure aslittle downtime aspossible.
Data Protection:Accessprotectionandencryptionshouldallow protectionof personal data.Every
DBMS provide differentmethodsof protectthe datathroughencryption,butthe possibilityto
define routinesand accessrightsisdifferentforeverysystem.The methodof dataprotection
dependsonthe structure of data and shouldbe carefullyconsideredduringthe evaluationprocess
of a DBMS.
Multi Access and Integration: Settingupa DBMS, runningitand extendingitforfuture growth,
requiresenoughflexibilitytoallowintegrationintothe givenITinfrastructure.Furthermore,the
DBMS needstoallowconcurrentaccessesbymultiple users.Synchronizationandintegrationwith
othertoolsare essentialforsmoothworkflows.
Efficiency:Whenwe talkaboutthe efficiencyof DBMS,we usuallymeanthe response time.Youwill
findonpremise andcloudsolutionsavailableonthe market.DependingonyourownIT
infrastructure,acloudbasedsolutioncanhave certaindisadvantages,asyourelyonnetwork
servicesandlatenciesof networkproviders.Onthe otherside,cloudcomputingcanprovide more
and betterresourcescomparedtoyouron premise infrastructure,asefficiencyisalsorelatedto
scalability.Make sure yourDBMS of choice can scale to yourneeds.
Usability:Differentusergroupswill be workingwiththe DBMS.There are the administrators,ITand
Database admins,applicationintegratorsanddataconsumers.All these differentrolesneedan
easilyunderstandablequerylanguageandintuitive UItouse the DBMS systemefficiently.The easier
it isfor the userto workwiththe DBMS, the lowerthe costwill be forpeople.
ImplementationandService Costs: The modifiabilityandavailabilityof supportanddocumentation
needstobe takenintoconsiderationaspart of the implementationandTotal Costof Ownership
(TCO).Developmentneedsmustalwaysbe included,asDatabase ManagementSystemsneedtobe
shapedtothe individual company’sneed.A clearoverview of theseneedsandcostswill helpto
choose the righttool.Vendororcommunitysupportas well ascomprehensivedocumentationwill
save youtime and money.
Ans 3. Logical designisthe secondstage inthe database designprocess.The logical designgoal isto
designanenterprise-widedatabase basedonaspecificdatamodel butindependentof physical-
level details.Logical designrequiresthatall objectsinthe conceptual model be mappedtothe
specificconstructsusedbythe selecteddatabase model.Forexample,the logical designfora
relational DBMSincludesthe specificationsforthe relations(tables),relationships,andconstraints
(i.e.,domaindefinitions,datavalidations,andsecurityviews).
The logical designisgenerallyperformedinfoursteps,whichare asfollows.
1. Map the Conceptual Model to the Logical Model: The firststepincreatingthe logical designisto
map the conceptual model tothe chosendatabase constructs.Logical designgenerallyinvolves
translatingthe ER model intoaset of relations(tables),columns,andconstraintsdefinitions.The
processof translatingthe conceptual model intoasetof relationsisdepictedasfollows.
 Map strongentities
 Map supertype/subtyperelationships
 Map weakentities
 Map binaryrelationships
 Map higherdegree relationships
2. Validate the Logical Model UsingNormalization: The logical designshouldcontainonlyproperly
normalizedtables.The processof mappingthe conceptual modelto the logical model mayunveil
some newattributesorthe discoveryof new multivaluedorcomposite attributes.Therefore,it’s
verylikelythatnewattributesmaybe addedtotablesorentire new tablesaddedtothe logical
model.Foreachidentifiedtable (oldandnew),youmustensure thatall attributesare fully
dependentonthe identifiedprimarykeyandthatthe tablesare in at leastthirdnormal form(3NF).
3. Validate Logical Model IntegrityConstraints: The translationof the conceptual model intoa
logical model alsorequiresthe definitionof the attribute domainsandappropriate constraints.For
example,the domaindefinitionsforthe CLASS_CODE,CLASS_DAYS,andCLASS_TIME attributesof
the CLASS entityare writtenthisway:
CLASS_CODEis a validclasscode.
Type:numeric
Range:lowvalue = 1000 highvalue = 9999
Displayformat:9999
Length:4
CLASS_DAYSisa validdaycode.
Type:character
Displayformat:XXX
Validentries:MWF,TTh, M, T, W, Th,F, S
Length:3
CLASS_TIME is a validtime.
Type:character
Displayformat:99:99 (24-hour clock)
Displayrange:06:00 to 22:00
Length:5
4. Validate the Logical Model against User Requirements: The logical designtranslatesthe
software-independentconceptualmodelintoasoftware-dependentmodel.The finalstepinthe
logical designprocessistovalidate all logical model definitionsagainstall end-userdata,transaction,
and securityrequirements.The stage isnow setto define the physical requirementsthatallow the
systemtofunctionwithinthe selectedDBMS/hardware environment.
Ans 4. CentralizedDatabase Design: For a small organizationandlimitedscope of operations,the
database maybe small intermsof data. Therefore,the database designmaybe relativelysimpleand
can be easilydone byone groupof designerorevenasingle person.Thisiscalledcentralizeddesign
of database.The designercanstudythe systemprocesses,identifythe constraints,andcreate
conceptual schema,whereasthe userscanverifyittoensure thatthe database meetstheirneeds
and processingrequirements.
DecentralizedDatabase Design:Whenthe database studyrevealsthatthe resultingdatabase isfor
the ‘whole organizationsandthatit haslarge numberof entitiesandcomplex relationsonwhich
verycomplex operationsare performed,thenthe database designmaybe undertakenbydivisionof
work.Here it may be suitable tostudyanddesignconceptual schemaforeachdepartmentor
functionforwhichthe database isto be designed.The database designprojectmaybe thoughtof as
one large projectsubdividedintosmallermodules,and eachmodule isdesignedbyagroup of
people.
Each module isinitself asystemandmustmeetthe systemrequirementsasawhole.These modules
whenintegratedtoforma single database mustmeetthe processingrequirements.Thisiscalled
decentralizeddesignapproach.Thisapproachisalsosuitable whenthe database designisspread
across several operational sites,andeachelementisasubsetof the entire dataset.
Part B:
Ans1. (1) a.
b.
c. There are 4 relationsin the "TAL_Distributors" database.
d.
Name of the
relation/Table
No of attributes Namesof the attributes
1. Customer 9 CustomerNum,
CustomerName,
Street,
City,
State,
PostalCode,
Balance,
CreditLimit,
RepNum
2. Item 6 ItemNum,
Description,
OnHand,
Category,
Storehouse,
Price
3. OrderLine 4 OrderNum,
ItemNum,
NumOrdered,
QuotedPrice
4. Orders 3 OredrNum,
OrderDate,
CustomerNum
5. Rep 9 RepNum,
LastName,
FirstName,
Street,
City,
State,
PostalCode,
Commission,
Rate
(2) a.
b.
Name of the
relation/Table
No of
attributes
Namesof the
attributes
PrimaryKey
1. Customer 9 CustomerNum,
CustomerName,
Street,
City,
State,
PostalCode,
Balance,
CreditLimit,
RepNum
CustomerNum
2. Item 6 ItemNum,
Description,
OnHand,
Category,
Storehouse,
Price
ItemNum
3. OrderLine 4 OrderNum,
ItemNum,
NumOrdered,
QuotedPrice
OrderNum,
ItemNum
4. Orders 3 OredrNum,
OrderDate,
CustomerNum
OredrNum
5. Rep 9 RepNum,
LastName,
FirstName,
Street,
City,
State,
PostalCode,
Commission,
Rate
RepNum
c.
d.
e.
(3) 1.
a.
SELECT *
FROMCustomer
b.
SELECT *
FROMItem
c.
SELECT Customer.CustomerNum,Customer.CustomerName
FROMCustomer;
d.
SELECT Customer.CustomerNum,Customer.CustomerName,Customer.RepNum
FROMCustomer
WHERE (((Customer.RepNum)="15"));
e.
SELECT Customer.CustomerNum,Customer.CustomerName, Customer.RepNum,
Customer.CreditLimit
FROMCustomer
WHERE (((Customer.RepNum)="15") AND((Customer.CreditLimit)=10000));
Ans. 2
Academic.accdb

More Related Content

What's hot

A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQLA STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
ijscai
 
Data models
Data modelsData models
Deductive Databases
Deductive DatabasesDeductive Databases
Deductive Databases
Maroun Baydoun
 
Assign 1
Assign 1Assign 1
Assign 1
guestffcfdd
 
Advanced Database System
Advanced Database SystemAdvanced Database System
Advanced Database System
sushmita rathour
 
SWL 8
SWL 8SWL 8
SWL 8
dmhall
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
Pradnya Saval
 
Database management system
Database management systemDatabase management system
Database management system
edudivya
 
Dbms Lecture Notes
Dbms Lecture NotesDbms Lecture Notes
Dbms Lecture Notes
dM Technologies
 
Technical Note on DBMS
Technical Note on DBMSTechnical Note on DBMS
Technical Note on DBMS
Kr Shrishant
 
Database management systems
Database management systemsDatabase management systems
Database management systems
Ravindra Singh Gohil
 
Database management system chapter1
Database management system chapter1Database management system chapter1
Database management system chapter1
Pranab Dasgupta
 
5 data resource management
5 data resource management5 data resource management
5 data resource management
Nymphea Saraf
 
Ict713 t320-t7-dl-20 oct2020
Ict713 t320-t7-dl-20 oct2020Ict713 t320-t7-dl-20 oct2020
Ict713 t320-t7-dl-20 oct2020
NidhiGupta8431
 
Importance of data model
Importance of data modelImportance of data model
Importance of data model
yhen06
 
Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentals
LAILA ARZUMAN ARA
 

What's hot (16)

A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQLA STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
 
Data models
Data modelsData models
Data models
 
Deductive Databases
Deductive DatabasesDeductive Databases
Deductive Databases
 
Assign 1
Assign 1Assign 1
Assign 1
 
Advanced Database System
Advanced Database SystemAdvanced Database System
Advanced Database System
 
SWL 8
SWL 8SWL 8
SWL 8
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Database management system
Database management systemDatabase management system
Database management system
 
Dbms Lecture Notes
Dbms Lecture NotesDbms Lecture Notes
Dbms Lecture Notes
 
Technical Note on DBMS
Technical Note on DBMSTechnical Note on DBMS
Technical Note on DBMS
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
Database management system chapter1
Database management system chapter1Database management system chapter1
Database management system chapter1
 
5 data resource management
5 data resource management5 data resource management
5 data resource management
 
Ict713 t320-t7-dl-20 oct2020
Ict713 t320-t7-dl-20 oct2020Ict713 t320-t7-dl-20 oct2020
Ict713 t320-t7-dl-20 oct2020
 
Importance of data model
Importance of data modelImportance of data model
Importance of data model
 
Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentals
 

Similar to T3

NOSQL and MongoDB Database
NOSQL and MongoDB DatabaseNOSQL and MongoDB Database
NOSQL and MongoDB Database
Tariqul islam
 
2.Introduction to NOSQL (Core concepts).pptx
2.Introduction to NOSQL (Core concepts).pptx2.Introduction to NOSQL (Core concepts).pptx
2.Introduction to NOSQL (Core concepts).pptx
RushikeshChikane2
 
No sq lv2
No sq lv2No sq lv2
No sq lv2
Nusrat Sharmin
 
Datastores
DatastoresDatastores
Datastores
Raveen Vijayan
 
Nosql databases
Nosql databasesNosql databases
Nosql databases
ateeq ateeq
 
Database Management Systems.ppt
Database Management Systems.pptDatabase Management Systems.ppt
Database Management Systems.ppt
tahakhan699813
 
Deep semantic understanding
Deep semantic understandingDeep semantic understanding
Deep semantic understanding
sidra ali
 
Know what is NOSQL
Know what is NOSQL Know what is NOSQL
Know what is NOSQL
Prasoon Sharma
 
data base system to new data science lerne
data base system to new data science lernedata base system to new data science lerne
data base system to new data science lerne
tarunprajapati0t
 
HYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENT
HYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENTHYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENT
HYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENT
IJCSEA Journal
 
HYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENT
HYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENTHYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENT
HYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENT
IJCSEA Journal
 
Data management in cloud study of existing systems and future opportunities
Data management in cloud study of existing systems and future opportunitiesData management in cloud study of existing systems and future opportunities
Data management in cloud study of existing systems and future opportunities
Editor Jacotech
 
Nosql
NosqlNosql
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptxDATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
Laxmi Pandya
 
nosql.pptx
nosql.pptxnosql.pptx
nosql.pptx
Prakash Zodge
 
No sql database
No sql databaseNo sql database
No sql database
vishal gupta
 
NoSQL - A Closer Look to Couchbase
NoSQL - A Closer Look to CouchbaseNoSQL - A Closer Look to Couchbase
NoSQL - A Closer Look to Couchbase
Mohammad Shaker
 
Presentation on NoSQL Database related RDBMS
Presentation on NoSQL Database related RDBMSPresentation on NoSQL Database related RDBMS
Presentation on NoSQL Database related RDBMS
abdurrobsoyon
 
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQLA STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
ijscai
 
A Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQLA Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQL
IJSCAI Journal
 

Similar to T3 (20)

NOSQL and MongoDB Database
NOSQL and MongoDB DatabaseNOSQL and MongoDB Database
NOSQL and MongoDB Database
 
2.Introduction to NOSQL (Core concepts).pptx
2.Introduction to NOSQL (Core concepts).pptx2.Introduction to NOSQL (Core concepts).pptx
2.Introduction to NOSQL (Core concepts).pptx
 
No sq lv2
No sq lv2No sq lv2
No sq lv2
 
Datastores
DatastoresDatastores
Datastores
 
Nosql databases
Nosql databasesNosql databases
Nosql databases
 
Database Management Systems.ppt
Database Management Systems.pptDatabase Management Systems.ppt
Database Management Systems.ppt
 
Deep semantic understanding
Deep semantic understandingDeep semantic understanding
Deep semantic understanding
 
Know what is NOSQL
Know what is NOSQL Know what is NOSQL
Know what is NOSQL
 
data base system to new data science lerne
data base system to new data science lernedata base system to new data science lerne
data base system to new data science lerne
 
HYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENT
HYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENTHYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENT
HYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENT
 
HYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENT
HYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENTHYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENT
HYBRID DATABASE SYSTEM FOR BIG DATA STORAGE AND MANAGEMENT
 
Data management in cloud study of existing systems and future opportunities
Data management in cloud study of existing systems and future opportunitiesData management in cloud study of existing systems and future opportunities
Data management in cloud study of existing systems and future opportunities
 
Nosql
NosqlNosql
Nosql
 
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptxDATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
 
nosql.pptx
nosql.pptxnosql.pptx
nosql.pptx
 
No sql database
No sql databaseNo sql database
No sql database
 
NoSQL - A Closer Look to Couchbase
NoSQL - A Closer Look to CouchbaseNoSQL - A Closer Look to Couchbase
NoSQL - A Closer Look to Couchbase
 
Presentation on NoSQL Database related RDBMS
Presentation on NoSQL Database related RDBMSPresentation on NoSQL Database related RDBMS
Presentation on NoSQL Database related RDBMS
 
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQLA STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
 
A Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQLA Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQL
 

More from NidhiGupta8431

T6
T6T6
T4
T4T4
T 8-gurjinder
T 8-gurjinderT 8-gurjinder
T 8-gurjinder
NidhiGupta8431
 
T10
T10T10
Week 9.docx
Week 9.docxWeek 9.docx
Week 9.docx
NidhiGupta8431
 
T1
T1T1
Individual log file_3_shayan_.docx
Individual log file_3_shayan_.docxIndividual log file_3_shayan_.docx
Individual log file_3_shayan_.docx
NidhiGupta8431
 
Ict713 t320-t10-dl-08 dec2020
Ict713 t320-t10-dl-08 dec2020Ict713 t320-t10-dl-08 dec2020
Ict713 t320-t10-dl-08 dec2020
NidhiGupta8431
 

More from NidhiGupta8431 (8)

T6
T6T6
T6
 
T4
T4T4
T4
 
T 8-gurjinder
T 8-gurjinderT 8-gurjinder
T 8-gurjinder
 
T10
T10T10
T10
 
Week 9.docx
Week 9.docxWeek 9.docx
Week 9.docx
 
T1
T1T1
T1
 
Individual log file_3_shayan_.docx
Individual log file_3_shayan_.docxIndividual log file_3_shayan_.docx
Individual log file_3_shayan_.docx
 
Ict713 t320-t10-dl-08 dec2020
Ict713 t320-t10-dl-08 dec2020Ict713 t320-t10-dl-08 dec2020
Ict713 t320-t10-dl-08 dec2020
 

Recently uploaded

Learnings from Successful Jobs Searchers
Learnings from Successful Jobs SearchersLearnings from Successful Jobs Searchers
Learnings from Successful Jobs Searchers
Bruce Bennett
 
Job Finding Apps Everything You Need to Know in 2024
Job Finding Apps Everything You Need to Know in 2024Job Finding Apps Everything You Need to Know in 2024
Job Finding Apps Everything You Need to Know in 2024
SnapJob
 
Introducing Gopay Mobile App For Environment.pptx
Introducing Gopay Mobile App For Environment.pptxIntroducing Gopay Mobile App For Environment.pptx
Introducing Gopay Mobile App For Environment.pptx
FauzanHarits1
 
一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理
一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理
一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理
taqyea
 
Tape Measure Training & Practice Assessments.pdf
Tape Measure Training & Practice Assessments.pdfTape Measure Training & Practice Assessments.pdf
Tape Measure Training & Practice Assessments.pdf
KateRobinson68
 
lab.123456789123456789123456789123456789
lab.123456789123456789123456789123456789lab.123456789123456789123456789123456789
lab.123456789123456789123456789123456789
Ghh
 
thyroid case presentation.pptx Kamala's Lakshaman palatial
thyroid case presentation.pptx Kamala's Lakshaman palatialthyroid case presentation.pptx Kamala's Lakshaman palatial
thyroid case presentation.pptx Kamala's Lakshaman palatial
Aditya Raghav
 
Switching Careers Slides - JoyceMSullivan SocMediaFin - 2024Jun11.pdf
Switching Careers Slides - JoyceMSullivan SocMediaFin -  2024Jun11.pdfSwitching Careers Slides - JoyceMSullivan SocMediaFin -  2024Jun11.pdf
Switching Careers Slides - JoyceMSullivan SocMediaFin - 2024Jun11.pdf
SocMediaFin - Joyce Sullivan
 
BUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAAN
BUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAANBUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAAN
BUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAAN
cahgading001
 
Lbs last rank 2023 9988kr47h4744j445.pdf
Lbs last rank 2023 9988kr47h4744j445.pdfLbs last rank 2023 9988kr47h4744j445.pdf
Lbs last rank 2023 9988kr47h4744j445.pdf
ashiquepa3
 
Resumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying OnlineResumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying Online
Bruce Bennett
 
Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...
Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...
Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...
dsnow9802
 
官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样
官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样
官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样
2zjra9bn
 
A Guide to a Winning Interview June 2024
A Guide to a Winning Interview June 2024A Guide to a Winning Interview June 2024
A Guide to a Winning Interview June 2024
Bruce Bennett
 
Status of Women in Pakistan.pptxStatus of Women in Pakistan.pptx
Status of Women in Pakistan.pptxStatus of Women in Pakistan.pptxStatus of Women in Pakistan.pptxStatus of Women in Pakistan.pptx
Status of Women in Pakistan.pptxStatus of Women in Pakistan.pptx
MuhammadWaqasBaloch1
 
在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样
在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样
在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样
2zjra9bn
 
Leave-rules.ppt CCS leave rules 1972 for central govt employees
Leave-rules.ppt CCS leave rules 1972 for central govt employeesLeave-rules.ppt CCS leave rules 1972 for central govt employees
Leave-rules.ppt CCS leave rules 1972 for central govt employees
Sreenivas702647
 
labb123456789123456789123456789123456789
labb123456789123456789123456789123456789labb123456789123456789123456789123456789
labb123456789123456789123456789123456789
Ghh
 
How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?
How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?
How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?
NWEXAM
 
0624.speakingengagementsandteaching-01.pdf
0624.speakingengagementsandteaching-01.pdf0624.speakingengagementsandteaching-01.pdf
0624.speakingengagementsandteaching-01.pdf
Thomas GIRARD BDes
 

Recently uploaded (20)

Learnings from Successful Jobs Searchers
Learnings from Successful Jobs SearchersLearnings from Successful Jobs Searchers
Learnings from Successful Jobs Searchers
 
Job Finding Apps Everything You Need to Know in 2024
Job Finding Apps Everything You Need to Know in 2024Job Finding Apps Everything You Need to Know in 2024
Job Finding Apps Everything You Need to Know in 2024
 
Introducing Gopay Mobile App For Environment.pptx
Introducing Gopay Mobile App For Environment.pptxIntroducing Gopay Mobile App For Environment.pptx
Introducing Gopay Mobile App For Environment.pptx
 
一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理
一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理
一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理
 
Tape Measure Training & Practice Assessments.pdf
Tape Measure Training & Practice Assessments.pdfTape Measure Training & Practice Assessments.pdf
Tape Measure Training & Practice Assessments.pdf
 
lab.123456789123456789123456789123456789
lab.123456789123456789123456789123456789lab.123456789123456789123456789123456789
lab.123456789123456789123456789123456789
 
thyroid case presentation.pptx Kamala's Lakshaman palatial
thyroid case presentation.pptx Kamala's Lakshaman palatialthyroid case presentation.pptx Kamala's Lakshaman palatial
thyroid case presentation.pptx Kamala's Lakshaman palatial
 
Switching Careers Slides - JoyceMSullivan SocMediaFin - 2024Jun11.pdf
Switching Careers Slides - JoyceMSullivan SocMediaFin -  2024Jun11.pdfSwitching Careers Slides - JoyceMSullivan SocMediaFin -  2024Jun11.pdf
Switching Careers Slides - JoyceMSullivan SocMediaFin - 2024Jun11.pdf
 
BUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAAN
BUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAANBUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAAN
BUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAAN
 
Lbs last rank 2023 9988kr47h4744j445.pdf
Lbs last rank 2023 9988kr47h4744j445.pdfLbs last rank 2023 9988kr47h4744j445.pdf
Lbs last rank 2023 9988kr47h4744j445.pdf
 
Resumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying OnlineResumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying Online
 
Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...
Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...
Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...
 
官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样
官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样
官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样
 
A Guide to a Winning Interview June 2024
A Guide to a Winning Interview June 2024A Guide to a Winning Interview June 2024
A Guide to a Winning Interview June 2024
 
Status of Women in Pakistan.pptxStatus of Women in Pakistan.pptx
Status of Women in Pakistan.pptxStatus of Women in Pakistan.pptxStatus of Women in Pakistan.pptxStatus of Women in Pakistan.pptx
Status of Women in Pakistan.pptxStatus of Women in Pakistan.pptx
 
在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样
在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样
在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样
 
Leave-rules.ppt CCS leave rules 1972 for central govt employees
Leave-rules.ppt CCS leave rules 1972 for central govt employeesLeave-rules.ppt CCS leave rules 1972 for central govt employees
Leave-rules.ppt CCS leave rules 1972 for central govt employees
 
labb123456789123456789123456789123456789
labb123456789123456789123456789123456789labb123456789123456789123456789123456789
labb123456789123456789123456789123456789
 
How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?
How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?
How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?
 
0624.speakingengagementsandteaching-01.pdf
0624.speakingengagementsandteaching-01.pdf0624.speakingengagementsandteaching-01.pdf
0624.speakingengagementsandteaching-01.pdf
 

T3

  • 1. Part A: Ans 1. Differentlevelsatwhichdatabase backupscan be performed: Full Database Backup:The firsttype database backupthatalmosteveryone isfamiliarwithisafull backup.Whena full database backupistaken,thenall data files,file groups,andtransactionlogsare backedup.A full database backupprovidesthe abilitytorestore the database tothe state that it was at the time of the backup. File GroupBackup: Everydatabase will have aprimaryfile groupwhichwill containthe primarydata file.Considerafile groupafolderthatcan containzeroto manydata files.Tablesandindexesare createdon file groupsandthe file grouphasdata filesthatthese objectsare thenstoredon. File Backup: Every SQL Serverdatabase will containaminimumof one datafile,whichhasadefault file extensionof “.mdf”anda logfile,whichhasan extensionof “.ldf“.The primarydatafile contains all of the systemobjectsof thatdatabase and can containuserdefinedobjects.Additional files can be addedto file groups,againtodistribute diskIOorto provide agranular meansof backupand recovery. Differential Backup: A differential backupbacksupall changesinthe database since the lastFULL backup.If a full database backuphasnot beentaken,thenthe differentialwillfail.Keepinmindthat the differential backuprecordsall changessince the lastFULLbackup soif a full backupistakenat midnightanda differentialistakenat0100, 0200, 0300, and 0400, the differentialbackup takenat 0400 will containeverythingthatthe 0100, 0200, and 0300 have. Transaction Log Backup: A transactionlogbackupbacks upthe active portionof the transactionlog. The database recoverymodel mustbe setto full orbulkloggedanda full,file, orfile groupbackup mustfirsthave beentaken.Afteratransactionlogbackup istaken,the transactionlogwill be truncated. Tail Log Backup: The tail logbackupis a transactionlogbackup,HOWEVER it isthe backup of the transactionlogthat istakenbefore beginningthe restorationprocess.The syntax isidentical toa transactionlogbackup,exceptthe clause WITH NORECOVERYisaddedthattellsSQLthat the database isabout to be restored. Copy OnlyBackup: A copy onlybackupisa full database backupEXCEPTthat IT isindependentof the sequence of conventional SQLServerbackups.Usually,takingabackupchangesthe database and affectshowlaterbackupsare restored. Database Locks During Backups: Thisisa myth.SQL doesnotplace any lockson the database during a backup.This misconceptionmostoftenarisesbecauseyoumaysee degradationinperformance duringa backup.This isdue to diskIO,the readingof the filesandwritingtothe backupfiles,and not due to locking. Ans 2. Havinga perfectlyfittingdatabase managementsystem(DBMS) isakeycomponentfor today’sbusinesssuccess.The DBMSmanagesthe interactionbetweenyourapplicationsandthe underlyingdatabase.Itassuresthatthe correct data isavailable forthe requesteduser groupwhen needed.WhenchoosingaDBMS fromthe varietyof conceptsand vendors,youshouldconsiderthe followingpointsbefore makingadecision.
  • 2. Data Model:For a longtime,the relational conceptwasdominant,howeverrecentlyNoSQL databaseshave againbecome more successful.Relational vs.NoSQLisbasedonyourindividual needsandtheirmainadvantage isthe data structure itself.Todecide onwhichmodel worksbestfor you,youshouldask yourself:Doyouhave a data structure whichyoucan easily reflectinarelational model ordo youneedto workwithunstructureddata?How doyou retrieve andworkwiththe data? For example,analysisof hierarchical datainsequential filesisfasterinaNoSQL database then ina relational one.Sincerelational databaseshave alonghistory,youfindalotof commercial RDBMS (relationalDBMS),whereasNoSQLdatabasesare oftenavailableasopensource. Data Consistency:Nowadays,collectingdataisnota big effortanymore.But,keepingthe data consistentbecomesevenmore importantasmore sourcesfeedintothe database.Therefore, consistencyrulesare veryimportantandthe abilitytodefinethese shouldbe consideredwhen choosinga newDBMS. Data Security: For mostcompanies,dataavailabilityisakey businesssuccessfactorandshouldbe guaranteedatall times.The abilitytobackupand restore the databasesisessentialandneedstobe possible withyourchosenDBMS.IT Administratorsshouldsetupaframeworkanda management planfor data security andensure aslittle downtime aspossible. Data Protection:Accessprotectionandencryptionshouldallow protectionof personal data.Every DBMS provide differentmethodsof protectthe datathroughencryption,butthe possibilityto define routinesand accessrightsisdifferentforeverysystem.The methodof dataprotection dependsonthe structure of data and shouldbe carefullyconsideredduringthe evaluationprocess of a DBMS. Multi Access and Integration: Settingupa DBMS, runningitand extendingitforfuture growth, requiresenoughflexibilitytoallowintegrationintothe givenITinfrastructure.Furthermore,the DBMS needstoallowconcurrentaccessesbymultiple users.Synchronizationandintegrationwith othertoolsare essentialforsmoothworkflows. Efficiency:Whenwe talkaboutthe efficiencyof DBMS,we usuallymeanthe response time.Youwill findonpremise andcloudsolutionsavailableonthe market.DependingonyourownIT infrastructure,acloudbasedsolutioncanhave certaindisadvantages,asyourelyonnetwork servicesandlatenciesof networkproviders.Onthe otherside,cloudcomputingcanprovide more and betterresourcescomparedtoyouron premise infrastructure,asefficiencyisalsorelatedto scalability.Make sure yourDBMS of choice can scale to yourneeds. Usability:Differentusergroupswill be workingwiththe DBMS.There are the administrators,ITand Database admins,applicationintegratorsanddataconsumers.All these differentrolesneedan easilyunderstandablequerylanguageandintuitive UItouse the DBMS systemefficiently.The easier it isfor the userto workwiththe DBMS, the lowerthe costwill be forpeople.
  • 3. ImplementationandService Costs: The modifiabilityandavailabilityof supportanddocumentation needstobe takenintoconsiderationaspart of the implementationandTotal Costof Ownership (TCO).Developmentneedsmustalwaysbe included,asDatabase ManagementSystemsneedtobe shapedtothe individual company’sneed.A clearoverview of theseneedsandcostswill helpto choose the righttool.Vendororcommunitysupportas well ascomprehensivedocumentationwill save youtime and money. Ans 3. Logical designisthe secondstage inthe database designprocess.The logical designgoal isto designanenterprise-widedatabase basedonaspecificdatamodel butindependentof physical- level details.Logical designrequiresthatall objectsinthe conceptual model be mappedtothe specificconstructsusedbythe selecteddatabase model.Forexample,the logical designfora relational DBMSincludesthe specificationsforthe relations(tables),relationships,andconstraints (i.e.,domaindefinitions,datavalidations,andsecurityviews). The logical designisgenerallyperformedinfoursteps,whichare asfollows. 1. Map the Conceptual Model to the Logical Model: The firststepincreatingthe logical designisto map the conceptual model tothe chosendatabase constructs.Logical designgenerallyinvolves translatingthe ER model intoaset of relations(tables),columns,andconstraintsdefinitions.The processof translatingthe conceptual model intoasetof relationsisdepictedasfollows.  Map strongentities  Map supertype/subtyperelationships  Map weakentities  Map binaryrelationships  Map higherdegree relationships 2. Validate the Logical Model UsingNormalization: The logical designshouldcontainonlyproperly normalizedtables.The processof mappingthe conceptual modelto the logical model mayunveil some newattributesorthe discoveryof new multivaluedorcomposite attributes.Therefore,it’s verylikelythatnewattributesmaybe addedtotablesorentire new tablesaddedtothe logical model.Foreachidentifiedtable (oldandnew),youmustensure thatall attributesare fully dependentonthe identifiedprimarykeyandthatthe tablesare in at leastthirdnormal form(3NF). 3. Validate Logical Model IntegrityConstraints: The translationof the conceptual model intoa logical model alsorequiresthe definitionof the attribute domainsandappropriate constraints.For example,the domaindefinitionsforthe CLASS_CODE,CLASS_DAYS,andCLASS_TIME attributesof the CLASS entityare writtenthisway: CLASS_CODEis a validclasscode. Type:numeric Range:lowvalue = 1000 highvalue = 9999 Displayformat:9999 Length:4 CLASS_DAYSisa validdaycode.
  • 4. Type:character Displayformat:XXX Validentries:MWF,TTh, M, T, W, Th,F, S Length:3 CLASS_TIME is a validtime. Type:character Displayformat:99:99 (24-hour clock) Displayrange:06:00 to 22:00 Length:5 4. Validate the Logical Model against User Requirements: The logical designtranslatesthe software-independentconceptualmodelintoasoftware-dependentmodel.The finalstepinthe logical designprocessistovalidate all logical model definitionsagainstall end-userdata,transaction, and securityrequirements.The stage isnow setto define the physical requirementsthatallow the systemtofunctionwithinthe selectedDBMS/hardware environment. Ans 4. CentralizedDatabase Design: For a small organizationandlimitedscope of operations,the database maybe small intermsof data. Therefore,the database designmaybe relativelysimpleand can be easilydone byone groupof designerorevenasingle person.Thisiscalledcentralizeddesign of database.The designercanstudythe systemprocesses,identifythe constraints,andcreate conceptual schema,whereasthe userscanverifyittoensure thatthe database meetstheirneeds and processingrequirements. DecentralizedDatabase Design:Whenthe database studyrevealsthatthe resultingdatabase isfor the ‘whole organizationsandthatit haslarge numberof entitiesandcomplex relationsonwhich verycomplex operationsare performed,thenthe database designmaybe undertakenbydivisionof work.Here it may be suitable tostudyanddesignconceptual schemaforeachdepartmentor functionforwhichthe database isto be designed.The database designprojectmaybe thoughtof as one large projectsubdividedintosmallermodules,and eachmodule isdesignedbyagroup of people. Each module isinitself asystemandmustmeetthe systemrequirementsasawhole.These modules whenintegratedtoforma single database mustmeetthe processingrequirements.Thisiscalled decentralizeddesignapproach.Thisapproachisalsosuitable whenthe database designisspread across several operational sites,andeachelementisasubsetof the entire dataset.
  • 6. c. There are 4 relationsin the "TAL_Distributors" database. d. Name of the relation/Table No of attributes Namesof the attributes 1. Customer 9 CustomerNum, CustomerName, Street, City, State, PostalCode, Balance, CreditLimit, RepNum 2. Item 6 ItemNum, Description, OnHand, Category, Storehouse, Price 3. OrderLine 4 OrderNum, ItemNum, NumOrdered, QuotedPrice
  • 7. 4. Orders 3 OredrNum, OrderDate, CustomerNum 5. Rep 9 RepNum, LastName, FirstName, Street, City, State, PostalCode, Commission, Rate (2) a.
  • 8. b. Name of the relation/Table No of attributes Namesof the attributes PrimaryKey 1. Customer 9 CustomerNum, CustomerName, Street, City, State, PostalCode, Balance, CreditLimit, RepNum CustomerNum 2. Item 6 ItemNum, Description, OnHand, Category, Storehouse, Price ItemNum 3. OrderLine 4 OrderNum, ItemNum, NumOrdered, QuotedPrice OrderNum, ItemNum 4. Orders 3 OredrNum, OrderDate, CustomerNum OredrNum
  • 9. 5. Rep 9 RepNum, LastName, FirstName, Street, City, State, PostalCode, Commission, Rate RepNum c. d.
  • 10. e.
  • 11. (3) 1. a. SELECT * FROMCustomer b. SELECT * FROMItem c. SELECT Customer.CustomerNum,Customer.CustomerName FROMCustomer; d. SELECT Customer.CustomerNum,Customer.CustomerName,Customer.RepNum FROMCustomer WHERE (((Customer.RepNum)="15")); e. SELECT Customer.CustomerNum,Customer.CustomerName, Customer.RepNum, Customer.CreditLimit FROMCustomer WHERE (((Customer.RepNum)="15") AND((Customer.CreditLimit)=10000)); Ans. 2 Academic.accdb