Beruflich Dokumente
Kultur Dokumente
2000
y Novedades en SQL
Server 2005
ADMINSITRANDO EL SERVIDOR
TRANSACT-SQL.
Distributed
MS DTC DTS Replication
Systems
Enterprise
Standard
Desktop
Engine
Windows CE
Terabytes
Gigabytes
1,000s usuarios
100s usuarios
Megabytes
< 5 usuarios
Developer Edition
•Características de la versión Enterprise
•Licencia solo para desarrollo y testing
+ + +…
• Estrategia
– Políticas de negocio
• Requerimientos.
– Hardware / Software
• Seguridad
– Accesos / Autentificación (sa) / Datos
• Accesibilidad
– Local / Remota (Tipos de Aut.)
• Administración
– Grupos / Nombres / Instancias
• Disponibilidad
– Servicios - Estabilidad -
4º Jornadas de Formación y Actualización en Informática - 2006 – FACENA - UNNE
Instalación (Developer Edition)
1. Iniciar una sesión de w2x con privilegios de
administrador
2. Ejecutar el asistente de instalación.
3. Especificar el servidor (Equipo de instalación)
4. Elegir las opciones de instalación (Crear
Instancia, modificar instancia, opciones
avanzadas)
5. Selección de los tipos de instalación
(Herramientas de cliente, Cliente/Servidor,
Conectividad)
6. Nombre de la instancia (Predeterminada o
elección de nombre)
7. Tipo de Instalación (Típica, Mínima y
Personalizada)
8. CUENTAS DE SERVICIOS (Servidor y Agente
SQL) – Cuenta del sistema local o otra cuenta
de usuario del dominio
9. MODO DE AUTENTIFICACION (Win – Mixto:
Usuario System Administrator –sa-)
• Herramientas de cliente y
servidor: Instala las herramientas de
cliente y servidor para crear un servidor de
base de datos relacional con características
administrativas. La selección de
Herramientas cliente y servidor presenta
todas las opciones adicionales de
instalación.
Es recomendable modo de autentificación mixto, ya que contempla las dos posibilidades y propiedades, Windows y SQL Server. Por
otro lado favorece la administración de servidores y conexiones entre distintas redes y dominios de diferentes plataformas.
(INTRANET, EXTRANET, INTERNET – WINDOWS, UNIX, LINUX, MAC, ETC)
Los programadores de aplicaciones y los usuarios de bases de datos pueden preferir la autenticación de SQL Server por estar
familiarizados con el uso de nombres de inicio de sesión y contraseñas. La autenticación de SQL Server también puede ser necesaria
para las conexiones con clientes distintos de los clientes de Windows NT 4.0 y Windows 2000.
Método Descripción
Administrador corporativo de Permite iniciar, pausar, reanudar o detener una
instancia de un servicio SQL Server o Agente SQL
SQL Server Server, tanto local como remoto, en la misma ventana
en que se administran otros servidores y bases de
datos.
Aplicación Servicios del Panel de Permite iniciar, pausar, reanudar o detener una
instancia de un servicio SQL Server o Agente SQL
control Server en el servidor local.
• Objetos.
– Origen, Destino. (Access, Excel, Oracle, ODBC, Text, HTML, Dbase, Etc.)
• Tareas.
– Secuencia de comandos ActiveX, Transformación de Datos, Ejecución de
procesos, Ejecucion SQL, Copia de Objetos SQL Server, Envío de correo,
Transferencia de Base de Datos, transferencias de inicio de sesión, etc.
•Los orígenes y destinos son conexiones a datos, ole db, odbc o jdbc, etc.
•Los orígenes y destinos se comunican mediante una tarea o trabajo del DTS.
•Así es posible transformar copiar o mover datos y configuraciones entre distintas aplicaciones,
archivos, dbs, hacia y desde diferentes manejadores o servidores de datos.
USE master
EXEC sp_addumpdevice 'disk', 'NwindBac',
‘C:\MyBackupDir\NwindBac.bak'
BACKUP DATABASE Northwind TO NwindBac
Northwind
Aplicaciones que utilizan una interfaz gráfica de usuario (GUI) para permitir al usuario seleccionar las tablas
y columnas cuyos datos desea ver.
Aplicaciones que utilizan instrucciones del lenguaje general para determinar los datos que el usuario desea
ver.
Aplicaciones de la línea de negocios que almacenan sus datos en bases de datos SQL Server. Estas
aplicaciones pueden provenir de otros proveedores o se pueden haber escrito internamente.
Aplicaciones creadas con sistemas de desarrollo tales como Visual C++, Visual Basic o Visual J++, y que
utilizan interfaces de programación de aplicaciones (API) de base de datos tales como ADO, OLE DB y ODBC.
Sistemas de bases de datos distribuidos desde los que se duplican datos SQL Server en varias bases de
datos o se ejecutan consultas distribuidas.
Almacenes de datos en los que los datos se extraen de los sistemas de procesamiento de transacciones en
línea (OLTP) y se resumen para el análisis dirigido a la toma de decisiones.
System
4º Jornadas de Formación reboot en Informática - 2006 – FACENA - UNNE
y Actualización
4º Jornadas de Formación y Actualización en Informática - 2006 – FACENA - UNNE
4º Jornadas de Formación y Actualización en Informática - 2006 – FACENA - UNNE
4º Jornadas de Formación y Actualización en Informática - 2006 – FACENA - UNNE
4º Jornadas de Formación y Actualización en Informática - 2006 – FACENA - UNNE
4º Jornadas de Formación y Actualización en Informática - 2006 – FACENA - UNNE
Top 30 Features of SQL Server 2005
Top 10 Features for Database
Administration
Feature Description
Database Mirroring Extend log shipping capabilities with the new database mirroring solution. Database mirroring can
be used to enhance the availability of SQL Server systems by setting up automatic failover to a
standby server.
Online Restore With SQL Server 2005, database administrators will be able to perform a restore operation while
an instance of SQL Server is running. Online restore improves the availability of SQL Server
because only the data being restored is unavailable; the rest of the database remains online and
available.
Online Indexing The online index option will allow concurrent modifications (updates, deletes, and inserts) to the
underlying table or clustered index data and any associated indexes during index data definition
Operations language (DDL) execution. For example, while a clustered index is being rebuilt, administrators
can continue to make updates to the underlying data and perform queries against the data.
Fast Recovery A new faster recovery option will improve availability of SQL Server databases. Administrators
will be able to reconnect to a recovering database after the transaction log has been rolled
forward.
Security Enhancements SQL Server 2005 includes security enhancements such as database encryption, secure default
settings, password policy enforcement, fine grained permissions control, and an enhanced
security model,
New SQL Server SQL Server 2005 will introduce SQL Server Management Studio, a new integrated suite of
management tools. This toolset will include new functionality to develop, deploy, and
Management Studio troubleshoot SQL Server databases, as well as enhancements to previous functionality.
Dedicated Administrator SQL Server 2005 will introduce a dedicated administrator connection that administrators can use
to access a running server even if the server is locked or otherwise unavailable. This capability
Connection will enable administrators to troubleshoot problems on a server by executing diagnostic functions
or Transact-SQL statements.
Snapshot Isolation A new Snapshot Isolation (SI) level will be provided at the database level. With SI, users will be
able to access the last committed row using a transitionally consistent view of the database. This
capability will provide greater scalability.
Data Partitioning Data partitioning is enhanced with native table and index partitioning that enables efficient
manageability of large tables and indexes.
Replication For distributed mobile databases, SQL Server 2005 provides new peer-to-peer replication
capabilities, including the ability to publish Oracle databases. SQL Server 2005 will also include
Enhancements4º Jornadas de Formación
new enhancements to the tools and scalability of replication.
y Actualización en Informática - 2006 – FACENA - UNNE
Top 10 Features for Development
Feature Description
.NET Framework Hosting With SQL Server 2005 , developers will be able to create database objects using familiar
languages such as Microsoft Visual C# .NET and Microsoft Visual Basic.NET. Developers will also
be able to create two new objects: user-defined types and aggregates.
XML Technologies Extensible Markup Language (XML) is an important standard for disseminating data between
different applications over local networks and the Internet. SQL Server 2005 will natively support
storage and query of XML documents.
ADO.NET Version 2.0 From new support for SQL Types to Multiple Active Result Sets, ADO.NET in SQL Server 2005 will
evolve dataset access and manipulation to achieve greater scalability and flexibility
Security Enhancements A new security model in SQL Server 2005 will separate users from objects, provide fine-grain
access, and enable greater control of data access. Additionally, all system tables will be
implemented as views, providing more control over database system objects.
Transact-SQL Enhancements New language capabilities for developing scalable database applications. These enhancements
include error handling, recursive query capabilities, relational operator PIVOT, APPLY,
ROW_NUMBER and other row ranking functions, and more.
SQL Service Broker SQL Service Broker will provide a distributed, asynchronous application framework for large-scale
line-of-business applications.
Notification Services Notification Services enables business to build rich notification applications that deliver
personalized and timely information, such as stock market alerts, news subscriptions, package
delivery alerts, and airline ticket prices, to any device. Notification Services will take advantage
of new technologies and features in SQL Server 2005.
Web Services With SQL Server 2005 developers will be able to develop Web services in the database tier,
making SQL Server a Hypertext Transfer Protocol (HTTP) listener which will provide a new type of
data access capability for Web services-centric applications.
Reporting Services With SQL Server 2005, Reporting Services will provide report controls that will be shipped with
Visual Studio 2005. Integrated reporting controls will provide improved reporting capabilities for
enterprise applications.
Full-Text Search SQL Server 2005 will support rich, full-text search applications. Cataloging capabilities will be
enhanced to provide greater flexibility over what is cataloged. Query performance and scalability
Enhancements will be improved dramatically, and new management tools will provide greater insight into the
full-text
4º Jornadas de Formación implementation.
y Actualización en Informática - 2006 – FACENA - UNNE
Top 10 Features for Business Intelligence
Feature Description
Analysis Services With SQL Server 2005, Analysis Services moves into the realm of real- time analytics. From
scalability enhancements to deep integration with Microsoft Office, SQL Server 2005 will help
extend business intelligence to every level of the business.
Integration Services Integration Services, formerly known as DTS, is a set of graphical tools and programmable
objects that can be used to extract, transform, and load (ETL) data from disparate sources and
move it to a single or multiple destinations. SQL Server 2005 will introduce a complete redesign
of Integration Services that provides a comprehensive ETL platform.
Data Mining Four new data mining algorithms will be introduced, as well as improved tools and wizards that
will make data mining easier for businesses of any size.
Reporting Services With SQL Server 2005, Reporting Services will provide self service, end-user ad hoc report
creation, enhanced query development for OLAP environments and enhancements in scale
allowing for rich and easy to maintain enterprise reporting environments.
Clustering Support Analysis Services improves availability with support for failover clustering, enhanced multi-
instance support, and support for backing up and restoring Analysis Services objects and data.
Key Performance Indicators Key performance indicators (KPIs) provide businesses with the capability to define graphic,
customizable business metrics to help generate and track key corporate benchmarks.
Scalability and Performance Features such as parallel partition processing, creation of remote relational online analytical
processing (ROLAP) or hybrid online analytical processing (HOLAP) partitions, distributed
partitioned cubes, persisted calculations, and proactive caching will greatly improve the scalability
and performance of Analysis Services in SQL Server 2005
One-Click Cube When creating a cube in a data warehouse project, the Cube Wizard will include an option to
enable one-click-cube detection and suggestions. This option will examine the relationships in a
data source view and make suggestions for fact tables, dimension tables, and measures.
Proactive Caching Proactive Caching combines MOLAP class query performance with Real-Time data analysis and
eliminates the need to maintain OLAP stores. The Proactive Cache transparently synchronizes and
maintains an updated copy of the data organized specifically for high speed querying and for
isolating end-users from overloading the back-end relational databases. The structure of the
cache is automatically derived from the Universal Data Model (UDM) structure and can be finely
tuned to balance performance with latency of data.
Integration with the Reports that are served up by the report server can run in the context of Microsoft SharePoint
Portal Server and Microsoft Office applications such as Word and Excel. SharePoint can be used to
Microsoft Office System subscribe to reports, create new versions of reports, and distribute reports. Reports can also be
opened with Word or Excel, or viewed in HTML.
SQL Server and Analysis Services users can define reports that are based on queries against
4º Jornadas de Formación y Actualización
relational en Informática
databases and - 2006
multidimensional – FACENA
data. - UNNE
Queries defined in Query Builder can be
processed by using the built-in data processing capabilities of a report server.
Migrating Databases to SQL Server
2005
Move databases to an SQL Server 2005 instance using backup
and restore or detach and attach functionalities in SQL Server
2005
Or.
Using the database copy wizard in sorce server instance.
Important:
A database with the identical name on both source and
destination servers cannot be moved or copied. In this case, it
will be noted as "Already exists."
1. Inicialización
2. Migración
3. Set de Software
4. Desarrollo
5. Producción
6. Tendencia de las Aplicaciones (Misión
Critica)
1. Integridad
2. Seguridad y Disponibilidad
3. SOA – SODA, ADO.NET 2.0, XML