Scaricare la presentazione
La presentazione è in caricamento. Aspetta per favore
PubblicatoGiampiero Randazzo Modificato 10 anni fa
1
3/29/2017 3:05 AM ©2005 Microsoft Corporation. All rights reserved.
This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
2
Gestire e monitorare sistemi SQL Server 2005
3/29/2017 3:05 AM Gestire e monitorare sistemi SQL Server 2005 Silvano Coriani Developer Evangelist Microsoft ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
3
Agenda Amministrazione e gestione Policy operazionali e di sicurezza
Monitoring e troubleshooting Strumenti di tuning Automatizzare le attività amministrative Aggiornamento ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
4
Aree a produttività migliorata
3/29/2017 3:05 AM Aree a produttività migliorata Gestire e amministrare Gestione policy di sicurezza Monitoring e Troubleshooting Performance Tuning Automazione delle attività amministrative ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
5
Quale vantaggio quando? Quanto costa utilizzare le nuove tecnologie?
3/29/2017 3:05 AM Quale vantaggio quando? Quanto costa utilizzare le nuove tecnologie? Aggiornamento architetturale Benefici immediati Interventi minimi SQL Server Management Studio Error Viewer unificato/ Report/ Monitoring/ Server Dashboard Performance Monitor SQL Server Profiler Database Engine Tuning Advisor SQLCMD Informazioni di sistema Viste di catalogo e DMV DDL Trigger Auditing e prevenzione SQL Server Agent Nuove funzioni di automazione / alerting Microsoft Operations Manager (MOM) SQL Server Management Pack Database Maintenance Plan Database Mail VSTS 2005 Code Analysis e Modeling Event Notification Auditing e gestione eventi Migliorare la gestibilità, dalla progettazione alla amministrazione Monitoring centralizzato per avere tutte le informazioni a portata di mano ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
6
Management Studio Ambiente integrato di gestione per tutti i servizi
Basato sulla shell di Visual Studio Integra le funzionalità di: Enterprise Manager Query Analyzer Analysis Manager Consente di gestire: Motore relazionale Analysis Services Reporting Services SQL Server Mobile Tool di scripting per: Transact-SQL/SQLCMD XMLA/MDX/DMX Report grafici ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
7
Un tour di SQL Server Management Studio
3/29/2017 3:05 AM Un tour di SQL Server Management Studio Silvano Coriani Developer Evangelist Microsoft ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
8
Dynamic Management View
Viste logiche sulle strutture dati interne di SQL Server Punto di osservazione privilegiato sullo stato del sistema Server Componenti dm_exec_* Connessioni e codice utente eseguito dm_os_* Memoria, locking e scheduling dm_tran_* Transazioni e isolamento dm_io_* I/O su rete e dischi dm_db_* Database e oggetti contenuti dm_repl_* Replica dm_broker_* SQL Service Broker dm_fts_* Full Text Search dm_qn_* Query Notification dm_clr_* Common Language Runtime ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
9
DMV: architettura SQL Server Relational Engine
3/29/2017 3:05 AM DMV: architettura SQL Server Relational Engine SP, Viste, Tabelle, ecc. DB Utente Applicazioni di monitoring DB Risorse (schema “sys”) DMV e DMF Nuove ed esposte SQL Server 2005 Alcune esistevano, ma non erano esposte Strutture operative in memoria Dati statistici aggregati ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
10
Utilizzo applicativo delle DMV
3/29/2017 3:05 AM Utilizzo applicativo delle DMV SQL Server 2000: DBCC SHOWCONTIG Risultati non tabellari di default Diifficili da utilizzare applicativamente Creazione di temp table, ricostruzione dei data type Utilizzo di stringhe dinamiche T-SQL per popolare le temp table SQL Server 2005: sys.dm_db_index_physical_stats(params) Funzione tabellare che ritorna le informazioni Semplice da utilizzare applicativamente SELECT INTO per estrarre un result set No T-SQL dinamico ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
11
Utilizzo amministrativo delle DMV
DMV legate agli indici sys.dm_db_index_physical_stats Dimensione e frammentazione di tabelle e indici sys.dm_db_index_operational_stats Internals per attività su dati e indici sys.dm_db_index_usage_stats Statistiche su utilizzo indici sys.dm_db_index_partition_stats Informazioni su dimensioni di ogni partizione ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
12
Protezione del server SQL Server Surface Area Configuration
3/29/2017 3:05 AM Protezione del server SQL Server Surface Area Configuration Configurazione di servizi e connessioni Settaggi dei servizi Gestione connessioni remote SQL Server Agent Reporting Services Integration Services SQL Server Browser Configurazione delle funzionalità sp_configure Query sul catalogo Database Mail xp_cmdshell Integrazione CLR ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
13
SQL Server Surface Area Configuration
3/29/2017 3:05 AM SQL Server Surface Area Configuration Silvano Coriani Developer Evangelist Microsoft ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
14
Auditing e gestione cambiamenti
DDL Trigger Per comandi specifici: DROP_TABLE Per gruppi di comandi: DDL_PROCEDURE_EVENTS CREATE PROCEDURE ALTER PROCEDURE DROP PROCEDURE Notifica di eventi e eventi WMI: Notifica eventi specifici: DATA_FILE_AUTO_GROW Gruppi di eventi: TRC_STORED_PROCEDURES SP_RECOMPILE SP_CACHEMISS SP_CACHEREMOVE SP_CACHEINSERT ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
15
Silvano Coriani Developer Evangelist Microsoft
3/29/2017 3:05 AM DDL Trigger Silvano Coriani Developer Evangelist Microsoft ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
16
Monitoring Log: Approccio unificato
3/29/2017 3:05 AM Monitoring Log: Approccio unificato Supporto di logging per diversi servizi SQL Server Database Engine SQL Server Agent Windows Event Viewer Application Log Database Mail Log Su tutti i logs: Ricerche Filtri Esportabilità ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
17
3/29/2017 3:05 AM SQL Server Profiler Supporto a SQL Server Database Engine e Analysis Services Semplificazione nell’utilizzo (Eventi, Data Column e Filtri in una unica finestra) Eventi speciali: Service Broker, Notification Service, ecc… Nuove informazioni: Showplan XML e Deadlock Graph – possono essere salvati su file Supporta modifiche delle impostazioni durante la cattura SQL Server 2000 e 2005 Non più solo SYSADMIN ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
18
Integrazione con System Monitor Performance Counter Log
3/29/2017 3:05 AM Integrazione con System Monitor Performance Counter Log Set up del profiler Set up di in log di Performance Monitor Al termine della cattura di eventi posso importare i counter di performance registrati nel log Funzionamento basato sui tempi di cattura – verificare data e ora dei vari client di log Possibilità di analizzare gli eventi all’interno del data trace Lavora con SQL Server 2000 e SQL Server 2005 ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
19
Silvano Coriani Developer Evangelist Microsoft
3/29/2017 3:05 AM SQL Server Profiler Silvano Coriani Developer Evangelist Microsoft ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
20
Microsoft Operations Manager Strumenti di monitoring Enterprise
3/29/2017 3:05 AM Microsoft Operations Manager Strumenti di monitoring Enterprise Attraverso il SQL Server Management Pack è possibile tenere sotto controllo la disponibilitò dei servizi Console centralizzata Gestione di deployment significativi di SQL Server Gestione proattiva dei potenziali problemi Analisi dei dettagli dei problemi Esecuzione di task correttivi Trend sui performance counter Reportistica Capacity planning A breve l’uscita di un Management Pack nativo per SQL Server 2005 ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
21
Database Engine Tuning Advisor
3/29/2017 3:05 AM Database Engine Tuning Advisor Suggerimenti sul Partitioning Tuning basato sui carichi di lavoro Opzioni di indexing evolute XML Input/Output Modalità “Drop ONLY” Esecuzione parametrizzata via linea di comando Importazione di sessioni predefinite (XML) Opzioni sul workload *.trc, *.sql o *.xml Può essere una tabella di SQL Server ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
22
Database Tuning Advisor
3/29/2017 3:05 AM Database Tuning Advisor Silvano Coriani Developer Evangelist Microsoft ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
23
SQL Server Agent Da monitoraggio proattivo a reattivo
Alert generati da: Errori in SQL Server Soglie di performance counter Eventi WMI SQL Agent può utilizzare Database Mail Proxy Account Ogni proxy account è associato con delle credenziali SQL Server Ad un proxy account è possibile associare un database user, database role o server role I proxy account possono essere associati ai vari subsystem ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
24
Database Maintenance Plan
3/29/2017 3:05 AM Database Maintenance Plan Basati su SQL Server Integration Services Interfaccia intuitiva basata su Wizard Possibilità di creare piani cross database I piani definiti per tutti i database verranno utilizzati anche per oggetti creati successivamente al piano stesso ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
25
Database Mail Utilizza SMTP – non più dipendente da Microsoft Outlook!
Chiamata ad un processo esterno Supporto al Cluster Supporto 64-bit Nessuna dipendenza dal SQLCLR Funzionamento sincrono o asincrono Utilizzo di SQL Server Service Broker per la gestione delle code Logging ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
26
Database Maintenance Plan e Database Mail
3/29/2017 3:05 AM Database Maintenance Plan e Database Mail Silvano Coriani Developer Evangelist Microsoft ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
27
SQLCMD Automazione e scripting a riga di comando
3/29/2017 3:05 AM SQLCMD Automazione e scripting a riga di comando Sostituisce OSQL /ISQL Supporto a connessioni multiple su diversi server Utilizzo di parametri Variabili definite negli script Passati all’esecuzione Passati in variabili d’ambiente Miglior controllo in caso di errori Script di inizializzazione Connessione amministrativa dedicata ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
28
Silvano Coriani Developer Evangelist Microsoft
3/29/2017 3:05 AM Utilizzo di SQLCMD Silvano Coriani Developer Evangelist Microsoft ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
29
Upgrade Advisor Get Ready!
3/29/2017 3:05 AM Upgrade Advisor Get Ready! Verifica dello schema e suggerimento di best practices Upgrade Advisor su microsoft.com SQL Server Upgrade Handbook SQL Server Editions ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
30
Perchè aggiornare? 3/29/2017 3:05 AM Database Engine Service Broker
HTTP Access Database Tuning Advisor Enhanced Read ahead & scan Indexes with Included Columns Multiple Active Result Sets Persisted Computed Columns Try/Catch in T-SQL statements Common Table Expressions Server Events Snapshot Isolation Level Partitioning Synonyms Dynamic Management Views .NET Framework Common Language Runtime Integration CLR-based Types, Functions, & Triggers SQL Server .NET Data Provider Data Types CLR-based Data Types VARCHAR(MAX), VARBINARY(MAX) XML Datatype Database Failure and Redundancy Fail-over Clustering (up to 8 node) Database Mirroring Database Snapshots Enhanced Multi-instance Support XML New XML data type XML Indexes XQUERY Support XML Schema (XSD) support FOR XML PATH XML Data Manipulation Language SQLXML 4.0 Database Maintenance Backup and Restore Enhancements Checksum Integrity Checks Dedicated Administrator Connection Dynamic Configuration AWE Highly-available Upgrade Online Index Operations Online Restore Management Tools MDX & XML/A Query Editor Maintenance Plan Designer Source Control Support Profiler access to non-sa SQLCMD Command Line Tool Database Mail Performance Tuning Profiling Analysis Services Exportable Showplan & Deadlocks Profiler Enhancements New Trace Events Full-text Search Backup/Restore includes FT catalogs Multi-instance service SQL Client .NET Data Provider Server Cursor Support Multiple Active Result Sets Security Catalog and meta-data security Password policy enforcement Fine Grain Administration Rights Separation of Users and Schema Surface Area Configuration Notification Services Embed NS in existing application User-defined match logic Analysis Services Event Provider Replication Seamless DDL replication Merge Web Sync Oracle Publication Peer to Peer Transactional replication Merge replication perf and scalability New monitor and improved UI Analysis Services and Data Mining Analysis Management Objects Windows Integrated Backup and Restore Web Service/XML for Analysis Integration Services and DM Integration Eight new Data Mining algorithms Auto Packaging and Deployment Migration Wizard Integration Services New high performance architecture Visual design and debugging environment Extensible with custom code and scripts XML task and data source SAP connectivity Integrated data cleansing & text mining Slowly changing dimension wizard Improved flow control Integration with other BI products Reporting Services Report Builder Analysis Services Query Designer Enhanced Expression Editor Multi-valued Parameters Date Picker Sharepoint Web Parts Floating Headers Custom Report Items XML Data Provider ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
31
Quale vantaggio quando? Quanto costa utilizzare le nuove tecnologie?
3/29/2017 3:05 AM Quale vantaggio quando? Quanto costa utilizzare le nuove tecnologie? Aggiornamento architetturale Benefici immediati Interventi minimi SQL Server Management Studio Error Viewer unificato/ Report/ Monitoring/ Server Dashboard Performance Monitor SQL Server Profiler Database Engine Tuning Advisor SQLCMD Informazioni di sistema Viste di catalogo e DMV DDL Trigger Auditing e prevenzione SQL Server Agent Nuove funzioni di automazione / alerting Microsoft Operations Manager (MOM) SQL Server Management Pack Database Maintenance Plan Database Mail VSTS 2005 Code Analysis e Modeling Event Notification Auditing e gestione eventi Migliorare la gestibilità, dalla progettazione alla amministrazione Monitoring centralizzato per avere tutte le informazioni a portata di mano ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
32
© 2005 Microsoft Corporation. All rights reserved.
3/29/2017 3:05 AM © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Presentazioni simili
© 2024 SlidePlayer.it Inc.
All rights reserved.