Download SQL Server 2012 Standard Edition

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Extensible Storage Engine wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Oracle Database wikipedia , lookup

Database wikipedia , lookup

Tandem Computers wikipedia , lookup

Microsoft Access wikipedia , lookup

Functional Database Model wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Btrieve wikipedia , lookup

Database model wikipedia , lookup

Clusterpoint wikipedia , lookup

Relational model wikipedia , lookup

Open Database Connectivity wikipedia , lookup

SQL wikipedia , lookup

PL/SQL wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Transcript
Introduction to Installing,
Configuring and Navigating
SQL Server 2012
Getting started with SQL Server Management Studio Tools
Objectives
 Install SQL Server 2012 – Developer Edition
 Discuss the different Editions
 Multiple Instances
 Look at the different Components of SQL Server
SQL Server Editions
 The new SQL Server 2012 family will be comprised of the Enterprise, Business Intelligence,
Standard, Web, Developer, and Express editions.
 SQL Server 2012 Standard Edition
 SQL Server 2012 Standard Edition is limited to 16 cores and 64GB of RAM. It provides the core
relational database engine and basic business intelligence (BI) capabilities.
 It doesn't include support for the advanced availability features or the more powerful BI features
such as PowerPivot, Power View, and Master Data Services. The Standard Edition does include
support for two-node AlwaysOn Failover Clusters, and it's licensed either per core or per server.
SQL Server Editions
 SQL Server 2012 Business Edition
 SQL Server 2012 Business Intelligence Edition is a new member of the SQL Server family. Like the
Standard edition, the Business Intelligence edition is limited to 16 cores for the database engine
and 64GB of RAM. However, it can use the maximum number of cores supported by the OS for
Analysis Services and Reporting Services.
 The Business Intelligence edition includes all of the features in the Standard edition and support for
advanced BI features such as Power View and PowerPivot, but it lacks support for the advanced
availability features like AlwaysOn Availability Groups and other online operations. The Business
Intelligence edition supports two-node AlwaysOn Failover Clusters, and it's licensed per server.
SQL Server Editions
 SQL Server 2012 Enterprise Edition
 SQL Server 2012 Enterprise Edition is the high end of the SQL Server 2012 product lineup. It supports
the maximum number of cores and RAM in the host OS and provides the complete SQL Server
feature set, including support for all of the advanced availability and BI features.
 The Enterprise edition supports up to 16-node AlwaysOn Failover Clusters as well as AlwaysOn
Availability Groups, online operations, PowerPivot, Power View, Master Data Services, advanced
auditing, transparent data encryption, the ColumnStore index, and more. The Enterprise edition is
licensed per core.
SQL Server Editions
SQL Server edition
Definition
The premium offering, SQL Server 2012 Enterprise edition delivers comprehensive highend datacenter capabilities with blazing-fast performance, unlimited virtualization, and
Enterprise (64-bit and 32-bit) end-to-end business intelligence — enabling high service levels for mission-critical
workloads and end user access to data insights. Enterprise edition also supports data
compression.
Business Intelligence (64-bit
and 32-bit)
SQL Server 2012 Business Intelligence edition delivers comprehensive platform
empowering organizations to build and deploy secure, scalable and manageable BI
solutions. It offers exciting functionality such as browser based data exploration and
visualization; powerful data mash-up capabilities, and enhanced integration
management.
Standard (64-bit and 32-bit)
SQL Server 2012 Standard edition delivers basic data management and business
intelligence database for departments and small organizations to run their applications
and supports common development tools for on-premise and cloud — enabling effective
database management with minimal IT resources.
SQL Server Editions
 SQL Server 2012 Express Editions and LocalDB
 SQL Server 2012 will continue to offer three versions of the free SQL Server Express Edition: Express
(Database Only), Express with Tools, and Express with Advanced Services. Microsoft will also
continue to offer a download of SQL Server Management Studio Express.
 The Express editions are limited to support for one CPU and 1GB of RAM. Databases are limited to
10GB per database. In addition, a new option called LocalDB will also be available.
 LocalDB isn't the old Compact Edition: It uses the same sqlservr.exe engine as the other editions of
SQL Server and is designed for developers. It requires no configuration and runs as a user process,
not as a service.
SQL Server Editions
 SQL Server 2012 Web and Developer Editions
 SQL Server 2012 Web Edition and SQL Server 2012 Developer Edition will continue to be part of the
SQL Server 2012 family. The Developer edition provides the same feature set as the Enterprise
edition. However, it's licensed per developer and can't be used for production work. The Web
edition is licensed only to internet-oriented hosting companies with a Services Provider License
Agreement (SLPA).
SQL Server Editions
 The minimum memory requirements for SQL Server 2012 are also quite low. The low-end
SQL Server 2012 Express edition requires a minimum of 512MB of RAM, whereas the other
editions require a minimum of 1GB. Microsoft's recommended minimum RAM for SQL
Server is 4GB.
What is Advanced Analytics?
 Advanced Analytics, or Business Analytics, refers to future-oriented analysis that can be used to
help drive changes and improvements in business practices. It is made up of four phases:
 Descriptive Analytics: What is generally referred to as “business intelligence”, this phase is where a lot of
digital information is captured.
 Diagnostic Analytics: In short, you are providing insight into what has happened to uncover trends and
patterns. An example is Netflix using historic sales and customer data to improve their recommendation
engine.
 Predictive analytics: Utilizes a variety of statistical, modeling, data mining, and machine learning
techniques to study recent and historical data, thereby allowing analysts to make predictions, or
forecasts, about the future.
 Prescriptive analytics: Goes beyond predicting future outcomes by also suggesting actions to benefit
from the predictions and showing the decision maker the implications of each decision option.
What is Business Intelligence?
 Business intelligence (BI) is a broad category of application programs and technologies for
gathering, storing, analyzing, and providing access to data from various data sources, thus
providing enterprise users with reliable and timely information and analysis for improved
decision making.
BI versus Advanced Analytics
BI vs. advanced analytics
Answers the questions:
Includes:
Business intelligence
Advanced analytics
What happened?
When?
Who?
How many?
Why did it happen?
Will it happen again?
What will happen if we
change x?
What else does the data tell
us that we never thought to
ask?
Reporting (KPIs, metrics)
Ad hoc querying
OLAP (cubes, slice & dice,
drilling)
Dashboards/scorecards
Operational/real-time BI
Automated
monitoring/alerting
Statistical/quantitative
analysis
Data mining
Predictive
modeling/analytics
Big data analytics
Text analytics
Multivariate testing
SQL Server Components
 The Microsoft SQL Server product is made up of four primary components
 Database Engine: This is the core part of SQL Server that actually creates and drives relational
databases, for storing, processing and securing data.
 SQL Server Agent Service is the primary service that runs the SQL Server relational database.
 SQL Server Analysis Services (SSAS): SSAS is the data-analysis component of SQL Server. It can
create OLAP (OnLine Analytical Processing) cubes — sophisticated programming objects for
organizing data inside a relational database — and do data mining (pulling relevant data out
of a database in response to an ad-hoc question).
 SQL Server Reporting Services (SSRS): SSRS is a component of SQL Server that provides reporting
regardless of a database’s operating system.
 SQL Server Integration Services (SSIS): SSIS is a component of SQL Server that does the Extract,
Transform, and Load (ETL) process that cleans up and formats raw data from source systems for
inclusion in the database as ready-to-use information.
SQL Server Components
Server components
Description
SQL Server Database
Engine
SQL Server Database Engine includes the Database Engine, the core service for storing, processing, and
securing data, replication, full-text search, tools for managing relational and XML data, and the Data
Quality Services (DQS) server.
Analysis Services
Analysis Services includes the tools for creating and managing online analytical processing (OLAP) and
data mining applications.
Reporting Services
Reporting Services includes server and client components for creating, managing, and deploying tabular,
matrix, graphical, and free-form reports. Reporting Services is also an extensible platform that you can
use to develop report applications.
Integration Services
Integration Services is a set of graphical tools and programmable objects for moving, copying, and
transforming data. It also includes the Data Quality Services (DQS) component for Integration Services.
Master Data Services
Master Data Services (MDS) is the SQL Server solution for master data management. MDS can be
configured to manage any domain (products, customers, accounts) and includes hierarchies, granular
security, transactions, data versioning, and business rules, as well as an Add-in for Excel that can be used
to manage data.
SQL Server Services
 Core services for the database engine itself consist of the SQL Server service itself (or
MSSQLSERVER) and there's also the SQL Server Agent and the SQL Server Browser. The SQL
Server Agent is a job scheduler for SQL Server and handles some other maintenance tasks
and so on, while the Browser service helps with accepting logins and so on by creating an
easier way for client applications to connect to SQL Server.
 All three of these services though are true 'services' in the sense that they're daemons
running on your server. But of these three, you ONLY need MSSQLSERVER running to be
able to work with the relational database engine. (The other two services are optional.)
SQL Server Collation
 Microsoft® SQL Server™ 2012 supports several collations. A collation encodes the rules governing the proper use of
characters for either a language, such as Greek or Polish, or an alphabet, such as Latin1_General (the Latin alphabet
used by western European languages).
 Each SQL Server collation specifies three properties:
 The sort order to use for Unicode data types (nchar, nvarchar, and ntext). A sort order defines the sequence in which
characters are sorted, and the way characters are evaluated in comparison operations.
 The sort order to use for non-Unicode character data types (char, varchar, and text).
 The code page used to store non-Unicode character data.
 Note You cannot specify the equivalent of a code page for the Unicode data types (nchar, nvarchar, and ntext).
The double-byte bit patterns used for Unicode characters are defined by the Unicode standard and cannot be
changed.
 SQL Server 2012 collations can be specified at many levels. When you install an instance of SQL Server 2012, you
specify the default collation for that instance. Each time you create a database, you can specify the default
collation used for the database. If you do not specify a collation, the default collation for the database is the default
collation for the instance. Whenever you define a character column, you can specify its collation. If you do not
specify a collation, the column is created with the default collation of the database. You cannot specify a collation
for character variables and parameters; they are always created with the default collation of the database.
SQL Server Management Tools
Management tools
Description
SQL Server Management Studio is an integrated environment to access, configure, manage, administer, and develop
SQL Server Management
components of SQL Server. Management Studio lets developers and administrators of all skill levels use SQL Server.
Studio
Internet Explorer 6 SP1 or a later version is required for Management Studio installation.
SQL Server Configuration SQL Server Configuration Manager provides basic configuration management for SQL Server services, server
Manager
protocols, client protocols, and client aliases.
SQL Server Profiler provides a graphical user interface to monitor an instance of the Database Engine or Analysis
SQL Server Profiler
Services.
Database Engine Tuning
Database Engine Tuning Advisor helps create optimal sets of indexes, indexed views, and partitions.
Advisor
Provides a highly simple and intuitive graphical user interface to connect to the DQS server, and perform data
Data Quality Client
cleansing operations. It also allows you to centrally monitor various activities performed during the data cleansing
operation. Internet Explorer 6 SP1 or a later version is required for the Data Quality Client installation.
SQL Server Data Tools (SSDT) provides an IDE for building solutions for the Business Intelligence components:
Analysis Services, Reporting Services, and Integration Services.
(Formerly called Business Intelligence Development Studio).
SSDT also includes “Database Projects”, which provides an integrated environment for database developers to carry
SQL Server Data Tools
out all their database design work for any SQL Server platform (both on and off premise) within Visual Studio.
Database developers can use the enhanced Server Explorer in Visual Studio to easily create or edit database objects
Instances
 A SQL Server instance is a complete SQL server, each with their own ports, logins, and
databases and you can install many instances on a machine but you can have only 1
default instance.
 Default instance name will be MSSQLSERVER. You can’t change the default instance name.
 A SQL Server instance has its own copy of the server files, databases and security credentials.
 You can further categorize these as the "primary instance" and "named instances." The
primary instance can be accessed using just the server name or IP address. The named
instances, on the other hand, are accessed by appending a backslash and the instance
name.
 More than 1 instance can run at a time. You just need a unique name for each instance
that you install (as well as filesystem path).
 SQL Server 2012 will allow 50 named instances to be installed, however, memory issues
could be a concern running all instance simultaneously.
Summary
 Installing and upgrading SQL Server 2012 is a straightforward process based mostly on an intuitive
Setup program that comes with every edition of SQL Server 2012
 Enterprise Edition
 Developer Edition
 Standard Edition