Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Data: Data are raw facts. The word raw is used to indicate that the facts have not yet been processed to reveal their meaning. For example: Ram, 5
Information: Information is data that has been given meaning by way of relational connection. For example: Ram is 5 years old Database: A database is a collection of related information that is organized so that it can easily be accessed, managed, and updated .
Ex. the names, telephone numbers and addresses of all the people you know
Database Management System(DBMS): It is a software system that allows access to data contained in a database.
Objective of DBMS
To provide a convenient and effective method of defining ,storing and retrieving the information contained in the database.
Architecture of DBMS
The architecture of DBMS is divided into three levels: External or user level Conceptual or global level Internal or physical level
The view at each of these levels is described by a scheme. A scheme is an outline or plan that describes the records and relationships existing in the view. In database literature, we use the word schema instead of scheme.
In other words,
Schema is a description of data at some level (e.g., tables, attributes, constraints, domains)
CONCEPTUAL LEVEL
The logical structure of the entire database. What data is stored in the database. The relationships among the data. Complete view of the data requirements of the organization, independent of any storage consideration. Represents: - entities, attributes, relations - constraints on data - semantic information on data - security, integrity information Supports each external view: any data available to a user must be contained in, or derivable from the conceptual level.
INTERNAL LEVEL
Physical representation of the DB on the computer. How the data is stored in the database. Physical implementation of the DB to achieve optimal runtime performance and storage space utilization. - Storage space allocation for data - Record description for storage - Record placement - Data compression, encryption
User Databases: Created by users who have the appropriate level of permissions to store application data.
Master Database
The master database contains all of the system level information for SQL Server- all of the logins, linked servers, endpoints, and other system-wide configuration settings.
The master database is also where SQL Server stores information about the other databases on this instance and the location of their files. If the master database is not present, SQL Server cannot start. Because Master is the database that records the existence of all other databases and the location of those database files and records the initialization information for SQL Server.
Model Database
The model database is used as the template for all databases created on an instance of SQL Server. Because tempdb is created every time SQL Server is started, the modeldatabase must always exist on a SQL Server system. When a CREATE DATABASE statement is issued, the first part of the database is created by copying in the contents of the model database. The rest of the new database is then filled with empty pages.
If you modify the model database, all databases created afterward will inherit those changes. For example, you could set permissions or database options, or add objects such as tables, functions, or stored procedures.
MSDB Database
It is considered as the SQL server agents database as it is responsible for all automated and scheduled operations(i.e. used extensively for the storage of automated job definitions, job schedules, operator definitions, and alert definitions)
Resource Database
The Resource database is a read-only database that contains all the system objects that are included with SQL Server. SQL Server system objects, such as sys.objects, are physically persisted in the Resource database, but they logically appear in the sys schema of every database. The Resource database does not contain user data or user metadata. The Resource database makes upgrading to a new version of SQL Server an easier and faster procedure. In earlier versions of SQL Server, upgrading required dropping and creating system objects. Because the Resource database file contains all system objects, an upgrade is now accomplished simply by copying the single Resource database file to the local server. It is not accessible during normal database operations.
tempbd Database
The tempdb system database is a global resource that is available to all users connected to the instance of SQL Server. It is used to hold the following : Temporary user objects that are explicitly created, such as: global or local temporary tables, temporary stored procedures, table variables, or cursors. Internal objects that are created by the SQL Server Database Engine, for example, work tables to store intermediate results for spools or sorting.
THANK YOU!