answersLogoWhite

0

The distinction between database schema and database state is very important. When we define a new database, we specify its database schema only to the DBMS. At this point, the corresponding database state is the empty state with no data. We get the initial state of the database when the database is first populated or loaded with the initial data. From then on, every time an update operation is applied to the database, we get another database state. At any point in time, the database has a current state. The DBMS is partly responsible for ensuring that every state of the database is a valid state-that is, a state that satisfies the structure and constraints specified in the schema. The DBMS stores the descriptions of the schema constructs and constraints-also called the meta-data-in the DBMS catalog so that DBMS software can refer to the schema whenever it needs to. The schema is sometimes called the intension, and a database state an extension of the schema.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Data base state vs database schema?

The database schema is the description of the database. It defines how the database is set up and what data it is to contain and control. This description is given to the DBMS to manage the data. The database state is an image of how the database looks at any given time. The database schema is set unless you change how the database is structured. The database state will change whenever new data is entered into the database and the database is updated.


Difference between user and schema oracle?

The both words user and schema are interchangeble,thats why most people get confusion on this words.Below i explained the difference between them--UserUser is a account to connect database(Server). we can create user by using CREATE USER user_name IDENTIFIED BY password.--SchemaActually Oracle Database contain logical and physical strucutre to process the data.The Schema Also Logical Structure to process the data in Database(Memory Component). Its Created automatically by oracle when user created.It Contains All Objects created by the user associated to that schema.For Example if i created a user with name santhosh then oracle createts a schema called santhosh,oracle stores all objects created by user santhosh in santhosh schema.We can create schema by CREATE SCHEMA statement ,but Oracle Automatically create a user for that schema.We can Drop the schema by using DROP SCHEMA schema_name RESTRICT statement but it can not delete scehema contains objects,so to drop schema it must be empty.here the restrict word forcely specify that schema with out objects.If we try to drop a user contain objects in his schema we must specify CASCADE word because oracle does not allow you to delete user contain objects. DROP USER user_name CASCADE so oracle deletes the objects in schema and then it drops the user automatically,Objects refered to this schema objects from other schema like views and private synonyms goes to invalid state.


What is the difference between Common Wealth vs State?

What is the difference between a common wealth and a state?


What is the difference between a city-state and an empire?

a city state does not have an emperor the difference between a city-state and an empire is that a city-state does not have an emperor


Msg 4104 level 16 state 1 line 1 the multi-part identifier could not be bound?

The schema name needs to be included in the object reference; select * from database.schema.table select * from database..table select * from mydb.dbo.customer


What is the difference between the State Legislature and the US Congress?

The difference between the state legislature and the congerss is that the state legislature is state legislature while Congress is national legislature.


What is the difference between a state college and a public college?

There is no difference.


What is the difference between city and state job?

City is local and state is with the state. Pay would be the big difference.


What is the difference between a repository and a database?

The Metasafe Repository is a (DMBS) Database Management System. There are many types of DMBS with different core models: Oracles, SQLServer, MySQL are based on the "relational model" which is constructed from tables. IMS the database from IBM is based on a hierachical model. Etc. Metasafe is based on an entity-relationship model, which means that is handles "entities" and "relationships between entities". This is the difference. What do they have in common? A (proper) database can be used by many users in parallel. It guarantees that a set of changes (a transaction) is processed completely or not all to make sure that the database is allways in a consistent state. A DMBS has also an access language (in case of Metasafe erSQL) and an API to access the data in the database. Last update on 04.11.2011 by Patrick Landolt.


What is the difference between a state of United States and state of United States of America?

There is no difference. They are one and the same.


Difference between NH state police and NH trooper?

There is no difference, the state police is the division, the trooper is the person.


What is Database state?

The database state refers to the collection of data stored in the database at a specific point in time. It represents the current values of all data elements, tables, and relationships within the database. Changes to the database, such as insertions, updates, or deletions, can alter its state.