This document provides an overview of the key components of Microsoft SQL Server architecture:
- SQL Server is a relational database management system (RDBMS) that uses Structured Query Language (SQL) to organize data into tables and define relationships.
- It uses a client/server model where database files are stored and managed on a server that client applications can access over a network.
- SQL is the most common language for interacting with relational databases and defining queries, updates, and other operations on the data.
Download as TXT, PDF, TXT or read online on Scribd
Download as txt, pdf, or txt
0 ratings0% found this document useful (0 votes)
220 views2 pages
SQL Server Theory
This document provides an overview of the key components of Microsoft SQL Server architecture:
- SQL Server is a relational database management system (RDBMS) that uses Structured Query Language (SQL) to organize data into tables and define relationships.
- It uses a client/server model where database files are stored and managed on a server that client applications can access over a network.
- SQL is the most common language for interacting with relational databases and defining queries, updates, and other operations on the data.
Download as TXT, PDF, TXT or read online on Scribd
Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1/ 2
Fundamentals of SQL Server Architecture
Microsoft SQL Server is a Structured Query Language (SQL) based, client/server r
elational database. Each of these terms describes a fundamental part of the arch itecture of SQL Server. Database A database is similar to a data file in that it is a storage place for data. Lik e a data file, a database does not present information directly to a user; the u ser runs an application that accesses data from the database and presents it to the user in an understandable format. Database systems are more powerful than data files. The data is more highly orga nized. In a well-designed database, there are no duplicate pieces of data that t he user or application has to update at the same time. Related pieces of data ar e grouped together in a single structure or record, and relationships can be def ined between these structures and records. When working with data files, an application must be coded to work with the spec ific structure of each data file. In contrast, a database contains a catalog tha t applications use to determine how data is organized. Generic database applicat ions can use the catalog to present users with data from different databases dyn amically, without being tied to a specific data format. A database typically has two components: the files holding the physical database and the database management system (DBMS) software that applications use to acc ess data. The DBMS is responsible for enforcing the database structure, includin g: Maintaining the relationships between data in the database. Ensuring that data is stored correctly, and that the rules defining data rel ationships are not violated. Recovering all data to a point of known consistency in case of system failures. Relational Database There are different ways to organize data in a database but relational databases are one of the most effective. Relational database systems are an application o f mathematical set theory to the problem of effectively organizing data. In a re lational database, data is collected into tables (called relations in relational theory). A table represents some class of objects that are important to an organization. For example, a company may have a database with a table for employees, another t able for customers, and another for stores. Each table comprises columns and row s (attributes and tuples in relational theory). Each column represents some attr ibute of the object represented by the table. For example, an Employee table wou ld typically have columns for first name, last name, employee ID, department, pa y grade, and job title. Each row represents an instance of the object represente d by the table. For example, one row in the Employee table represents the employ ee who has employee ID 12345. When organizing data into tables, you can usually find many different ways to de fine tables. Relational database theory defines a process, normalization, which ensures that the set of tables you define will organize your data effectively. Client/Server In a client/server system, the server is a relatively large computer in a centra l location that manages a resource used by many people. When individuals need to use the resource, they connect over the network from their computers, or client s, to the server. Examples of servers are: Print servers Manage the printers used by a team or unit. File servers Store large files used by a team or unit by using large disk drives. E-mail servers Run a company's e-mail system. In a client/server database architecture, the database files and DBMS software r eside on a server. A communications component is provided so applications can ru n on separate clients and communicate to the database server over a network. The SQL Server communication component also allows communication between an applica tion running on the server and SQL Server. Server applications are usually capable of working with several clients at the s ame time. SQL Server can work with thousands of client applications simultaneous ly. The server has features to prevent the logical problems that occur if a user tries to read or modify data currently being used by others. While SQL Server is designed to work as a server in a client/server network, it is also capable of working as a stand-alone database directly on the client. The scalability and ease-of-use features of SQL Server allow it to work efficiently on a client without consuming too many resources. Structured Query Language (SQL) To work with data in a database, you must use a set of commands and statements ( language) defined by the DBMS software. There are several different languages th at can be used with relational databases; the most common is SQL. Standards for SQL have been defined by both the American National Standards Institute (ANSI) a nd the International Standards Organization (ISO). Most modern DBMS products sup port the Entry Level of SQL-92, the latest SQL standard (published in 1992).