Security Integrity Performance Reliability DATABASE DATA Collection of related files containing records on people, places, or things. A database is a logically coherent, organized collection of similar or related data
Costumers Orders Products
Database: Collection of data organized in different containers Table 1 Table 2 Table 3 Report Form 1 Acc #:_______ Name:_______ Combination of software and data for Collecting, storing and managing data in a database environment. A DBMS basically includes: o Database o Database engine (for accessing and modifying the DB content) o Data Manipulation Language (DML) DATABASE DBMS APPLICATION 1 APPLICATION N
APPLICATION 2 A database management system (DBMS) is simply the software that permits an organization to centralize data, manage them efficiently, and provide access to the stored data by application programs
an interface between application programs and the physical data files Reduction in Data Redundancy Reduction in Data Inconsistency Sharing of data Enforcement of standards Improvement in data security Management of data integrity Better interaction with users Efficient system Main inhibitor of using a DBMS: High initial investment and possible need for additional hardware.
When a DBMS may be unnecessary: If the database and applications are simple, well defined, and not expected to change. If access to data by multiple users is not required. Centralized Database Used by single central processor or multiple processors in client/server network
Distributed Database Database stored in more than one physical location Partitioned database Duplicated database
Why Microsoft SQL Server?
INTEGRATION HOSTED SOLUTION ADVANCED FEATURES SQL SERVER db db db db ORACLE db db MySQL db
SQL SERVER Reporting Services Integration Services Analysis Services Books Online SQL Server Management Studio SQL Server Configuration Manager SQL Server Profiler Business Intelligence Development Studio EXPRESS Edition WEB Edition COMPACT Edition
AZURE STANDARD Edition
DEVELOPER Edition WORKGROUP Edition
ENTERPRISE Edition DATA WAREHOUSE SQL Server 2008 R2 INSTANCES STORAGE
SECURITY AVAILABILITY Stability If an instance goes down, everything goes down. Security Each instance has its own instance-wide security. Performance Control how many resources used by each instance. Configuration and Compliance Each instance can be configured independently from one another.
NOT a good IDEA! Mirror RAID 5
MORE PLATTERS for DATA Operating System SQL Server .MDF .NDF .NDF .LDF
BASIC DISK MDF / NDF ADVANCED DISK MDF / LDF WINDOWS Authentication Windows Accounts based on active directory
MIXED Mode Windows accounts SQL Login accounts APPLICATION SQL Server USER part of a Domain APPLICATION SQL Server any USER SQL Login SQL Login LOCAL System DOMAIN Account Recommended to use separate accounts for each services: Database Engine SQL Server Agents Analysis Services Reporting Services
Storage Allocation Windows Clustering SERVER A @60% db SERVER B @50%