DBMS Data Schemas: Database Schema
DBMS Data Schemas: Database Schema
DBMSDataSchemas
Advertisements
PreviousPage NextPage
DatabaseSchema
Adatabaseschemaistheskeletonstructurethatrepresentsthelogicalviewoftheentiredatabase.Itdefineshowthedataisorganized
andhowtherelationsamongthemareassociated.Itformulatesalltheconstraintsthataretobeappliedonthedata.
Adatabaseschemadefinesitsentitiesandtherelationshipamongthem.Itcontainsadescriptivedetailofthedatabase,whichcanbe
depicted by means of schema diagrams. Its the database designers who design the schema to help programmers understand the
databaseandmakeituseful.
Adatabaseschemacanbedividedbroadlyintotwocategories
PhysicalDatabaseSchemaThisschemapertainstotheactualstorageofdataanditsformofstoragelikefiles,indices,etc.
Itdefineshowthedatawillbestoredinasecondarystorage.
Logical Database Schema This schema defines all the logical constraints that need to be applied on the data stored. It
definestables,views,andintegrityconstraints.
DatabaseInstance
Itisimportantthatwedistinguishthesetwotermsindividually.Databaseschemaistheskeletonofdatabase.Itisdesignedwhenthe
databasedoesn'texistatall.Oncethedatabaseisoperational,itisverydifficulttomakeanychangestoit.Adatabaseschemadoesnot
containanydataorinformation.
Adatabaseinstanceisastateofoperationaldatabasewithdataatanygiventime.Itcontainsasnapshotofthedatabase.Database
instances tend to change with time. A DBMS ensures that its every instance (state) is in a valid state, by diligently following all the
validations,constraints,andconditionsthatthedatabasedesignershaveimposed.
PreviousPage NextPage
Advertisements
https://www.tutorialspoint.com/dbms/dbms_data_schemas.htm 1/2
11/02/2017 DBMSDataSchemas
Top WP Blog
Theme 20%
Off
https://www.tutorialspoint.com/dbms/dbms_data_schemas.htm 2/2