SlideShare a Scribd company logo
1 of 11
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 NOSQLijscai
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to databasePradnya Saval
 
Database management system
Database management systemDatabase management system
Database management systemedudivya
 
Technical Note on DBMS
Technical Note on DBMSTechnical Note on DBMS
Technical Note on DBMSKr Shrishant
 
Database management system chapter1
Database management system chapter1Database management system chapter1
Database management system chapter1Pranab Dasgupta
 
5 data resource management
5 data resource management5 data resource management
5 data resource managementNymphea Saraf
 
Ict713 t320-t7-dl-20 oct2020
Ict713 t320-t7-dl-20 oct2020Ict713 t320-t7-dl-20 oct2020
Ict713 t320-t7-dl-20 oct2020NidhiGupta8431
 
Importance of data model
Importance of data modelImportance of data model
Importance of data modelyhen06
 

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 DatabaseTariqul 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).pptxRushikeshChikane2
 
Database Management Systems.ppt
Database Management Systems.pptDatabase Management Systems.ppt
Database Management Systems.ppttahakhan699813
 
Deep semantic understanding
Deep semantic understandingDeep semantic understanding
Deep semantic understandingsidra ali
 
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 lernetarunprajapati0t
 
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 MANAGEMENTIJCSEA 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 MANAGEMENTIJCSEA 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 opportunitiesEditor Jacotech
 
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.pptxLaxmi Pandya
 
NoSQL - A Closer Look to Couchbase
NoSQL - A Closer Look to CouchbaseNoSQL - A Closer Look to Couchbase
NoSQL - A Closer Look to CouchbaseMohammad Shaker
 
Presentation on NoSQL Database related RDBMS
Presentation on NoSQL Database related RDBMSPresentation on NoSQL Database related RDBMS
Presentation on NoSQL Database related RDBMSabdurrobsoyon
 
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 NOSQLIJSCAI Journal
 
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 NOSQLijscai
 

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 (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

VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service CuttackVIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service CuttackSuhani Kapoor
 
VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...
VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...
VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...Suhani Kapoor
 
VIP Russian Call Girls in Amravati Deepika 8250192130 Independent Escort Serv...
VIP Russian Call Girls in Amravati Deepika 8250192130 Independent Escort Serv...VIP Russian Call Girls in Amravati Deepika 8250192130 Independent Escort Serv...
VIP Russian Call Girls in Amravati Deepika 8250192130 Independent Escort Serv...Suhani Kapoor
 
内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士
内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士
内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士obuhobo
 
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样umasea
 
VIP Russian Call Girls Amravati Chhaya 8250192130 Independent Escort Service ...
VIP Russian Call Girls Amravati Chhaya 8250192130 Independent Escort Service ...VIP Russian Call Girls Amravati Chhaya 8250192130 Independent Escort Service ...
VIP Russian Call Girls Amravati Chhaya 8250192130 Independent Escort Service ...Suhani Kapoor
 
VIP Call Girl Bhiwandi Aashi 8250192130 Independent Escort Service Bhiwandi
VIP Call Girl Bhiwandi Aashi 8250192130 Independent Escort Service BhiwandiVIP Call Girl Bhiwandi Aashi 8250192130 Independent Escort Service Bhiwandi
VIP Call Girl Bhiwandi Aashi 8250192130 Independent Escort Service BhiwandiSuhani Kapoor
 
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen Dating
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen DatingDubai Call Girls Starlet O525547819 Call Girls Dubai Showen Dating
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen Datingkojalkojal131
 
Experience Certificate - Marketing Analyst-Soham Mondal.pdf
Experience Certificate - Marketing Analyst-Soham Mondal.pdfExperience Certificate - Marketing Analyst-Soham Mondal.pdf
Experience Certificate - Marketing Analyst-Soham Mondal.pdfSoham Mondal
 
VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...
VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...
VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...Suhani Kapoor
 
定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
 定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一 定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一Fs sss
 
VIP Call Girls Service Saharanpur Aishwarya 8250192130 Independent Escort Ser...
VIP Call Girls Service Saharanpur Aishwarya 8250192130 Independent Escort Ser...VIP Call Girls Service Saharanpur Aishwarya 8250192130 Independent Escort Ser...
VIP Call Girls Service Saharanpur Aishwarya 8250192130 Independent Escort Ser...Suhani Kapoor
 
Preventing and ending sexual harassment in the workplace.pptx
Preventing and ending sexual harassment in the workplace.pptxPreventing and ending sexual harassment in the workplace.pptx
Preventing and ending sexual harassment in the workplace.pptxGry Tina Tinde
 
VIP Call Girls in Jamshedpur Aarohi 8250192130 Independent Escort Service Jam...
VIP Call Girls in Jamshedpur Aarohi 8250192130 Independent Escort Service Jam...VIP Call Girls in Jamshedpur Aarohi 8250192130 Independent Escort Service Jam...
VIP Call Girls in Jamshedpur Aarohi 8250192130 Independent Escort Service Jam...Suhani Kapoor
 
VIP Kolkata Call Girl Lake Gardens 👉 8250192130 Available With Room
VIP Kolkata Call Girl Lake Gardens 👉 8250192130  Available With RoomVIP Kolkata Call Girl Lake Gardens 👉 8250192130  Available With Room
VIP Kolkata Call Girl Lake Gardens 👉 8250192130 Available With Roomdivyansh0kumar0
 
do's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of Jobdo's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of JobRemote DBA Services
 
加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位
加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位
加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位obuhobo
 
(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...
(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...
(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...gurkirankumar98700
 
VIP Call Girls Service Cuttack Aishwarya 8250192130 Independent Escort Servic...
VIP Call Girls Service Cuttack Aishwarya 8250192130 Independent Escort Servic...VIP Call Girls Service Cuttack Aishwarya 8250192130 Independent Escort Servic...
VIP Call Girls Service Cuttack Aishwarya 8250192130 Independent Escort Servic...Suhani Kapoor
 
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Servicejennyeacort
 

Recently uploaded (20)

VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service CuttackVIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
VIP Call Girl Cuttack Aashi 8250192130 Independent Escort Service Cuttack
 
VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...
VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...
VIP Call Girls Firozabad Aaradhya 8250192130 Independent Escort Service Firoz...
 
VIP Russian Call Girls in Amravati Deepika 8250192130 Independent Escort Serv...
VIP Russian Call Girls in Amravati Deepika 8250192130 Independent Escort Serv...VIP Russian Call Girls in Amravati Deepika 8250192130 Independent Escort Serv...
VIP Russian Call Girls in Amravati Deepika 8250192130 Independent Escort Serv...
 
内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士
内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士
内布拉斯加大学林肯分校毕业证录取书( 退学 )学位证书硕士
 
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
 
VIP Russian Call Girls Amravati Chhaya 8250192130 Independent Escort Service ...
VIP Russian Call Girls Amravati Chhaya 8250192130 Independent Escort Service ...VIP Russian Call Girls Amravati Chhaya 8250192130 Independent Escort Service ...
VIP Russian Call Girls Amravati Chhaya 8250192130 Independent Escort Service ...
 
VIP Call Girl Bhiwandi Aashi 8250192130 Independent Escort Service Bhiwandi
VIP Call Girl Bhiwandi Aashi 8250192130 Independent Escort Service BhiwandiVIP Call Girl Bhiwandi Aashi 8250192130 Independent Escort Service Bhiwandi
VIP Call Girl Bhiwandi Aashi 8250192130 Independent Escort Service Bhiwandi
 
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen Dating
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen DatingDubai Call Girls Starlet O525547819 Call Girls Dubai Showen Dating
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen Dating
 
Experience Certificate - Marketing Analyst-Soham Mondal.pdf
Experience Certificate - Marketing Analyst-Soham Mondal.pdfExperience Certificate - Marketing Analyst-Soham Mondal.pdf
Experience Certificate - Marketing Analyst-Soham Mondal.pdf
 
VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...
VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...
VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...
 
定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
 定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一 定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
 
VIP Call Girls Service Saharanpur Aishwarya 8250192130 Independent Escort Ser...
VIP Call Girls Service Saharanpur Aishwarya 8250192130 Independent Escort Ser...VIP Call Girls Service Saharanpur Aishwarya 8250192130 Independent Escort Ser...
VIP Call Girls Service Saharanpur Aishwarya 8250192130 Independent Escort Ser...
 
Preventing and ending sexual harassment in the workplace.pptx
Preventing and ending sexual harassment in the workplace.pptxPreventing and ending sexual harassment in the workplace.pptx
Preventing and ending sexual harassment in the workplace.pptx
 
VIP Call Girls in Jamshedpur Aarohi 8250192130 Independent Escort Service Jam...
VIP Call Girls in Jamshedpur Aarohi 8250192130 Independent Escort Service Jam...VIP Call Girls in Jamshedpur Aarohi 8250192130 Independent Escort Service Jam...
VIP Call Girls in Jamshedpur Aarohi 8250192130 Independent Escort Service Jam...
 
VIP Kolkata Call Girl Lake Gardens 👉 8250192130 Available With Room
VIP Kolkata Call Girl Lake Gardens 👉 8250192130  Available With RoomVIP Kolkata Call Girl Lake Gardens 👉 8250192130  Available With Room
VIP Kolkata Call Girl Lake Gardens 👉 8250192130 Available With Room
 
do's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of Jobdo's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of Job
 
加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位
加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位
加利福尼亚艺术学院毕业证文凭证书( 咨询 )证书双学位
 
(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...
(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...
(Call Girls) in Lucknow Real photos of Female Escorts 👩🏼‍❤️‍💋‍👩🏻 8923113531 ➝...
 
VIP Call Girls Service Cuttack Aishwarya 8250192130 Independent Escort Servic...
VIP Call Girls Service Cuttack Aishwarya 8250192130 Independent Escort Servic...VIP Call Girls Service Cuttack Aishwarya 8250192130 Independent Escort Servic...
VIP Call Girls Service Cuttack Aishwarya 8250192130 Independent Escort Servic...
 
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
 

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